zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mahadev Konar <maha...@yahoo-inc.com>
Subject Re: Logs and in memory operations
Date Sat, 04 Sep 2010 06:29:41 GMT
Hi Avinash,
  IN the source code the FinalRequestProcessor updates the in memory data structures and the
SyncRequestProcessor logs to disk.
For deciding when to delete take a look at PurgeTxnLog.java file.

Thanks
mahadev


On 8/30/10 1:11 PM, "Avinash Lakshman" <avinash.lakshman@gmail.com> wrote:

Hi All

>From my understanding when a znode is updated/created a write happens into
the local transaction logs and then some in-memory data structure is updated
to serve the future reads.
Where in the source code can I find this? Also how can I decide when it is
ok for me to delete the logs off disk?

Please advice.

Cheers
Avinash


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message