Skip to content

Commit

Permalink
Process all snapshots in syncShardStatsOnNewMaster (#101702)
Browse files Browse the repository at this point in the history
Fixes bug introduced in #101665
  • Loading branch information
DaveCTurner committed Nov 2, 2023
1 parent 5c4ff98 commit 476dc2c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -510,7 +510,7 @@ private void syncShardStatsOnNewMaster(List<SnapshotsInProgress.Entry> entries)
synchronized (shardSnapshots) {
final var currentLocalShards = shardSnapshots.get(snapshot.snapshot());
if (currentLocalShards == null) {
return;
continue;
}
localShards = Map.copyOf(currentLocalShards);
}
Expand Down

0 comments on commit 476dc2c

Please sign in to comment.