Skip to content

Commit

Permalink
fix index calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb committed Dec 20, 2024
1 parent f60ff29 commit 2dd643f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ private static ShardCoordinator.CoordinatorState ComputedState(IActorRef[] place
int regionCount)
{
var shards = Enumerable.Range(0, shardCount)
.Select(i => new KeyValuePair<string, IActorRef>($"shard-{i}", placeholders[i]))
.Select(i => new KeyValuePair<string, IActorRef>($"shard-{i}", placeholders[0]))
.ToImmutableDictionary( );

// evenly allocate shards to regions
Expand Down

0 comments on commit 2dd643f

Please sign in to comment.