zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Why are errors stored in the transaction logs?
Date Tue, 15 Oct 2019 14:33:26 GMT
Hi ZooKeepers,

We had an issue recently with a service hammering ZK to read a path that 
doesn't exist. As a result the transaction logs grew quickly because 
errors are stored there.

Looking at DataTree.processTxn() which is called from 
FileTxnSnapLog.restore() it seems that errors read in the transaction 
log are essentially ignored.

So what is storing errors in the txnlog useful for? Would it make sense 
to have a configuration flag to not store them?


View raw message