drpmma commented on code in PR #6270:
URL: https://github.com/apache/rocketmq/pull/6270#discussion_r1129013913


##########
store/src/main/java/org/apache/rocketmq/store/timer/TimerMessageStore.java:
##########
@@ -632,22 +637,23 @@ public boolean enqueue(int queueId) {
                     int sizePy = bufferCQ.getByteBuffer().getInt();
                     bufferCQ.getByteBuffer().getLong(); //tags code
                     MessageExt msgExt = getMessageByCommitOffset(offsetPy, 
sizePy);
+                    currQueueOffset = offset + (i / CQ_STORE_UNIT_SIZE);

Review Comment:
   It's recommend to use CQ_STORE_UNIT_SIZE or ConsumeQueue.CQ_STORE_UNIT_SIZE 
in all occurrence.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to