Skip to content

Commit

Permalink
ensure source factory is set before running any scheduled replications.
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Handalian <marc.handalian@gmail.com>
  • Loading branch information
mch2 committed Sep 3, 2024
1 parent e1570dd commit 16c6326
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public SegmentReplicator(ThreadPool threadPool) {
}

public void scheduledReplication(IndexShard shard) {
if (sourceFactory.get() == null) return;
startReplication(
shard,
shard.getLatestReplicationCheckpoint(),
Expand Down

0 comments on commit 16c6326

Please sign in to comment.