hangc0276 commented on code in PR #17226:
URL: https://github.com/apache/pulsar/pull/17226#discussion_r952236930
##########
pulsar-metadata/src/main/java/org/apache/pulsar/metadata/impl/ZKMetadataStore.java:
##########
@@ -120,7 +121,12 @@ public CompletableFuture<Optional<GetResult>> get(String
path) {
return null;
});
future.complete(Optional.empty());
- } else {
+ } else if (code == Code.CONNECTIONLOSS) {
+ // There is the chance that we caused a connection
reset by sending or requesting a batch
Review Comment:
Good idea
--
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]