From 6996c2cf44310e496cbb204ae77949d3715eff2d Mon Sep 17 00:00:00 2001 From: ReubenBond Date: Wed, 29 May 2024 09:33:38 -0700 Subject: [PATCH] fixups --- .../Rebalancing/ActivationRebalancer.cs | 18 +----------------- test/Grains/BenchmarkGrains/Ping/TreeGrain.cs | 4 ++-- 2 files changed, 3 insertions(+), 19 deletions(-) diff --git a/src/Orleans.Runtime/Placement/Rebalancing/ActivationRebalancer.cs b/src/Orleans.Runtime/Placement/Rebalancing/ActivationRebalancer.cs index 199e4f872c3..3a412313b92 100644 --- a/src/Orleans.Runtime/Placement/Rebalancing/ActivationRebalancer.cs +++ b/src/Orleans.Runtime/Placement/Rebalancing/ActivationRebalancer.cs @@ -635,23 +635,7 @@ private static HashSet ComputeAnchoredGrains(List accRemoteScore) { - - - - - // anchoredGrains.Add(grainEdges.Key); - - - - - - - - - - - - + anchoredGrains.Add(grainEdges.Key); } } diff --git a/test/Grains/BenchmarkGrains/Ping/TreeGrain.cs b/test/Grains/BenchmarkGrains/Ping/TreeGrain.cs index fe8ff94708b..03b1c56c751 100644 --- a/test/Grains/BenchmarkGrains/Ping/TreeGrain.cs +++ b/test/Grains/BenchmarkGrains/Ping/TreeGrain.cs @@ -5,8 +5,8 @@ namespace BenchmarkGrains.Ping; public class TreeGrain : Grain, ITreeGrain { // 16^4 grains (~65K) - public const int FanOutFactor = 4; - public const int MaxLevel = 3; + public const int FanOutFactor = 16; + public const int MaxLevel = 4; private readonly List _children; public TreeGrain()