[
https://issues.apache.org/jira/browse/BOOKKEEPER-552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15886514#comment-15886514
]
ASF GitHub Bot commented on BOOKKEEPER-552:
-------------------------------------------
GitHub user knusbaum opened a pull request:
https://github.com/apache/bookkeeper/pull/114
BOOKKEEPER-552: 64 Bits Ledger ID Generation
This PR supersedes #112
Instead of moving LongHierarchicalLedgerManager to
HierarchicalLedgerManager, LongHierarchicalLedgerManager is still a stand-alone
manager. HierarchicalLedgerManager has been moved to
LegacyHierarchicalLedgerManager, and a new HierarchicalLedgerManager class has
been put in its place, which is backwards-compatible with the original (now
legacy) HierarchicalLedgerManager.
This new HierarchicalLedgerManager leverages the new
LongZkLedgerIdGenerator to generate Ids, and uses the
LongHierarchicalLedgerManager to manage metadata for ledger IDs > 31 bits long.
For shorter ledger ids, the LegacyHierarchicalLedgerManager is used, to keep
backwards-compatibility.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/knusbaum/bookkeeper BOOKKEEPER-552
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/bookkeeper/pull/114.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #114
----
commit 4938d1caf1d40bf4f11909e0075f45ff1864d4a0
Author: Kyle Nusbaum <[email protected]>
Date: 2017-02-10T21:52:11Z
Final modifications for 63-bit ledger IDs.
commit 6dc809e6bcf23d304edbb113a542201656d25b71
Author: Kyle Nusbaum <[email protected]>
Date: 2017-02-27T20:50:26Z
Fixing minor port issues.
----
> 64 Bits Ledger ID Generation
> ----------------------------
>
> Key: BOOKKEEPER-552
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-552
> Project: Bookkeeper
> Issue Type: Sub-task
> Components: bookkeeper-client, bookkeeper-server, hedwig-server
> Reporter: Jiannan Wang
> Assignee: Kyle Nusbaum
> Attachments: BOOKKEEPER-552.patch, BOOKKEEPER-552.patch,
> BOOKKEEPER-552.patch
>
>
> This task aims to find and implement 64 bits global unique ledger id
> generation mechanisms.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)