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 2021/02/03 20:11:35 UTC

[GitHub] [pulsar] merlimat opened a new pull request #9460: Fixed NPE and cache invalidation in leader election

merlimat opened a new pull request #9460:
URL: https://github.com/apache/pulsar/pull/9460


   ### Motivation
   
   Since we're relying on the watch to invalidate the cache, if another broker becomes leader we're trying in a loop to read and write based on an outdated version of metadata, until the watch arrives. Instead, since we already know that the cache is out of sync, we should proactively invalidate it.


----------------------------------------------------------------
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



[GitHub] [pulsar] lhotari commented on pull request #9460: Fixed NPE and cache invalidation in leader election

Posted by GitBox <gi...@apache.org>.
lhotari commented on pull request #9460:
URL: https://github.com/apache/pulsar/pull/9460#issuecomment-773061421






----------------------------------------------------------------
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



[GitHub] [pulsar] merlimat merged pull request #9460: Fixed NPE and cache invalidation in leader election

Posted by GitBox <gi...@apache.org>.
merlimat merged pull request #9460:
URL: https://github.com/apache/pulsar/pull/9460


   


----------------------------------------------------------------
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



[GitHub] [pulsar] merlimat merged pull request #9460: Fixed NPE and cache invalidation in leader election

Posted by GitBox <gi...@apache.org>.
merlimat merged pull request #9460:
URL: https://github.com/apache/pulsar/pull/9460


   


----------------------------------------------------------------
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



[GitHub] [pulsar] lhotari commented on pull request #9460: Fixed NPE and cache invalidation in leader election

Posted by GitBox <gi...@apache.org>.
lhotari commented on pull request #9460:
URL: https://github.com/apache/pulsar/pull/9460#issuecomment-773110080


   /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



[GitHub] [pulsar] lhotari commented on pull request #9460: Fixed NPE and cache invalidation in leader election

Posted by GitBox <gi...@apache.org>.
lhotari commented on pull request #9460:
URL: https://github.com/apache/pulsar/pull/9460#issuecomment-773061421


   /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