Skip to content

Commit 3a03e9e

Browse files
authored
Stop processing TransportDownsampleAction on failure (#94624) (#94628)
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 b6fe2e4 commit 3a03e9e

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
@@ -163,6 +163,7 @@ protected void masterOperation(
163163
"Rollup forbidden for index [" + sourceIndexName + "] with document level or field level security settings."
164164
)
165165
);
166+
return;
166167
}
167168
}
168169
}

0 commit comments

Comments
 (0)