bookkeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dennis zhuang <killme2...@gmail.com>
Subject Re: Write 5 entries,but can only read 4 entries
Date Wed, 30 Nov 2011 09:09:41 GMT
It is strange that if i use getLastAddConfirmed to get the entry id, it's
all right.

在 2011年11月30日 下午4:25,dennis zhuang <killme2008@gmail.com>写道:

> Hi,everyone
>
> I create a LedgerHandle to write five entires to bookkeeper,then close it
> and open a new LedgerHandle in recovery mode to read entries from
> bookkeeper.
>
> I use readLastConfirmed to get the last confirmed entry id for reading,it
> should return 4 but  actually 3.I don't know why this happened?why can't
> read the last entry?
>
> Anybody help me? Thanks.
>
>
>
> --
> 庄晓丹
> Email:        killme2008@gmail.com
> 伯岩(花名)  boyan@taobao.com
> Site:           http://fnil.net
>
> 淘宝(中国)软件有限公司 / 产品技术部 / Java中间件
>
>


-- 
庄晓丹
Email:        killme2008@gmail.com
伯岩(花名)  boyan@taobao.com
Site:           http://fnil.net

淘宝(中国)软件有限公司 / 产品技术部 / Java中间件

Mime
View raw message