codelipenghui commented on a change in pull request #9490:
URL: https://github.com/apache/pulsar/pull/9490#discussion_r586018058
##########
File path:
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java
##########
@@ -199,6 +200,7 @@ protected TopicStatsHelper initialValue() {
private ScheduledFuture<?> fencedTopicMonitoringTask = null;
+ protected final CompletableFuture<Void> transactionCompletableFuture;
protected final TransactionBuffer transactionBuffer;
Review comment:
We don't need to use 2 fields for this case? We can just use
CompletableFuture<TransactionBuffer>?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]