congbobo184 commented on a change in pull request #11305:
URL: https://github.com/apache/pulsar/pull/11305#discussion_r668824983



##########
File path: 
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/ServerCnx.java
##########
@@ -1995,12 +1995,9 @@ protected void 
handleEndTxnOnSubscription(CommandEndTxnOnSubscription command) {
 
                 Subscription subscription = 
optionalTopic.get().getSubscription(subName);
                 if (subscription == null) {
-                    log.error("Topic {} subscription {} is not exist.", 
optionalTopic.get().getName(), subName);
-                    ctx.writeAndFlush(Commands.newEndTxnOnSubscriptionResponse(
-                            requestId, txnidLeastBits, txnidMostBits,
-                            ServerError.ServiceNotReady,
-                            "Topic " + optionalTopic.get().getName()
-                                    + " subscription " + subName + " is not 
exist."));
+                    log.warn("Topic {} subscription {} is not exist.", 
optionalTopic.get().getName(), subName);

Review comment:
       ok




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