Commit f2e7e7f
committed
Remove
In elastic#133954, we modified the `searchable_snapshot` ILM action to clone
the index with 0 replicas before performing the force-merge. We didn't
take the `index.auto_expand_replicas` setting into account, which could
result in the clone having indices after all. That's harmless, as it
merely nullifies the optimization of that PR, but we should remove the
setting to ensure we achieve the intended optimizations.auto_expand_replicas setting during index clone in searchable_snapshot
1 parent ef9199d commit f2e7e7f
File tree
2 files changed
+12
-2
lines changed- x-pack/plugin
- core/src/main/java/org/elasticsearch/xpack/core/ilm
- ilm/qa/multi-node/src/javaRestTest/java/org/elasticsearch/xpack/ilm/actions
2 files changed
+12
-2
lines changedLines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
82 | 86 | | |
83 | 87 | | |
84 | 88 | | |
| |||
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1033 | 1033 | | |
1034 | 1034 | | |
1035 | 1035 | | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
1036 | 1042 | | |
1037 | 1043 | | |
1038 | 1044 | | |
1039 | 1045 | | |
1040 | | - | |
| 1046 | + | |
1041 | 1047 | | |
1042 | 1048 | | |
1043 | 1049 | | |
| |||
0 commit comments