Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent race conditions in cache metrics #2839

Merged
merged 1 commit into from
Oct 20, 2021

Conversation

izeye
Copy link
Contributor

@izeye izeye commented Oct 20, 2021

This PR changes to try to prevent possible race conditions in cache metrics as it seems that it might throw an NPE.

See gh-2643

@shakuzen shakuzen added bug A general bug module: micrometer-core An issue that is related to our core module labels Oct 20, 2021
@shakuzen shakuzen added this to the 1.8.0 milestone Oct 20, 2021
@shakuzen shakuzen merged commit bfe3649 into micrometer-metrics:1.8.x Oct 20, 2021
@izeye izeye deleted the gh-2643-race branch October 20, 2021 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A general bug module: micrometer-core An issue that is related to our core module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants