-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
refactor: significant Mutex refactoring #5954
Conversation
a09e260 refacotor: simply RecursiveMutex -> Mutex (pasta) Pull request description: ## What was done? This PR is a simpler version of #5954; it is simply a recursiveMutex -> Mutex PR; as I think some of the scope minimization in the other PR introduced test failures (appears there are undocumented mutex dependancies) ## How Has This Been Tested? CI TBD ## Breaking Changes None ## Checklist: - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_ ACKs for top commit: knst: utACK a09e260 Tree-SHA512: 4ef5aa94ecb1a55f30b642d5e0328e2d2a0adcf2ccc2ab6489a576a420c915339be023828785c3243f019bb73ac2cd77be7dd4397e14ec874cba68999a9e54dc
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.
smth like 450f66d should help fixing test failures
This pull request has conflicts, please rebase. |
804c1da
to
4abc310
Compare
daf1ea7
to
72be270
Compare
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, light ACK
This pull request has conflicts, please rebase. |
Includes: RecursiveMutex -> Mutex, renaming of `cs` to something more meaningful, usage of atomics where trivially possible, introduce a method CQuorum::SetVerificationVector to avoid needing to lock an internal mutex externally fix: avoid cs_vvec_shShare double-lock Co-authored-by: UdjinM6 <[email protected]>
72be270
to
acd0f49
Compare
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.
utACK
806fc73
Issue being fixed or feature implemented
Don't use generic names; recursive mutexes where not needed; etc
What was done?
Includes:
RecursiveMutex -> Mutex,
renaming of
cs
to something more meaningful,usage of atomics where trivially possible,
introduce a method CQuorum::SetVerificationVector to avoid needing to lock an internal mutex externally
How Has This Been Tested?
Compiling
Breaking Changes
None
Checklist:
Go over all the following points, and put an
x
in all the boxes that apply.