Here it is https://issues.apache.org/jira/browse/BOOKKEEPER-879
Thank you Da: Sijie Guo [mailto:[email protected]] Inviato: sabato 7 novembre 2015 01:08 A: [email protected] Oggetto: Re: newbie question Enrico, so you are interested in a creation time of a ledger. that sounds a good field to carry on a ledger. I think it could be easily exposed via ledger manager, since a znode already have a creation time I believe. If not, we could think about adding a filed in ledger metadata. Do you mind creating a ticket to ask for this feature? - Sijie On Fri, Nov 6, 2015 at 1:25 PM, Enrico Olivelli <[email protected]<mailto:[email protected]>> wrote: Hi, honestly I think that a creation timestamp would be very useful and it does not cost very much. It would be an immutable value. Nowadays 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. -- Enrico Il giorno 20:57 Ven 06/Nov/2015 Sijie Guo <[email protected]<mailto:[email protected]>> ha scritto: How you manage the ledgers? Do you keep a list of ledgers? Could you delete a ledger when it is out of date? That's probably the easier way to address. As what Flavio pointed out, you might need a high level abstraction over bookkeeper, which manage ledgers, and roll ledgers and delete ledgers when it it out of date. - Sijie On Fri, Nov 6, 2015 at 10:47 AM, Maurício Santiago de Castro <[email protected]<mailto:[email protected]>> wrote: I tried to extend LedgerMetadata, BookKeeper and possibly LedgerHandle to introduce a timestamp to the metadata on handle creation, but I faced package protection problems so I am trying something else. For now I am playing around with it, but I am thinking about using it here<https://github.com/mauricioscastro/basex-lmdb> (https://github.com/mauricioscastro/basex-lmdb) for replicating my key/values one level above the lmdb jni client. Thanks. On 11/06/2015 04:23 PM, Sijie Guo wrote: Hello Mauricio: Are you looking for a mechanism to erase data within a ledger? - Sijie On Fri, Nov 6, 2015 at 8:36 AM, Maurício Santiago de Castro <[email protected]<mailto:[email protected]>> wrote: Hi, if I want to erase historical data in the log, say older than 5 days for example, is there any ledger metadata that could help me achieve this? Thanks. -- Maurício Santiago de Castro [cid:[email protected]]mauriciosantiagodecastro [cid:[email protected]] <mailto:[email protected]> [cid:[email protected]] <http://br.linkedin.com/pub/mauricio-castro/17/275/a5b> [cid:[email protected]] <http://www.delicious.com/mscastro> [cid:[email protected]] <http://twitter.com/#%21/mauricioscastro> [cid:[email protected]] <http://facebook.com/mauriciosantiagodecastro> [cid:[email protected]] <https://mscastro.startssl.com/> -- Maurício Santiago de Castro [cid:[email protected]]mauriciosantiagodecastro [cid:[email protected]] <mailto:[email protected]> [cid:[email protected]] <http://br.linkedin.com/pub/mauricio-castro/17/275/a5b> [cid:[email protected]] <http://www.delicious.com/mscastro> [cid:[email protected]] <http://twitter.com/#%21/mauricioscastro> [cid:[email protected]] <http://facebook.com/mauriciosantiagodecastro> [cid:[email protected]] <https://mscastro.startssl.com/> ________________________________ Iscriviti alla nostra newsletter per rimanere aggiornato su digital ed email marketing! http://www.magnews.it/newsletter/ The information in this email is confidential and may be legally privileged. If you are not the intended recipient please notify the sender immediately and destroy this email. Any unauthorized, direct or indirect, disclosure, copying, storage, distribution or other use is strictly forbidden.
