Github user vongosling commented on a diff in the pull request:
https://github.com/apache/incubator-rocketmq/pull/146#discussion_r134940242
--- Diff: store/src/main/java/org/apache/rocketmq/store/ConsumeQueue.java
---
@@ -446,6 +446,13 @@ private boolean putMessagePositionInfo(final long
offset, final int size, final
if (cqOffset != 0) {
long currentLogicOffset = mappedFile.getWrotePosition() +
mappedFile.getFileFromOffset();
+
+ if (expectLogicOffset < currentLogicOffset) {
+ log.warn("build consume queue idempotent,
expectLogicOffset: {} currentLogicOffset: {} Topic: {} QID: {} Diff: {}",
--- End diff --
How to understand the meaning of building consume queue idempotentï¼
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---