congbobo184 commented on code in PR #15654:
URL: https://github.com/apache/pulsar/pull/15654#discussion_r881200843


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/transaction/buffer/impl/TopicTransactionBuffer.java:
##########
@@ -98,6 +99,9 @@ public class TopicTransactionBuffer extends 
TopicTransactionBufferState implemen
 
     private final ConcurrentHashMap<Long, Long> lowWaterMarks = new 
ConcurrentHashMap<>();
 
+    //Store transaction buffer recovery start time and end time. The left is 
start time and the right is end time.
+    public final MutablePair<Long, Long> recoverTimePair = new 
MutablePair<>(0L, 0L);

Review Comment:
   can create a Class RecoverTimeRecord to record this 



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