-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix][broker] Fix markDeletedPosition race condition in ManagedLedgerImpl.maybeUpdateCursorBeforeTrimmingConsumedLedger() method #25110
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
Draft
oneby-wang
wants to merge
27
commits into
apache:master
Choose a base branch
from
oneby-wang:maybeUpdateCursorBeforeTrimmingConsumedLedger_mark_delete
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+283
−72
Draft
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
c4a48bb
[fix][broker] Fix markDeletedPosition race condition in maybeUpdateCu…
oneby-wang 732264f
[fix][broker] Add debug log
oneby-wang 1d34d97
[fix][broker] Wait updating cursor finished when opening managed ledger
oneby-wang e3812ca
[fix][broker] Modify uncorrected comment
oneby-wang aa25bcb
[fix][broker] Add test for maybeUpdateCursorBeforeTrimmingConsumedLedger
oneby-wang 7d03b0a
[fix][broker] Fix test
oneby-wang 93b0255
[fix][broker] Fix test
oneby-wang 40932eb
[fix][test] Rollback some codes for test
oneby-wang 892a372
[fix][broker] Try to fix maybeUpdateCursorBeforeTrimmingConsumedLedge…
oneby-wang 15ec22e
[fix][broker] Fix race condition in ManagedCursorImpl.getNumberOfEntries
oneby-wang 33b327d
[fix][broker] Fix CompactionTest.testCompactorReadsCompacted
oneby-wang 6f4b2fe
[fix][broker] Fix race condition in ManagedCursorImpl.getNumberOfEntries
oneby-wang 33cb384
[fix][broker] Fix ManagedCursorTest.testFlushCursorAfterError test
oneby-wang f320c55
[fix][broker] Modify logic
oneby-wang 4b73a15
[fix][broker] Fix ManagedCursorTest testFlushCursorAfterInactivity an…
oneby-wang 3d1bb13
[fix][broker] Fix ManagedCursorTest.testLazyCursorLedgerCreation test
oneby-wang 87b25c6
[fix][broker] Fix ManagedCursorTest.testPersistentMarkDeleteIfCreateC…
oneby-wang d7b1f6a
[fix][broker] Fix ManagedCursorTest.testPersistentMarkDeleteIfSwitchC…
oneby-wang e52772d
[fix][broker] Fix tests
oneby-wang 16deef7
[fix][broker] Fix some flaky assert in ManagedLedgerTest.testTrimmerR…
oneby-wang 6475bca
[fix][broker] Remove some flaky asserts in ManagedLedgerTest.testTrim…
oneby-wang 0589f5a
[fix][broker] Try to fix race condition when setting mark delete prop…
oneby-wang bd62af6
[fix][broker] Support null mark delete properties in NonDurableCursor…
oneby-wang 4cb9046
[fix][broker] Rollback CompactionTest.testCompactorReadsCompacted test
oneby-wang 1399578
[fix][broker] Add ManagedLedgerTest.testTrimmerRaceConditionInNonDura…
oneby-wang 925b3ed
[fix][broker] Fix race condition in ManagedCursorImpl.updateLastMarkD…
oneby-wang df9ac29
[fix][broker] Fix checkstyle
oneby-wang 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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.