Technoboy- commented on a change in pull request #14973:
URL: https://github.com/apache/pulsar/pull/14973#discussion_r840245223
##########
File path:
pulsar-transaction/coordinator/src/main/java/org/apache/pulsar/transaction/coordinator/impl/MLTransactionMetadataStore.java
##########
@@ -257,7 +257,7 @@ public void handleMetadataEntry(Position position,
TransactionMetadataEntry tran
State.Ready, getState(), "add produced partition"));
return;
}
- getTxnPositionPair(txnID).thenAccept(txnMetaListPair -> {
+ getTxnPositionPair(txnID).thenCompose(txnMetaListPair -> {
Review comment:
Yes, thanks for your better explaination.
--
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]