bookkeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dennis zhuang <>
Subject Could bookie server lost data between flush?
Date Sun, 27 Nov 2011 16:48:07 GMT
Hi,to add a entry to bookie server,it has four steps as follow:

   1. Append the entry in *Entry Log*, return its position { logId , offset
   } ;
   2. Update the index of this entry in *Ledger Cache* ;
   3. Append a transaction of update of this entry in *Journal* ;
   4. Respond to BookKeeper client ;

And the EntryLogger,Journal and Index files are not forced to device right
now,but waiting for SyncThread to flush them.
My question is that bookie server would lost data between data flushs?


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

View raw message