commit | b63a895e7bea6445a9547355ccf324e9bd6b203b | [log] [tgz] |
---|---|---|
author | Hunter Lee <hulee@linkedin.com> | Fri Oct 25 17:01:16 2019 -0700 |
committer | Jiajun Wang <1803880+jiajunwang@users.noreply.github.com> | Fri Feb 07 12:24:22 2020 -0800 |
tree | dce5f0844ca505aebb7c43ecd8394da8c289d900 | |
parent | afb19a13d80ded592e05e7a89005ac661de503b2 [diff] |
Make WagedRebalancer static by creating a ThreadLocal (#540) ZKBucketDataAccessor has a GC logic, but this is only valid if the ZkClient inside it is active and not closed. Currently, WAGED rebalancer generates an instance of AssignmentMetadataStore every time it rebalances, which does not allow the internal ZkBucketDataAccessor to garbage collect the assignment metadata it wrote previously. This diff makes the entire WagedRebalancer object a ThreadLocal, which has the effect of making it essentially static across different runs of the pipeline.
Helix is part of the Apache Software Foundation.
Project page: http://helix.apache.org/
Mailing list: http://helix.apache.org/mail-lists.html
mvn clean install package -DskipTests
Helix is a generic cluster management framework used for automatic management of partitioned, replicated and distributed resources hosted on a cluster of nodes. Helix provides the following features: