Skip to content

Conversation

@original-brownbear
Copy link
Contributor

  • Fixes the issue reproduced in the added tests:
    • When having open index requests on a shard that are waiting for a refresh, relocating that shard
      becomes blocked until that refresh happens (which could be never as in the test scenario).
  • Fixed by:
    • Before trying to aquire all permits for relocation, refresh if there are outstanding operations

Backport of #36835

…#36835)

* Fixes the issue reproduced in the added tests:
   * When having open index requests on a shard that are waiting for a refresh, relocating that shard
becomes blocked until that refresh happens (which could be never as in the test scenario).
@original-brownbear original-brownbear added >bug :Distributed Indexing/Distributed A catch all label for anything in the Distributed Indexing Area. Please avoid if you can. backport labels Dec 28, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

@original-brownbear
Copy link
Contributor Author

Jenkins run gradle build tests 1 please

@original-brownbear original-brownbear merged commit 28df3d9 into elastic:6.x Dec 28, 2018
@original-brownbear original-brownbear deleted the 36835-6.x branch December 28, 2018 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport >bug :Distributed Indexing/Distributed A catch all label for anything in the Distributed Indexing Area. Please avoid if you can.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants