bookkeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dennis zhuang <killme2...@gmail.com>
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?


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

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

Mime
View raw message