This is an automated email from the ASF dual-hosted git repository.
technoboy pushed a commit to branch branch-2.11
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-2.11 by this push:
new 7f7d9314445 [fix][txn] Correct the prompt message (#17009)
7f7d9314445 is described below
commit 7f7d93144452cee7094c661de80c7605cd2e6359
Author: thetumbled <[email protected]>
AuthorDate: Thu Dec 22 19:12:13 2022 +0800
[fix][txn] Correct the prompt message (#17009)
Co-authored-by: fengwenzhi <[email protected]>
---
.../pulsar/broker/transaction/pendingack/impl/PendingAckHandleImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/pulsar-broker/src/main/java/org/apache/pulsar/broker/transaction/pendingack/impl/PendingAckHandleImpl.java
b/pulsar-broker/src/main/java/org/apache/pulsar/broker/transaction/pendingack/impl/PendingAckHandleImpl.java
index 4f4c61d372b..7b18d469308 100644
---
a/pulsar-broker/src/main/java/org/apache/pulsar/broker/transaction/pendingack/impl/PendingAckHandleImpl.java
+++
b/pulsar-broker/src/main/java/org/apache/pulsar/broker/transaction/pendingack/impl/PendingAckHandleImpl.java
@@ -190,7 +190,7 @@ public class PendingAckHandleImpl extends
PendingAckHandleState implements Pendi
public void internalIndividualAcknowledgeMessage(TxnID txnID,
List<MutablePair<PositionImpl, Integer>> positions,
CompletableFuture<Void>
completableFuture) {
if (txnID == null) {
- completableFuture.completeExceptionally(new
NotAllowedException("Positions can not be null."));
+ completableFuture.completeExceptionally(new
NotAllowedException("txnID can not be null."));
return;
}