External shard allocation strategy (#28211)

This commit is contained in:
Christopher Batey 2020-01-21 16:08:51 +00:00 committed by GitHub
parent cbde44fc48
commit cbf9f71c32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 965 additions and 5 deletions

View file

@ -1544,11 +1544,12 @@ final class Replicator(settings: ReplicatorSettings) extends Actor with ActorLog
case None => NotFound(key, req)
}
replyTo ! reply
} else
} else {
context.actorOf(
ReadAggregator
.props(key, consistency, req, selfUniqueAddress, nodes, unreachable, localValue, replyTo)
.withDispatcher(context.props.dispatcher))
}
}
def isLocalGet(readConsistency: ReadConsistency): Boolean =