Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clear-out old inbound cnx stats when repl producer disconnects (apach…
…e#3250) ### Motivation Right now, when remote replication-producer gets disconnected due to below `ProducerBlockedQuotaExceededError`, broker doesn't cleanup inbound repl-producer stats for the topic and it shows invalid stale inbound cnx stats until new producer gets created successfully. ``` 20:10:28.628 [pulsar-io-21-2] WARN org.apache.pulsar.broker.service.AbstractReplicator - [persistent://localsearch/global/ns/t1][east1 -> west1] Failed to create remote producer (org.apache.pulsar.client.api.PulsarClientException$ProducerBlockedQuotaExceededError: Cannot create producer on topic with backlog quota exceeded), retrying in 5 ``` ### Modifications Clear-out old stale inbound-repl stats. ### Result Broker will not show invalid stale repl-stats.
- Loading branch information