Limit resolution balancing to normal keys

When using resolver generated private mutations, all resolvers must process all
metadata mutations. So there is no point of load balancing among resolvers for
the system, i.e., \xff keyspace.
This commit is contained in:
Jingyu Zhou 2021-10-08 17:02:43 -07:00 committed by Dan Lambright
parent fddf16534d
commit b47da4f2ea
1 changed files with 1 additions and 1 deletions

View File

@ -1402,7 +1402,7 @@ std::pair<KeyRangeRef, bool> findRange(CoalescedKeyRangeMap<int>& key_resolver,
ACTOR Future<Void> resolutionBalancing(Reference<MasterData> self) {
state CoalescedKeyRangeMap<int> key_resolver;
key_resolver.insert(allKeys, 0);
key_resolver.insert(SERVER_KNOBS->PROXY_USE_RESOLVER_PRIVATE_MUTATIONS ? normalKeys : allKeys, 0);
loop {
wait(delay(SERVER_KNOBS->MIN_BALANCE_TIME, TaskPriority::ResolutionMetrics));
while (self->resolverChanges.get().size())