You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/10/28 04:13:46 UTC
[GitHub] [pulsar] liangyepianzhou commented on a diff in pull request #17847: [feat][txn] Implement the AbortedTxnProcessor for TransactionBuffer
liangyepianzhou commented on code in PR #17847:
URL: https://github.com/apache/pulsar/pull/17847#discussion_r1007592306
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/transaction/buffer/impl/TopicTransactionBuffer.java:
##########
@@ -163,7 +150,10 @@ public void noNeedToRecover() {
// sync maxReadPosition change to LAC when TopicTransaction buffer have not recover
// completely the normal message have been sent to broker and state is
// not NoSnapshot can't sync maxReadPosition
- maxReadPosition = (PositionImpl) topic.getManagedLedger().getLastConfirmedEntry();
+ snapshotAbortedTxnProcessor
+ .updateMaxReadPositionNotIncreaseChangeTimes(topic.getManagedLedger()
+ .getLastConfirmedEntry());
Review Comment:
I think i is not outdated
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org