You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by Mahadev Konar <ma...@yahoo-inc.com> on 2010/09/04 08:29:41 UTC
Re: Logs and in memory operations
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" <av...@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