wenbingshen opened a new issue #14624: URL: https://github.com/apache/pulsar/issues/14624
**Describe the bug** related to this issue: #14598 We have thousands of production machines. When a network problem or cluster failure occurs, and then the network is restored or the cluster is restored, and the connection is re-established, the `partitionsAutoUpdateTimerTask` will still not be able to get partitions information normally, this causes `partitionsAutoUpdateFuture` to neither fail nor complete. Then, `partitionsAutoUpdateTimerTask` because the previous `partitionsAutoUpdateFuture` did not complete. The topicsPartitionChangedListener.onTopicsExtended method will no longer be executed. https://github.com/apache/pulsar/blob/master/pulsar-client/src/main/java/org/apache/pulsar/client/impl/PartitionedProducerImpl.java#L104 ``` // if last auto update not completed yet, do nothing. if (partitionsAutoUpdateFuture == null || partitionsAutoUpdateFuture.isDone()) { partitionsAutoUpdateFuture = topicsPartitionChangedListener.onTopicsExtended(ImmutableList.of(topic)); } ``` <img width="1439" alt="image" src="https://user-images.githubusercontent.com/35599757/157419546-62dee517-d795-4116-bbd6-b362bc5c7b24.png">  -- 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]
