Vanlightly commented on pull request #2895:
URL: https://github.com/apache/bookkeeper/pull/2895#issuecomment-968257387


   Changing the routing of ledgers to journal and ledger directories without 
any kind of data migration process is unsafe. At the least a large proportion 
of closed ledgers will become unreadable. Worse, open ledgers will be partly 
written to one directory and partly to another. Any ledger recovery that occurs 
can end up truncating ledgers.
   
   Just as with storage expansion, we cannot change routing to directories 
without a controlled data migration process.
   
   If we really do have an issue of a non-uniform distribution of ledger ids, 
then I think we should fix that instead. Changing ledger id routing is the more 
dangerous option that requires a migration.


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to