Skip to content

Commit 48ca1a3

Browse files
committed
update async task to only run if the FF is enabled and we are a remote store cluster.
This check had previously only checked for segrep Signed-off-by: Marc Handalian <[email protected]>
1 parent 55689cf commit 48ca1a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/opensearch/index/IndexService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1400,7 +1400,7 @@ public String toString() {
14001400

14011401
@Override
14021402
protected boolean mustReschedule() {
1403-
return indexSettings.isSegRepEnabledOrRemoteNode() && super.mustReschedule();
1403+
return indexSettings.isRemoteStoreEnabled() && super.mustReschedule();
14041404
}
14051405
}
14061406

0 commit comments

Comments
 (0)