lordcheng10 commented on code in PR #3616:
URL: https://github.com/apache/bookkeeper/pull/3616#discussion_r1016070910
##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/BufferedChannel.java:
##########
@@ -135,6 +135,7 @@ public void write(ByteBuf src) throws IOException {
unpersistedBytes.addAndGet(copied);
if (unpersistedBytes.get() >= unpersistedBytesBound) {
flush();
+ forceWrite(false);
Review Comment:
Prevents the final write data from being too large, exceeding the configured
size of flushEntrylogBytes. @hangc0276
--
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]