Skip to content

Commit

Permalink
fix sharding recovery (#5863)
Browse files Browse the repository at this point in the history
  • Loading branch information
zbynek001 authored Apr 21, 2022
1 parent 8e7f021 commit 9bbb68f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ protected override bool ReceiveRecover(object message)
_shards.UnionWith(state.Shards.Keys.Union(state.UnallocatedShards));
return true;
case SnapshotOffer offer when (offer.Snapshot is State state):
_shards.Union(state.Shards);
_shards.UnionWith(state.Shards);
_writtenMarker = state.WrittenMigrationMarker;
return true;
case RecoveryCompleted _:
Expand Down

0 comments on commit 9bbb68f

Please sign in to comment.