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 Plain View
Zookeeper >> mail # dev >> Why does multi-op check operation increment zxid?


Copy link to this message
-
Why does multi-op check operation increment zxid?
Hi,

I'm woundering: The check operation is threaded like a write operation in
PrepRequestProcessor. It gets a TxnHeader attached and increments the zxid.
However the switch cases in ObserverRequestProcessor, CommitProcessor,
FollowerRequestProcessor and ReadOnlyRequestProcessor thread a check like a
read operation.
I don't know, whether this is a bug, but the inconsistency makes one
suspicious and merits an explaining comment.

Btw. The switch block in the ReadOnlyRequestProcessor does not list multi as a
write operation. Can this cause problems?

Best regards,

Thomas Koch, http://www.koch.ro
+
Ted Dunning 2011-10-20, 12:52
+
Thomas Koch 2011-10-20, 13:28
+
Benjamin Reed 2011-10-21, 22:32
+
Ted Dunning 2011-10-21, 23:13
+
Benjamin Reed 2011-10-24, 05:31
+
Thomas Koch 2011-10-24, 17:52
+
Benjamin Reed 2011-10-25, 21:05
+
Marshall McMullen 2011-10-20, 16:07
+
Marshall McMullen 2011-10-20, 22:22
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