-
Notifications
You must be signed in to change notification settings - Fork 963
[fix] Fix ArrayIndexOut0fBoundsException caused by optimistic lock #4066
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
Conversation
|
Could you help to reviw this PR? @eolivelli @sijie @hangc0276 @zymap |
|
Could you help to reviw this PR? @eolivelli @dlg99 @hangc0276 @nicoloboschi @shoothzj @zymap @wenbingshen |
|
I find that the same concurrency problem is reported in bookkeeper #4316, it is time to merge this fix into the bookkeeper. |
dlg99
left a comment
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.
Thank you!
|
retest this please |
|
closing/reopening to trigger CI |
eolivelli
left a comment
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.
+1
thanks
|
Please fix the checkstyle |
fixed, please help to re-trigger the CI, thanks. |
…pache#4066) (cherry picked from commit e4faf25)
|
@dlg99 @eolivelli Please cherry-pick this PR to branch-4.16. |
…pache#4066) (#18) (cherry picked from commit e4faf25) Co-authored-by: thetumbled <[email protected]>
|
@lhotari done |
@thetumbled I cherry-pick this PR, but the error still occurred, although the probability of it appearing was greatly reduced. Should we catch the exception and perform lock upgrade when accessing |
@keyboardbobo please report a new issue and share your stack trace. |
Motivation
This is the bug fix simillar to Pulsar. refer to: apache/pulsar#18390.
Changes
Fix bugs in: