GitHub user lvfangmin opened a pull request:

    https://github.com/apache/zookeeper/pull/594

    [ZOOKEEPER-3116] Make the DataTree.approximateDataSize more efficient

    Cache the approximate data tree size, and update it when txns applied to 
data tree, this could make this query not that expensive.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/lvfangmin/zookeeper ZOOKEEPER-3116

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zookeeper/pull/594.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #594
    
----
commit 21243f5effc23e68c57f9be93558ddb006e5f504
Author: Fangmin Lyu <allenlyu@...>
Date:   2018-08-09T04:51:55Z

    cache the approximate data size in DataTree

----


---

Reply via email to