zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anmolnar <...@git.apache.org>
Subject [GitHub] zookeeper issue #567: ZOOKEEPER-3071: Add a config parameter to control tran...
Date Fri, 10 Aug 2018 15:55:08 GMT
Github user anmolnar commented on the issue:

    https://github.com/apache/zookeeper/pull/567
  
    @suyogmapara Thanks for adding the documentation, it's very useful. I think it was a very
good idea to put it next to `snapCount`. There's one thing however which caught my eye from
snapCount doc:
    
    > In order to prevent all of the machines in the quorum from taking a snapshot at the
same time, each ZooKeeper server will take a snapshot when the number of transactions in the
transaction log reaches a runtime generated random value in the [snapCount/2+1, snapCount]
range.The default snapCount is 100,000.
    
    Isn't `txnLogSizeLimitInKb` affected by the same issue? Do you think it would be useful
to implement something similar for the new option as well?


---

Mime
View raw message