sijie opened a new issue #2379: Initializing cluster metadata should handle 
/managed-ledger path better
URL: https://github.com/apache/incubator-pulsar/issues/2379
 
 
   `/managed-ledger` can be created automatically by brokers without 
initializing metadata. so in helm deployment, all pods are usually started at 
the same time. hence the race condition can happen between broker starts and 
initializing cluster metadata.
   
   - broker starts triggering creating `/managed-ledger`
   - cluster-metadata-initializer attempts to initialize cluster metadata and 
fail since `/managed-ledger` is already there.
   
   it can be handled by adding more checks in `initContainer` before starting 
brokers. However I think we also need to improve the logic on initializing 
cluster metadata to better handle such corner cases.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to