You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "fuyou001 (via GitHub)" <gi...@apache.org> on 2023/04/26 02:09:40 UTC
[GitHub] [rocketmq] fuyou001 commented on a diff in pull request #6618: [ISSUE #6609] Fix the issue that consume queue building exceeds confirmOffset when node restarts to recover
fuyou001 commented on code in PR #6618:
URL: https://github.com/apache/rocketmq/pull/6618#discussion_r1171105169
##########
store/src/main/java/org/apache/rocketmq/store/StoreCheckpoint.java:
##########
@@ -53,6 +54,7 @@ public StoreCheckpoint(final String scpPath) throws IOException {
this.logicsMsgTimestamp = this.mappedByteBuffer.getLong(8);
this.indexMsgTimestamp = this.mappedByteBuffer.getLong(16);
this.masterFlushedOffset = this.mappedByteBuffer.getLong(24);
+ this.confirmPhyOffset = this.mappedByteBuffer.getLong(32);
Review Comment:
这块兼容性考虑下,老版本没有这逻辑。
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org