Repository navigation
[fix][test] flaky test ManagedLedgerBkTest.asyncMarkDeleteAndClose - #18362
Merged
Technoboy- merged 1 commit intoNov 19, 2022
Merged
Conversation
liangyepianzhou
approved these changes
Nov 10, 2022
poorbarcode
force-pushed
the
flaky_asyncMarkDeleteAndClose_2
branch
from
November 10, 2022 13:36
4db61d1 to
76abd0e
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #18362 +/- ##
============================================
- Coverage 47.15% 47.12% -0.03%
+ Complexity 10432 10411 -21
============================================
Files 697 698 +1
Lines 68023 67986 -37
Branches 7284 7271 -13
============================================
- Hits 32074 32041 -33
- Misses 32367 32400 +33
+ Partials 3582 3545 -37
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Contributor
Author
|
/pulsarbot rerun-failure-checks |
tisonkun
approved these changes
Nov 15, 2022
tisonkun
left a comment
Member
There was a problem hiding this comment.
Although I suspect we may not retry on failure, the change is OK to merge.
Technoboy-
approved these changes
Nov 19, 2022
Technoboy-
force-pushed
the
flaky_asyncMarkDeleteAndClose_2
branch
from
November 19, 2022 04:12
76abd0e to
fd24928
Compare
lifepuzzlefun
pushed a commit
to lifepuzzlefun/pulsar
that referenced
this pull request
Dec 9, 2022
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.
Fixes #16729
Motivation
same as #18310
ManagedCursorImplhas a known problem: when thecursor.closeand thecursor.switchLedgerare concurrent executing, a bad version exception is thrown. see:pulsar/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedCursorImpl.java
Lines 2595 to 2619 in 0c3c175
Modifications
managedLedger.closetriggers thecursor.close, so remove codecursor.closemanagedLedger.closefail, just retry, it will be okDocumentation
docdoc-requireddoc-not-neededdoc-completeMatching PR in forked repository
PR in forked repository: