Remove obsolete branch for finalizing incomplete shards#143721
Conversation
Since elastic#55918, snapshot creation no longer has the INIT step so that shards won't be finalized unless its state is completed. This PR removes the obsolete branch for it. See also elastic#143024 (comment)
|
Pinging @elastic/es-distributed (Team:Distributed) |
|
Important Review skippedAuto reviews are limited based on label configuration. 🏷️ Required labels (at least one) (2)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
DaveCTurner
left a comment
There was a problem hiding this comment.
LGTM
Normally I'd suggest we leave behind an assertion that this never happens, but (just to say it out loud) this is already covered in the remaining else branch 👍
Since #55918, snapshot creation no longer has the INIT step so that shards won't be finalized unless its state is completed. This PR removes the obsolete branch for it.
See also #143024 (comment)