-
Notifications
You must be signed in to change notification settings - Fork 316
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
[Bug] Unable to smoothly upgrade from 0.2.2 to 0.2.6 #162
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
0.2.2 return to master is
endIndex
, and count of response is 0, so the watermark of slave will be less 1 than real value.dledger/src/main/java/io/openmessaging/storage/dledger/DLedgerEntryPusher.java
Line 601 in d207481
when last slave upgrade, follow code may will be run
dledger/src/main/java/io/openmessaging/storage/dledger/DLedgerEntryPusher.java
Line 672 in d207481
But in
doCheckBatchAppendResponse
, peerWaterMark is less 1 than real. sopeerWaterMark + 1
will be endIndex and it is not stored inbatchPendingMap
. Sopair
will always be null and pusher will always execute the check logic.The text was updated successfully, but these errors were encountered: