[fix][ml] Fix ManagedCursorImpl.individualDeletedMessages concurrent issue#24338
Merged
dao-jun merged 4 commits intoapache:masterfrom May 23, 2025
Merged
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #24338 +/- ##
============================================
+ Coverage 73.57% 74.24% +0.67%
+ Complexity 32624 32257 -367
============================================
Files 1877 1866 -11
Lines 139502 145126 +5624
Branches 15299 16593 +1294
============================================
+ Hits 102638 107753 +5115
+ Misses 28908 28854 -54
- Partials 7956 8519 +563
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Member
Member
|
@dao-jun it seems that the only other location is in recoverIndividualDeletedMessages method. |
lhotari
reviewed
May 22, 2025
Member
lhotari
left a comment
There was a problem hiding this comment.
please also handle the concurrency issue in recoverIndividualDeletedMessages method. A write lock would be needed there.
Member
Author
fixed |
Member
Author
|
related to #22966 |
lhotari
reviewed
May 22, 2025
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedCursorImpl.java
Outdated
Show resolved
Hide resolved
manas-ctds
pushed a commit
to datastax/pulsar
that referenced
this pull request
Jun 4, 2025
…issue (apache#24338) (cherry picked from commit 376ae57) (cherry picked from commit c909926)
manas-ctds
pushed a commit
to datastax/pulsar
that referenced
this pull request
Jun 4, 2025
…issue (apache#24338) (cherry picked from commit 376ae57) (cherry picked from commit fac0c16)
manas-ctds
pushed a commit
to datastax/pulsar
that referenced
this pull request
Jun 4, 2025
…issue (apache#24338) (cherry picked from commit 376ae57) (cherry picked from commit c909926)
manas-ctds
pushed a commit
to datastax/pulsar
that referenced
this pull request
Jun 4, 2025
…issue (apache#24338) (cherry picked from commit 376ae57) (cherry picked from commit c909926)
srinath-ctds
pushed a commit
to datastax/pulsar
that referenced
this pull request
Jun 5, 2025
…issue (apache#24338) (cherry picked from commit 376ae57) (cherry picked from commit fac0c16)
manas-ctds
pushed a commit
to datastax/pulsar
that referenced
this pull request
Jun 5, 2025
…issue (apache#24338) (cherry picked from commit 376ae57) (cherry picked from commit c909926)
srinath-ctds
pushed a commit
to datastax/pulsar
that referenced
this pull request
Jun 10, 2025
…issue (apache#24338) (cherry picked from commit 376ae57) (cherry picked from commit c909926)
nodece
pushed a commit
to nodece/pulsar
that referenced
this pull request
Jun 18, 2025
…issue (apache#24338) (cherry picked from commit 376ae57)
KannarFr
pushed a commit
to CleverCloud/pulsar
that referenced
this pull request
Sep 22, 2025
walkinggo
pushed a commit
to walkinggo/pulsar
that referenced
this pull request
Oct 8, 2025
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Motivation
Fix ManagedCursorImpl.individualDeletedMessages concurrent issue.
Modifications
Verifying this change
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
Documentation
docdoc-requireddoc-not-neededdoc-complete