Skip to content

Commit ecd78d9

Browse files
authored
fix (#9526) Fix combineCQ extra search commitLog files for recovery
Fix combineCQ extra search commitLog files for recovery
1 parent 3d94585 commit ecd78d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

store/src/main/java/org/apache/rocketmq/store/queue/CombineConsumeQueueStore.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public boolean isMappedFileMatchedRecover(long phyOffset, long storeTimestamp,
153153
continue;
154154
}
155155
// if other store is not matched for fully recovery, extraSearchCommitLogFilesForRecovery will minus 1
156-
if (extraSearchCommitLogFilesForRecovery.getAndIncrement() <= 0) {
156+
if (extraSearchCommitLogFilesForRecovery.getAndDecrement() <= 0) {
157157
// extraSearchCommitLogFilesForRecovery <= 0, only can read from assignOffsetStore
158158
if (assignOffsetStore != currentReadStore) {
159159
log.error("CombineConsumeQueueStore currentReadStore not satisfied readable conditions, assignOffsetStore={}, currentReadStore={}",

0 commit comments

Comments
 (0)