Skip to content

Commit

Permalink
update async task to only run if the FF is enabled and we are a remot…
Browse files Browse the repository at this point in the history
…e store cluster.

This check had previously only checked for segrep

Signed-off-by: Marc Handalian <[email protected]>
  • Loading branch information
mch2 committed Dec 10, 2024
1 parent 55689cf commit 48ca1a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1400,7 +1400,7 @@ public String toString() {

@Override
protected boolean mustReschedule() {
return indexSettings.isSegRepEnabledOrRemoteNode() && super.mustReschedule();
return indexSettings.isRemoteStoreEnabled() && super.mustReschedule();
}
}

Expand Down

0 comments on commit 48ca1a3

Please sign in to comment.