We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d37869 commit e9c5479Copy full SHA for e9c5479
server/src/main/java/org/elasticsearch/ingest/SamplingService.java
@@ -252,6 +252,12 @@ public boolean atLeastOneSampleConfigured() {
252
253
@Override
254
public void clusterChanged(ClusterChangedEvent event) {
255
+ if (RANDOM_SAMPLING_FEATURE_FLAG == false) {
256
+ return;
257
+ }
258
+ if (samples.isEmpty()) {
259
260
261
// We want to remove any samples if their sampling configuration has been deleted or modified.
262
if (event.metadataChanged()) {
263
/*
0 commit comments