[CI] SnapshotStressTestsIT must not close indices during partial snapshot #109138
Labels
:Distributed Coordination/Snapshot/Restore
Anything directly related to the `_snapshot/*` APIs
low-risk
An open issue or test failure that is a low risk to future releases
Team:Distributed (Obsolete)
Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.
>test-failure
Triaged test failures from CI
The partial snapshotter releases its index permits as soon as the snapshot has started, which frees up the restorer to close or delete these indices in order to restore them even while the snapshot is ongoing. Deleting an index while it's being (partially) snapshotted is fine, but closing them is forbidden:
elasticsearch/server/src/main/java/org/elasticsearch/cluster/metadata/MetadataIndexStateService.java
Lines 328 to 335 in 4076aa7
elasticsearch/server/src/main/java/org/elasticsearch/cluster/metadata/MetadataIndexStateService.java
Lines 868 to 882 in 4076aa7
We should make partial snapshotting and closing an index mutually exclusive.
The text was updated successfully, but these errors were encountered: