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 2020/04/06 06:27:55 UTC

[GitHub] [pulsar] rdhabalia opened a new pull request #6674: [pulsar-broker] check replicator periodically to avoid issue due to zk missing watch

rdhabalia opened a new pull request #6674: [pulsar-broker] check replicator periodically to avoid issue due to zk missing watch
URL: https://github.com/apache/pulsar/pull/6674
 
 
   ### Motivation
   We have a regular issue when user changes replication-cluster list, many times broker misses the zk watch and broker fails to update replicator which causes either data loss or message backlog based on zk-watch missing at source or destination replication broker.
   
   ### Modification
   - Broker expires replication policies at every X seconds 
   - Starts a background task which checks polices (fetches new policies if it's already expired) and starts/stops replicator if needed.
   
   ### Result
   Broker can start/stop replicators based on updated policies even if broker misses zk watch.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] jiazhai commented on issue #6674: [pulsar-broker] check replicator periodically to avoid issue due to zk missing watch

Posted by GitBox <gi...@apache.org>.
jiazhai commented on issue #6674: [pulsar-broker] check replicator periodically to avoid issue due to zk missing watch
URL: https://github.com/apache/pulsar/pull/6674#issuecomment-610462930
 
 
   /pulsarbot run-failure-checks
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] sijie commented on issue #6674: [pulsar-broker] check replicator periodically to avoid issue due to zk missing watch

Posted by GitBox <gi...@apache.org>.
sijie commented on issue #6674: [pulsar-broker] check replicator periodically to avoid issue due to zk missing watch
URL: https://github.com/apache/pulsar/pull/6674#issuecomment-610273446
 
 
   /pulsarbot run-failure-checks

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] sijie merged pull request #6674: [pulsar-broker] check replicator periodically to avoid issue due to zk missing watch

Posted by GitBox <gi...@apache.org>.
sijie merged pull request #6674: [pulsar-broker] check replicator periodically to avoid issue due to zk missing watch
URL: https://github.com/apache/pulsar/pull/6674
 
 
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services