Skip to content
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

Fix Inconsistent Shard Failure Count in Failed Snapshots (#51416) #54480

Merged
merged 1 commit into from
Mar 31, 2020

Commits on Mar 31, 2020

  1. Fix Inconsistent Shard Failure Count in Failed Snapshots (elastic#51416)

    * Fix Inconsistent Shard Failure Count in Failed Snapshots
    
    This fix was necessary to allow for the below test enhancement:
    We were not adding shard failure entries to a failed snapshot for those
    snapshot entries that were never attempted because the snapshot failed during
    the init stage and wasn't partial. This caused the never attempted snapshots
    to be counted towards the successful shard count which seems wrong and
    broke repository consistency tests.
    
    Also, this change adjusts snapshot resiliency tests to run another snapshot
    at the end of each test run to guarantee a correct `index.latest` blob exists
    after each run.
    
    Closes elastic#47550
    original-brownbear committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    c20b138 View commit details
    Browse the repository at this point in the history