File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
server/src/main/java/org/elasticsearch/snapshots Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 6464import org .elasticsearch .common .settings .Settings ;
6565import org .elasticsearch .common .unit .TimeValue ;
6666import org .elasticsearch .index .Index ;
67+ import org .elasticsearch .index .IndexSettings ;
6768import org .elasticsearch .index .shard .IndexShard ;
6869import org .elasticsearch .index .shard .ShardId ;
6970import org .elasticsearch .repositories .IndexId ;
@@ -120,7 +121,8 @@ public class RestoreService extends AbstractComponent implements ClusterStateApp
120121 SETTING_NUMBER_OF_SHARDS ,
121122 SETTING_VERSION_CREATED ,
122123 SETTING_INDEX_UUID ,
123- SETTING_CREATION_DATE ));
124+ SETTING_CREATION_DATE ,
125+ IndexSettings .INDEX_SOFT_DELETES_SETTING .getKey ()));
124126
125127 // It's OK to change some settings, but we shouldn't allow simply removing them
126128 private static final Set <String > UNREMOVABLE_SETTINGS ;
You can’t perform that action at this time.
0 commit comments