Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper >> mail # dev >> order of async requests to zookeeper


Copy link to this message
-
Re: order of async requests to zookeeper
are all of these requests being issued from the same zookeeper handle?

ben

On Thu, Dec 22, 2011 at 6:09 PM, Ted Yu <[EMAIL PROTECTED]> wrote:
> Hi,
> The following originated from discussion on a feature in HBase which relies
> on zookeeper for coordination.
>
> A task is removed from the tasks map. An async ZK request is pending to
> remove the task's zk node.
>
>  Another request arrives for this to-be-deleted task. A new in-memory task
> structure is created. A ZK request is scheduled to create the same task
> node.
>
>  Problem will only occur if create-node executes before delete-node in ZK.
> (If create-node returns NODEEXISTS then we treat that as success).
>
> Does ZK re-order async requests?
>
> Thanks
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB