Github user maoling commented on the issue:
https://github.com/apache/zookeeper/pull/567
@suyogmapara
- **1** just as we both observe that when `txnLogSizeLimitInKb <
preAllocSize`,for every transaction,it will create a log block. -1
- **2** when set txnLogSizeLimitInKb > preAllocSize
e.g `"-Dzookeeper.txnLogSizeLimitInKb=25600"
"-Dzookeeper.preAllocSize=20480"`
` ./zk-latencies.py --servers "localhost:2181"
--root_znode="/zk-latencies6" --znode_count=10000 --znode_size=1024
--synchronous` crete nodes( with size:1024byte--1kb) ceaselessly,we will see
the log block will rise from 20971536 byte to 41943056 byte.
- **3**.since one node size has been limited 1MB,So it has decided that a
single transaction log will not be very large?
- **4**.look at the code,the `txnLogSizeLimitInKb` controls the size of a
single transaction log? or the size of a group commit?the control of this size
is not accurate?
---