Commit 7353222
committed
Data stream lifecycle does not record error in failure store rollover (elastic#126229)
**Issue** The data stream lifecycle does not register correctly rollover
errors for failure store.
**Observed bahaviour** When data stream lifecycle encounters a rollover
error it records it unless it sees that the current write index of this
data stream doesn't match the source index of the request. However, the
write index check does not use the failure write index but the write
backing index, so the failure gets ignored
**Desired behaviour** When data stream lifecycle encounters a rollover
error it will check the relevant write index before it determines if it
should be recorded or not.
(cherry picked from commit 488951e)
# Conflicts:
# modules/data-streams/src/internalClusterTest/java/org/elasticsearch/datastreams/lifecycle/ExplainDataStreamLifecycleIT.java
# modules/data-streams/src/main/java/org/elasticsearch/datastreams/lifecycle/DataStreamLifecycleService.java1 parent 29e0f79 commit 7353222
File tree
4 files changed
+346
-102
lines changed- modules/data-streams/src
- internalClusterTest/java/org/elasticsearch/datastreams/lifecycle
- main/java/org/elasticsearch/datastreams/lifecycle
- test/framework/src/main/java/org/elasticsearch
- cluster/metadata
- test
4 files changed
+346
-102
lines changed
0 commit comments