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

Fix underflow possibility on ColumnFamilyDbStore (#5975) #6023

Merged
merged 3 commits into from Feb 1, 2022

Conversation

nyanzebra
Copy link
Contributor

cherrypick of #5975 for fixing potential underflow that messed up queue length metric

* Fix underflow

* Use compare exchange and make separate test

* Use Max for count instead of trying to make atomic check
@nyanzebra
Copy link
Contributor Author

Note for self: Do not merge until approval for next release

@nyanzebra nyanzebra merged commit ee79c13 into Azure:release/1.1 Feb 1, 2022
@nyanzebra nyanzebra deleted the release/1.1_fix_underflow branch February 1, 2022 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants