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
Decrement commitBatchesMemBytesCount when rejecting commit batch release-6.3 #4526
Decrement commitBatchesMemBytesCount when rejecting commit batch release-6.3 #4526
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
documentation/sphinx/source/release-notes/release-notes-630.rst
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As the new release process states, changes should go against master branch before it is made on release branch.
Out of curiosity, how did you find the bug? What kind of tests did you run? Can we include the test as well, if it's simulation test?
It seems simulation may be able to catch the bug if we increase the probability of exercising the code path: e.g., BUGGIFY_WITH_PROB(0.01) -> BUGGIFY_WITH_PROB(0.1) at |
I have already made the pr for master (linked it in the description but it's #4525). As for the test it was a Watches.actor.cpp workload failure that caught this, more detail is added in the issue (#4523) which is linked above. Since simulation already hits this I don't think there is a need to increase the Buggify probability |
I guess one thing that's a bit confusing about this process is that you'll also need to update the 6.3 release notes for this on master (currently, master has a copy of all old releases notes including for 6.3). |
Oh okay was not aware of this, will make a pr against master once I merge in both the 6.2 and 6.3 release branch fixes |
This issue relates to: #4523
We were never decrementing commitBatchesMemBytesCount when rejecting a commit batch causing this value to "blow up". This PR address this to make sure we are decrementing before returning. This is a backport of #4525 which is needed in 6.3 because this code path can get triggered causing commits to get clogged
This PR passes 10k Joshua runs
Code-Reviewer Section
The general guidelines can be found here.
Please check each of the following things and check all boxes before accepting a PR.
For Release-Branches
If this PR is made against a release-branch, please also check the following:
release-branch
ormaster
if this is the youngest branch)