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:
parent
fddf16534d
commit
b47da4f2ea
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue