-
Notifications
You must be signed in to change notification settings - Fork 15.4k
KAFKA-15784: Ensure atomicity of in memory update and write when transactionally committing offsets #14774
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
Merged
Merged
KAFKA-15784: Ensure atomicity of in memory update and write when transactionally committing offsets #14774
Changes from 17 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
e894d84
Redo verification path
jolshan 2a52318
Fix build issues
jolshan 865078b
Fix tests
jolshan a20f238
Merge branch 'trunk' of github.com:apache/kafka into kafka-15784
jolshan 9bac9a9
Fix test failures
jolshan b4a920b
Rewrite GroupCoordinator and GroupMetadataManager to handle checks fo…
jolshan 05c0d28
Merge branch 'trunk' of github.com:apache/kafka into kafka-15784
jolshan 7bc6d06
Update comments and method names
jolshan a471f04
Fix style issues and passing verification guards
jolshan 7c01682
Clean up GroupCoordinator, GroupMetadataManger, and ReplicaManager code
jolshan 965ec39
remove package private scoping that is not needed
jolshan 8ecbe4d
Remove produce path refactor
jolshan 99e8577
spacing cleanups
jolshan a83b136
space
jolshan 56a44ba
remove simple fix
jolshan e6a14ca
cleanups
jolshan de5dfad
Update comments simplify locking
jolshan 66fff82
applying cherrypick
jolshan 046425c
Fix tests
jolshan 2c1f6a9
add error conversion
jolshan 3f6c044
add test
jolshan 3a3160d
Fix error code
jolshan 4f757e2
Fix other error
jolshan ac80ae0
More error fixes and other cleanups
jolshan 13dd654
fix silly error mix up
jolshan 7cad567
rename method
jolshan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
The access to
replicaManagerhere probably suggests that we probably should be going throughGroupMetadataManager. We could expose a wrappedmaybeStartTransactionVerificationForPartitionfromGroupMetadataManagerinstead. That might also help us encapsulate the error conversion a little better.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.
i was just about to push my change before I saw this comment. I will address this comment tomorrow.