-
Notifications
You must be signed in to change notification settings - Fork 24.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SystemIndicesSnapshotIT#testParallelIndexDeleteRemovesFeatureState failures #69014
Labels
:Core/Infra/Core
Core issues without another label
Team:Core/Infra
Meta label for core/infra team
>test-failure
Triaged test failures from CI
Comments
DaveCTurner
added
:Core/Infra/Core
Core issues without another label
>test-failure
Triaged test failures from CI
labels
Feb 16, 2021
TommyWind
added a commit
to TommyWind/elasticsearch
that referenced
this issue
Feb 17, 2021
If an index is deleted while a partial snapshot is running the behavior was not deterministic. If an index was deleted just as one of its shard snapshots was about to start then it would be recorded as a shard snapshot failure in the snapshot result and the snapshot would show up as `PARTIAL`. If the index delete however happened after the shard had been snapshotted, then the snapshot would show `SUCCESS`. In both cases however, the snapshot would contain the exact same data because the deleted index would become part of the final snapshot. Also, it was confusing that in the `PARTIAL` case, there would be errors recorded for shards the indices of which would not be part of the snapshot. This commit makes it such that not only are indices filtered from the list of indices in a snapshot but also from the shard snapshot errors in a snapshot entry so that the snapshot always shows up as `SUCCESS` because concurrent index deletes are not a failure but allowed in partial snapshots. Closes elastic#69014
original-brownbear
pushed a commit
that referenced
this issue
Feb 17, 2021
If an index is deleted while a partial snapshot is running the behavior was not deterministic. If an index was deleted just as one of its shard snapshots was about to start then it would be recorded as a shard snapshot failure in the snapshot result and the snapshot would show up as `PARTIAL`. If the index delete however happened after the shard had been snapshotted, then the snapshot would show `SUCCESS`. In both cases however, the snapshot would contain the exact same data because the deleted index would become part of the final snapshot. Also, it was confusing that in the `PARTIAL` case, there would be errors recorded for shards the indices of which would not be part of the snapshot. This commit makes it such that not only are indices filtered from the list of indices in a snapshot but also from the shard snapshot errors in a snapshot entry so that the snapshot always shows up as `SUCCESS` because concurrent index deletes are not a failure but allowed in partial snapshots. Closes #69014
original-brownbear
pushed a commit
to original-brownbear/elasticsearch
that referenced
this issue
Feb 22, 2021
If an index is deleted while a partial snapshot is running the behavior was not deterministic. If an index was deleted just as one of its shard snapshots was about to start then it would be recorded as a shard snapshot failure in the snapshot result and the snapshot would show up as `PARTIAL`. If the index delete however happened after the shard had been snapshotted, then the snapshot would show `SUCCESS`. In both cases however, the snapshot would contain the exact same data because the deleted index would become part of the final snapshot. Also, it was confusing that in the `PARTIAL` case, there would be errors recorded for shards the indices of which would not be part of the snapshot. This commit makes it such that not only are indices filtered from the list of indices in a snapshot but also from the shard snapshot errors in a snapshot entry so that the snapshot always shows up as `SUCCESS` because concurrent index deletes are not a failure but allowed in partial snapshots. Closes elastic#69014
original-brownbear
pushed a commit
to original-brownbear/elasticsearch
that referenced
this issue
Feb 22, 2021
If an index is deleted while a partial snapshot is running the behavior was not deterministic. If an index was deleted just as one of its shard snapshots was about to start then it would be recorded as a shard snapshot failure in the snapshot result and the snapshot would show up as `PARTIAL`. If the index delete however happened after the shard had been snapshotted, then the snapshot would show `SUCCESS`. In both cases however, the snapshot would contain the exact same data because the deleted index would become part of the final snapshot. Also, it was confusing that in the `PARTIAL` case, there would be errors recorded for shards the indices of which would not be part of the snapshot. This commit makes it such that not only are indices filtered from the list of indices in a snapshot but also from the shard snapshot errors in a snapshot entry so that the snapshot always shows up as `SUCCESS` because concurrent index deletes are not a failure but allowed in partial snapshots. Closes elastic#69014
original-brownbear
added a commit
that referenced
this issue
Feb 22, 2021
If an index is deleted while a partial snapshot is running the behavior was not deterministic. If an index was deleted just as one of its shard snapshots was about to start then it would be recorded as a shard snapshot failure in the snapshot result and the snapshot would show up as `PARTIAL`. If the index delete however happened after the shard had been snapshotted, then the snapshot would show `SUCCESS`. In both cases however, the snapshot would contain the exact same data because the deleted index would become part of the final snapshot. Also, it was confusing that in the `PARTIAL` case, there would be errors recorded for shards the indices of which would not be part of the snapshot. This commit makes it such that not only are indices filtered from the list of indices in a snapshot but also from the shard snapshot errors in a snapshot entry so that the snapshot always shows up as `SUCCESS` because concurrent index deletes are not a failure but allowed in partial snapshots. Closes #69014 Co-authored-by: Tamara Braun <[email protected]>
original-brownbear
added a commit
that referenced
this issue
Feb 23, 2021
If an index is deleted while a partial snapshot is running the behavior was not deterministic. If an index was deleted just as one of its shard snapshots was about to start then it would be recorded as a shard snapshot failure in the snapshot result and the snapshot would show up as `PARTIAL`. If the index delete however happened after the shard had been snapshotted, then the snapshot would show `SUCCESS`. In both cases however, the snapshot would contain the exact same data because the deleted index would become part of the final snapshot. Also, it was confusing that in the `PARTIAL` case, there would be errors recorded for shards the indices of which would not be part of the snapshot. This commit makes it such that not only are indices filtered from the list of indices in a snapshot but also from the shard snapshot errors in a snapshot entry so that the snapshot always shows up as `SUCCESS` because concurrent index deletes are not a failure but allowed in partial snapshots. Closes #69014 Co-authored-by: Tamara Braun <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
:Core/Infra/Core
Core issues without another label
Team:Core/Infra
Meta label for core/infra team
>test-failure
Triaged test failures from CI
Build scan: e.g. https://gradle-enterprise.elastic.co/s/q5qondriqjpbm/console-log?task=:server:internalClusterTest, https://gradle-enterprise.elastic.co/s/vntohmkcphpm6/console-log?task=:server:internalClusterTest
Repro line: e.g.
./gradlew ':server:internalClusterTest' --tests "org.elasticsearch.snapshots.SystemIndicesSnapshotIT.testParallelIndexDeleteRemovesFeatureState" -Dtests.seed=486F4AB75B1B3573 -Dtests.security.manager=true -Dtests.locale=de-LU -Dtests.timezone=Asia/Saigon -Druntime.java=11
Reproduces locally?: Not for me
Applicable branches:
master
,7.x
Failure history: A few times a day since introduction in #63513.
Failure excerpt:
Possibly related:
The text was updated successfully, but these errors were encountered: