Skip to content

Remove Redundandant Loop in SnapshotShardsService#38283

Merged
original-brownbear merged 1 commit intoelastic:masterfrom
original-brownbear:fix-redundant-loop-snapshot-shards-service
Feb 4, 2019
Merged

Remove Redundandant Loop in SnapshotShardsService#38283
original-brownbear merged 1 commit intoelastic:masterfrom
original-brownbear:fix-redundant-loop-snapshot-shards-service

Conversation

@original-brownbear
Copy link
Copy Markdown
Contributor

  • This was a merge-mistake on my end I think (when handling SnapshotShardsService Simplifications #38025 ), obviously we only need to loop over the shards once not twice here to find those that we missed in INIT state (or put differently ... the else block changed here is already inside a loop over entry.shards())

* This was a merge mistake on my end I think, obviously we only need to loop over the shards once not twice here to find those that we missed in INIT state
@original-brownbear original-brownbear added >non-issue :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs v7.0.0 v6.7.0 labels Feb 3, 2019
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed

@original-brownbear
Copy link
Copy Markdown
Contributor Author

@ywelsch thanks!

@original-brownbear original-brownbear merged commit 4561f42 into elastic:master Feb 4, 2019
@original-brownbear original-brownbear deleted the fix-redundant-loop-snapshot-shards-service branch February 4, 2019 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >non-issue v6.7.0 v7.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants