Oliverwqcwrw commented on code in PR #4301:
URL: https://github.com/apache/rocketmq/pull/4301#discussion_r871905083


##########
store/src/main/java/org/apache/rocketmq/store/MappedFile.java:
##########
@@ -371,18 +371,18 @@ private boolean isAbleToFlush(final int flushLeastPages) {
     }
 
     protected boolean isAbleToCommit(final int commitLeastPages) {
-        int flush = this.committedPosition.get();
+        int commit = this.committedPosition.get();

Review Comment:
   I think `flush` is correct,This represents the offset of the flush without 
changing the variable name



-- 
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