*Problem: *

Currently the ledger id is long, which it should be 64-bits. However
currently bookkeeper only can generate 32-bits ledger id as zookeeper's
sequence znode only produce 32-bits.

This problem was basically raised before at BOOKKEEPER-421. Jiannan has
already done fair amount of work on this and there were several patches for
it.

This email thread is to start the discussion for 64-bits ledger id support
in bookkeeper.

*Discuss*:

Based on bookkeeper-421, the changes will relatively happen in following
places. Assume the metadata store is ZooKeeper.


   1. How to generate 64-bits ledger id? (64 Bits Ledger ID Generation
   <https://issues.apache.org/jira/browse/BOOKKEEPER-552>)
   2. How to store the 64-bits ledger id in zookeeper? (New LedgerManager
   for 64 Bits Ledger ID Management in ZooKeeper
   <https://issues.apache.org/jira/browse/BOOKKEEPER-553>)
   3. How can the garbage collect handle correctly with 64-bits ledger id? (
   
https://issues.apache.org/jira/browse/BOOKKEEPER-553?focusedCommentId=13558192&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13558192
   )
   4. How can we upgrade current HierarchicalLedgerManager to support
   64-bits. [??]

Feel free to take a look at those tickets and make any proposals.

- Sijie

Reply via email to