This is an automated email from the ASF dual-hosted git repository.
zhaocong pushed a commit to branch branch-2.9
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-2.9 by this push:
new fa0895c053c [fix][txn] Correct the prompt message (#17009)
fa0895c053c is described below
commit fa0895c053cbbeb99254742778846dbb6fb571f2
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]>
(cherry picked from commit 41edd2ead7e41b8ab8064ed22a421c440598ff31)
---
.../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 ce889860beb..3fd1f1841a0 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
@@ -185,7 +185,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;
}