On Mon, Aug 30, 2010 at 1:11 PM, Avinash Lakshman <
> 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
> 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?
The bits where the in-memory db is updated is here:
Regarding datadir cleanup see this section of the docs.
Basically -- there's a tool for that but you should backup the current state
of the database before doing the cleanup.