iamqq23ue commented on a change in pull request #3382:
URL: https://github.com/apache/rocketmq/pull/3382#discussion_r724809046



##########
File path: store/src/main/java/org/apache/rocketmq/store/CommitLog.java
##########
@@ -1204,7 +1204,12 @@ private void doCommit() {
                         flushOK = 
CommitLog.this.mappedFileQueue.getFlushedWhere() >= req.getNextOffset();
                     }
 
-                    req.wakeupCustomer(flushOK ? PutMessageStatus.PUT_OK : 
PutMessageStatus.FLUSH_DISK_TIMEOUT);
+                    if (CommitLog.this.mappedFileQueue.isFlushError()) {
+                      req.wakeupCustomer(PutMessageStatus.FLUSH_DISK_FAILED);

Review comment:
       > The indentation seems not right. Please check the code format settings.
   
   修改了indentation ,编译没有报错




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