You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kvserver: move LoadBasedRebalancingMode to kvserverbase
Previously, the cluster setting LoadBasedRebalancingMode was in the kvserver
package. This would create an import cycle when future commits introduce
allocator sync. Allocator sync (in the mmaprototypehelpers package) needs to
check if mma is enabled by accessing this setting in kvserver, while kvserver
depends on mmaprototypehelpers to initialize allocator sync on every node. To
resolve this, this commit moves the setting out of kvserver to kvserverbase,
breaking the dependency cycle. This also improves clarity, as the setting fits
better in kvserverbase alongside other cluster settings, rather than in the
already large kvserver package.
0 commit comments