[ 
https://issues.apache.org/jira/browse/BOOKKEEPER-879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15027018#comment-15027018
 ] 

ASF GitHub Bot commented on BOOKKEEPER-879:
-------------------------------------------

GitHub user eolivelli opened a pull request:

    https://github.com/apache/bookkeeper/pull/2

    BOOKKEEPER-879: Record ledger creation time

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/eolivelli/bookkeeper master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/bookkeeper/pull/2.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 #2
    
----
commit e33f2e01973f4d82dff8fad3a1d96e9037f4bdbb
Author: eolivelli <[email protected]>
Date:   2015-11-25T16:07:13Z

    BOOKKEEPER-879: Record ledger creation time

commit c43f0b4e0a400ac87acbc278055e582177812e2d
Author: eolivelli <[email protected]>
Date:   2015-11-25T16:15:25Z

    BOOKKEEPER-879: Record ledger creation time

----


> Record ledger creation time
> ---------------------------
>
>                 Key: BOOKKEEPER-879
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-879
>             Project: Bookkeeper
>          Issue Type: New Feature
>          Components: bookkeeper-client, bookkeeper-server
>    Affects Versions: 4.3.1
>            Reporter: Enrico Olivelli
>
> I think that a creation timestamp would be very useful and it does not cost 
> very much. It would be an immutable value. 
> Nowadays (on 4.3.1) I must keep that info together with the id of the ledger, 
>  for instance in zookeeper,  but if that reference gets lost there is now way 
> to know how old a ledger is.
> I think that this timestamp should be captured on client while calling 
> createLedger or asyncCreateLedger.
> In addition to this very common field maybe it would be useful to add a 
> custom byte[] field named "custom client data" in order to let the client 
> 'describe' the ledger without the need of extra data on Zookeeper. 



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

Reply via email to