-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Replica allocation consider no-op #42518
Commits on May 24, 2019
-
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
Configuration menu - View commit details
-
Copy full SHA for 06f4d3c - Browse repository at this point
Copy the full SHA 06f4d3cView commit details -
Merge remote-tracking branch 'origin/master' into enhance_replica_all…
…ocator_no_syncid
Configuration menu - View commit details
-
Copy full SHA for 57cac72 - Browse repository at this point
Copy the full SHA 57cac72View commit details
Commits on May 27, 2019
-
Merge remote-tracking branch 'origin/master' into enhance_replica_all…
…ocator_no_syncid
Configuration menu - View commit details
-
Copy full SHA for ba09f21 - Browse repository at this point
Copy the full SHA ba09f21View commit details
Commits on May 28, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 94a3c8d - Browse repository at this point
Copy the full SHA 94a3c8dView commit details -
Increase delayed allocation time
Hopefully this makes test succeed in CI too.
Configuration menu - View commit details
-
Copy full SHA for b01c3fc - Browse repository at this point
Copy the full SHA b01c3fcView commit details
Commits on Jun 4, 2019
-
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).
Configuration menu - View commit details
-
Copy full SHA for 0c9da5b - Browse repository at this point
Copy the full SHA 0c9da5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 647f21d - Browse repository at this point
Copy the full SHA 647f21dView commit details -
Merge remote-tracking branch 'origin/master' into enhance_replica_all…
…ocator_no_syncid
Configuration menu - View commit details
-
Copy full SHA for 4afe2c9 - Browse repository at this point
Copy the full SHA 4afe2c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7dd7ee - Browse repository at this point
Copy the full SHA a7dd7eeView commit details