You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Flavio Junqueira (JIRA)" <ji...@apache.org> on 2015/03/12 16:57:38 UTC

[jira] [Updated] (BOOKKEEPER-421) ledger ids are long, but they are stored in zk as 10 characters max, which fundamentally limits them at 9 billion

     [ https://issues.apache.org/jira/browse/BOOKKEEPER-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Flavio Junqueira updated BOOKKEEPER-421:
----------------------------------------
    Assignee: Tong Yu  (was: Jiannan Wang)

> ledger ids are long, but they are stored in zk as 10 characters max, which fundamentally limits them at 9 billion
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: BOOKKEEPER-421
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-421
>             Project: Bookkeeper
>          Issue Type: Bug
>          Components: bookkeeper-client, bookkeeper-server, hedwig-server
>            Reporter: Ivan Kelly
>            Assignee: Tong Yu
>            Priority: Critical
>             Fix For: 4.4.0
>
>
> {code}
>     public static String getZKStringId(long id) {
>         return String.format("%010d", id);
>     }
> {code}
> Simple to fix, but we need it be backward compatible, which also shouldn't be a problem.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)