[Placement Group]Add soft pack strategy (#10099)

This commit is contained in:
fangfengbin
2020-08-17 12:01:34 +08:00
committed by GitHub
parent 8f0f7371a0
commit edd783bc32
11 changed files with 195 additions and 69 deletions
@@ -11,7 +11,11 @@ public enum PlacementStrategy {
/**
* Places Bundles across distinct nodes as even as possible.
*/
SPREAD(1);
SPREAD(1),
/**
* Packs Bundles into one node. The group is not allowed to span multiple nodes.
*/
STRICT_PACK(2);
private int value = 0;