External shard allocation strategy (#28211)
This commit is contained in:
parent
cbde44fc48
commit
cbf9f71c32
18 changed files with 965 additions and 5 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue