Re-use logic for allocating shard home for remembered entities
This commit is contained in:
parent
d2dd80fe17
commit
9c7f16a4db
1 changed files with 1 additions and 1 deletions
|
|
@ -1422,7 +1422,7 @@ private[akka] class DDataShardCoordinator(
|
|||
if (shardIds.nonEmpty) {
|
||||
val newUnallocatedShards = state.unallocatedShards.union(shardIds.diff(state.shards.keySet))
|
||||
state = state.copy(unallocatedShards = newUnallocatedShards)
|
||||
newUnallocatedShards.foreach { self ! GetShardHome(_) }
|
||||
allocateShardHomesForRememberEntities()
|
||||
}
|
||||
timers.cancel(RememberEntitiesTimeoutKey)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue