poorbarcode commented on code in PR #16707:
URL: https://github.com/apache/pulsar/pull/16707#discussion_r926561406
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/transaction/pendingack/impl/MLPendingAckStore.java:
##########
@@ -104,6 +126,11 @@ public MLPendingAckStore(ManagedLedger managedLedger,
ManagedCursor cursor,
this.subManagedCursor = subManagedCursor;
this.logIndexBackoff = new
LogIndexLagBackoff(transactionPendingAckLogIndexMinLag, Long.MAX_VALUE, 1);
this.maxIndexLag = logIndexBackoff.next(0);
+ this.bufferedWriter = new TxnLogBufferedWriter(managedLedger,
((ManagedLedgerImpl) managedLedger).getExecutor(),
+ scheduledExecutorService, PendingAckLogSerializer.INSTANCE,
+ bufferedWriterConfig.getBatchedWriteMaxRecords(),
bufferedWriterConfig.getBatchedWriteMaxSize(),
+ bufferedWriterConfig.getBatchedWriteMaxDelayInMillis(),
bufferedWriterConfig.isBatchEnabled());
+ this.batchedPendingAckLogsWaitingForHandle = new
ArrayList<>(bufferedWriterConfig.getBatchedWriteMaxRecords());
Review Comment:
Already fixed
--
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]