poorbarcode commented on code in PR #16758:
URL: https://github.com/apache/pulsar/pull/16758#discussion_r936956206
##########
pulsar-transaction/coordinator/src/main/java/org/apache/pulsar/transaction/coordinator/impl/TxnLogBufferedWriter.java:
##########
@@ -212,6 +224,12 @@ private void internalAsyncAddData(T data, AddDataCallback
callback, Object ctx){
doTrigFlush(true, false);
}
ByteBuf byteBuf = dataSerializer.serialize(data);
+ /**
Review Comment:
I've rewritten the logic that triggers the flush, could you take a look at
it again ?
--
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]