Re: Retrying sequential znode creation

2010-10-25 Thread Patrick Hunt
On Wed, Oct 20, 2010 at 3:27 PM, Ted Dunning ted.dunn...@gmail.com wrote: These corner cases are relatively rare, I would think (I personally keep logs around for days or longer). A concern I would have is that it does add complexity, would be hard to debug... Would it be possible to get a

Re: Reading znodes directly from snapshot and log files

2010-10-25 Thread Patrick Hunt
Sounds like a useful utility, the closest that I know of is this: http://hadoop.apache.org/zookeeper/docs/current/api/org/apache/zookeeper/server/LogFormatter.html but it just dumps the txn log. Seems like it would be cool to be able to open a shell on the datadir and query it (separate from

Re: Stale value for read request

2010-10-25 Thread Patrick Hunt
On Sat, Oct 23, 2010 at 9:03 PM, jingguo yao yaojing...@gmail.com wrote: Read requests are handled locally at each Zookeeper server. So it is possible for a read request to return a stale value even though a more recent update to the same znode has been committed. Does this statement still