You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/12/24 23:43:02 UTC
[GitHub] rdhabalia opened a new pull request #3250: Clear-out old inbound
cnx stats when repl producer disconnects
rdhabalia opened a new pull request #3250: Clear-out old inbound cnx stats when repl producer disconnects
URL: https://github.com/apache/pulsar/pull/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.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services