Skip to content

Conversation

@DaveCTurner
Copy link
Contributor

In 7.x the default for wait_for_active_shards on a close index request
is NONE, so in cases where we want to wait for active shards we must
be explicit.

Closes #66411

In 7.x the default for `wait_for_active_shards` on a close index request
is `NONE`, so in cases where we want to wait for active shards we must
be explicit.

Closes elastic#66411
@DaveCTurner DaveCTurner added >test Issues or PRs that are addressing/adding tests :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs v7.11.0 labels Dec 15, 2020
@DaveCTurner DaveCTurner requested a review from tlrx December 15, 2020 21:32
@elasticmachine elasticmachine added the Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. label Dec 15, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

DaveCTurner added a commit that referenced this pull request Dec 15, 2020
This reverts commit 7b74522 from
`master`. The test fails for 7.x-specific reasons, see #66415 for the
fix.
@DaveCTurner
Copy link
Contributor Author

NB this only affects 7.x, no change is needed on master. I removed the AwaitsFix from master in ed4ab8c.

Copy link
Contributor

@original-brownbear original-brownbear left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM we keep running into these in snapshot tests (I guess we could extract these close spots into a method in the abstract snapshot ITs so we have it in one place at some point :))

@DaveCTurner
Copy link
Contributor Author

Thanks Armin. I'm tempted just to change the default to DEFAULT in 7.x, I think we could reasonably argue that it isn't a breaking change to wait a little longer here. I opened #66419 to discuss this further.

@DaveCTurner DaveCTurner merged commit d023367 into elastic:7.x Dec 16, 2020
@DaveCTurner DaveCTurner deleted the 2020-12-15-wait-for-active-shards-on-closing-indices branch December 16, 2020 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. >test Issues or PRs that are addressing/adding tests v7.11.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants