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

Replica allocation consider no-op #42518

Commits on May 24, 2019

  1. Replica allocation consider no-op

    This is a first step away from sync-ids. We now check if replica and
    primary are identical using sequence numbers when determining where to
    allocate a replica shard.
    
    If an index is no longer indexed into, issuing a regular flush will now
    be enough to ensure a no-op recovery is done.
    
    This has the nice side-effect of ensuring that closed indices and frozen
    indices choose existing shard copies with identical data over
    file-overlap comparison, increasing the chance that we end up doing a
    no-op recovery (only no-op and file-based recovery is supported by
    closed indices).
    
    Relates elastic#41400 and elastic#33888
    
    Supersedes elastic#41784
    henningandersen committed May 24, 2019
    Configuration menu
    Copy the full SHA
    06f4d3c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    57cac72 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2019

  1. Configuration menu
    Copy the full SHA
    ba09f21 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2019

  1. Configuration menu
    Copy the full SHA
    94a3c8d View commit details
    Browse the repository at this point in the history
  2. Increase delayed allocation time

    Hopefully this makes test succeed in CI too.
    henningandersen committed May 28, 2019
    Configuration menu
    Copy the full SHA
    b01c3fc View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2019

  1. Lock during cleanup files

    Now lock during cleanup files to protect snapshotRecoveryMetadata from
    seeing half copied data. snapshotRecoveryMetadata now handles peer
    recovery and existing store recovery specifically, returning empty
    snapshot in other recovery types (local shards, restore snapshot).
    henningandersen committed Jun 4, 2019
    Configuration menu
    Copy the full SHA
    0c9da5b View commit details
    Browse the repository at this point in the history
  2. Check style fixes

    henningandersen committed Jun 4, 2019
    Configuration menu
    Copy the full SHA
    647f21d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4afe2c9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a7dd7ee View commit details
    Browse the repository at this point in the history