You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2021/08/26 10:12:47 UTC

[GitHub] [bookkeeper] eolivelli commented on pull request #2767: skip replicating ledger when bookkeeper server is online

eolivelli commented on pull request #2767:
URL: https://github.com/apache/bookkeeper/pull/2767#issuecomment-906274203


   This is is interesting.
   Thank you for sharing your needs and your idea for fixing the problem
   
   It is better to start a discussion on dev@bookkeeper.apache.org in order to have a broader audience.
   
   I would add a configuration flag to explicitly enable this behaviour.
   
   Some quick notes (but really, it is better to start a discussion on the ML):
   - if the bookie has thousands of ledgers (this is very common) we are going to perform many writes to ZK, we should add some rate limiter and also probably save us from writing to ZK if the ledger is not yet marked as underreplicated
   - the fact that one bookies contains the data is not enough to say that the ledger is "underreplicated" (if you want 5 copies and 4 bookies are lost you are still underreplicated even in case of the only one remaining bookie is up and running)
   
   


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

To unsubscribe, e-mail: issues-unsubscribe@bookkeeper.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org