This is an automated email from the ASF dual-hosted git repository.
jxue pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/helix.git.
from db99f56 Use final remaining capacity when computing weighted score
(#1961)
new 47ee384 Fix #1946 -- Refactor and move ClusterTopologyConfig
new 199d997 Introduce VirtualTopologyGroup and its assignment logic with
benchmark. (#1948)
new 90a3832 Implement java API and utils for virtual topology group
(#1935)
new de572a6 Add rest endpoint for virtual topology group (#1958)
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
...der.java => VirtualTopologyGroupConstants.java} | 11 +-
.../FifoVirtualGroupAssignmentAlgorithm.java | 79 +++++++++
.../topology/VirtualGroupAssignmentAlgorithm.java} | 26 +--
.../controller/rebalancer/topology/Topology.java | 120 ++++---------
.../rebalancer/waged/model/AssignableNode.java | 1 -
.../apache/helix/model/ClusterTopologyConfig.java | 101 +++++++++++
.../org/apache/helix/model/InstanceConfig.java | 21 ++-
.../main/java/org/apache/helix/util/HelixUtil.java | 14 ++
.../TestVirtualTopologyGroupAssignment.java | 94 ++++++++++
.../rebalancer/waged/model/TestAssignableNode.java | 16 ++
.../helix/model/TestClusterTopologyConfig.java | 84 +++++++++
.../rest/server/resources/AbstractResource.java | 1 +
.../server/resources/helix/ClusterAccessor.java | 25 +++
.../service/VirtualTopologyGroupService.java | 197 +++++++++++++++++++++
.../helix/rest/server/TestClusterAccessor.java | 156 ++++++++++++----
.../service/TestVirtualTopologyGroupService.java | 192 ++++++++++++++++++++
16 files changed, 993 insertions(+), 145 deletions(-)
copy
helix-core/src/main/java/org/apache/helix/cloud/constants/{CloudProvider.java
=> VirtualTopologyGroupConstants.java} (64%)
create mode 100644
helix-core/src/main/java/org/apache/helix/cloud/topology/FifoVirtualGroupAssignmentAlgorithm.java
copy
helix-core/src/main/java/org/apache/helix/{common/caches/AbstractDataSnapshot.java
=> cloud/topology/VirtualGroupAssignmentAlgorithm.java} (59%)
create mode 100644
helix-core/src/main/java/org/apache/helix/model/ClusterTopologyConfig.java
create mode 100644
helix-core/src/test/java/org/apache/helix/cloud/virtualTopologyGroup/TestVirtualTopologyGroupAssignment.java
create mode 100644
helix-core/src/test/java/org/apache/helix/model/TestClusterTopologyConfig.java
create mode 100644
helix-rest/src/main/java/org/apache/helix/rest/server/service/VirtualTopologyGroupService.java
create mode 100644
helix-rest/src/test/java/org/apache/helix/rest/server/service/TestVirtualTopologyGroupService.java