Reidddddd commented on code in PR #4034:
URL: https://github.com/apache/bookkeeper/pull/4034#discussion_r1266156504


##########
stream/distributedlog/core/src/main/java/org/apache/distributedlog/BKAsyncLogWriter.java:
##########
@@ -465,9 +465,24 @@ CompletableFuture<Long> flushAndCommit() {
         if (null == writerFuture) {
             return FutureUtils.value(getLastTxId());
         }
-        return writerFuture.thenCompose(writer -> writer.flushAndCommit());
+        return writerFuture.thenCompose(BKLogSegmentWriter::flushAndCommit);

Review Comment:
   unrelated and unnecessary change... please keep as it is



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