主从同步,slave节点的最大commit offset偏移量小于 master节点最小的commit offset偏移量时,为什么不同步 #8779
Unanswered
caojiaqiang
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
4.9.X版本 主从同步,当slave节点的最大commit offset偏移量 小于 master节点最小的commit offset偏移量时,是基于什么考虑不同步的呢
HAConnection.WriteSocketService中,当
SelectMappedBufferResult selectResult =
HAConnection.this.haService.getDefaultMessageStore().getCommitLogData(this.nextTransferFromWhere);
selectResult为null时,是去等待 HAConnection.this.haService.getWaitNotifyObject().allWaitForRunning(100);
这里为什么不考虑修正重新同步呢,是有基于什么考虑么。
Beta Was this translation helpful? Give feedback.
All reactions