You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Disable downsampling force merge via mapping metadata (#135694)
In this PR we introduce a mapping metadata field that allows us to skip
the force-merge request during a downsamping API request.
When an index has the `downsample.forcemerge.enabled` in their mapping
metadata, they can enable or disable the force merge:
```
{
"_meta": {
"downsample.forcemerge.enabled": false
}
}
```
By default, force merge is enabled to match the current user experience.
Copy file name to clipboardExpand all lines: x-pack/plugin/downsample/src/internalClusterTest/java/org/elasticsearch/xpack/downsample/DownsampleIT.java
+14-2Lines changed: 14 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,7 @@
31
31
importjava.io.IOException;
32
32
importjava.time.Instant;
33
33
importjava.util.List;
34
+
importjava.util.Locale;
34
35
importjava.util.concurrent.TimeUnit;
35
36
importjava.util.function.Supplier;
36
37
@@ -44,8 +45,9 @@ public class DownsampleIT extends DownsamplingIntegTestCase {
Copy file name to clipboardExpand all lines: x-pack/plugin/downsample/src/internalClusterTest/java/org/elasticsearch/xpack/downsample/DownsamplingIntegTestCase.java
0 commit comments