Skip to content

Commit f3efc2d

Browse files
authored
Stop processing TransportDownsampleAction on failure (#94624)
In #90593 we introduced a new failure path into `TransportDownsampleAction` but omitted the `return` after completing the listener so processing would continue (and fail further down, completing the listener again). This commit adds the missing `return`.
1 parent 7f47cfb commit f3efc2d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/changelog/94624.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 94624
2+
summary: Stop processing `TransportDownsampleAction` on failure
3+
area: Rollup
4+
type: bug
5+
issues: []

x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/downsample/TransportDownsampleAction.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ protected void masterOperation(
165165
"Rollup forbidden for index [" + sourceIndexName + "] with document level or field level security settings."
166166
)
167167
);
168+
return;
168169
}
169170
}
170171
}

0 commit comments

Comments
 (0)