Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Zookeeper >> mail # dev >> Features that depends on txnlog lookup and its integrity

Copy link to this message
Features that depends on txnlog lookup and its integrity

I just want to start a discussion about the usage of txnlog. Here is the list of features that need to lookup information from txnlog. Theses feature need to ensure the integrity of txnlog and having an efficient lookup is good for performance as well.

ZOOKEEPER-1413 -  The leader use txnlog to synchronize with the learners.It need to read txnlog in sequential manner starting from a given zxid.
ZOOKEEPER-22 – The design proposal mentioned that the leader should lookup txnlog to response to the client if a request is accepted by the client or not. The server need to lookup txn by sessionId and cxid
ZOOKEEPER-1416 – The server need to be able to tell the list of deleted nodes starting a given zxid.  One possible implementation is to walk txnlog staring from a given zxid and look for delete txn.

Do we need to change the way we store txnlog so that we can ensure integrity and more efficient lookup?

Thawan Kooburat
Camille Fournier 2013-06-01, 14:29
Flavio Junqueira 2013-06-01, 15:18
Thawan Kooburat 2013-06-02, 22:41
Flavio Junqueira 2013-06-03, 16:54
Thawan Kooburat 2013-06-04, 20:22
Flavio Junqueira 2013-06-10, 21:29