Skip to content

Commit bdf8c1e

Browse files
authored
[8.x] Data stream lifecycle does not record error in failure store rollover (#126229) (#126269)
* Data stream lifecycle does not record error in failure store rollover (#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.java * Fix test to anticipate force merge error
1 parent 33fa8c6 commit bdf8c1e

File tree

4 files changed

+348
-102
lines changed

4 files changed

+348
-102
lines changed

0 commit comments

Comments
 (0)