Skip to content

Conversation

@bleskes
Copy link
Contributor

@bleskes bleskes commented Mar 8, 2015

we want to make sure the recovery finished all the way to post recovery. Current check, validating the shard is either in POST_RECOVERY or STARTED is not good because the shard could be also closed if things go fast enough (like in our tests). The assertion is changed to check the shard is not left in CREATED or RECOVERING.

we want to make sure the recovery finished all the way to post recovery. Current check, validating the shard is either in POST_RECOVERY or STARTED is not good because the shard could be also closed if things go fast enough (like in our tests). The assertion is changed to check the shard is not left in CREATED or RECOVERING.
@s1monw
Copy link
Contributor

s1monw commented Mar 8, 2015

LGTM

@kimchy
Copy link
Member

kimchy commented Mar 8, 2015

++

@bleskes bleskes closed this in 67df205 Mar 8, 2015
bleskes added a commit that referenced this pull request Mar 8, 2015
we want to make sure the recovery finished all the way to post recovery. Current check, validating the shard is either in POST_RECOVERY or STARTED is not good because the shard could be also closed if things go fast enough (like in our tests). The assertion is changed to check the shard is not left in CREATED or RECOVERING.

Closes #10028
@bleskes bleskes deleted the assert_gateway branch March 8, 2015 18:01
@clintongormley clintongormley added :Distributed Indexing/Recovery Anything around constructing a new shard, either from a local or a remote source. and removed review labels Mar 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>bug :Distributed Indexing/Recovery Anything around constructing a new shard, either from a local or a remote source. v1.5.0 v2.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants