Skip to content
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

Restore of indices that are only partially available in the cluster #8341

Merged

Conversation

imotov
Copy link
Contributor

@imotov imotov commented Nov 4, 2014

Fixes the issue with restoring of an index that had only some of its primary shards allocated before it was closed.

Fixes #8224

@imotov imotov added :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >bug review v1.5.0 v2.0.0-beta1 v1.4.1 labels Nov 4, 2014
if (logger.isDebugEnabled()) {
logger.debug("[{}][{}]: not allocating, number_of_allocated_shards_found [{}], required_number [{}]", shard.index(), shard.id(), numberOfAllocationsFound, requiredAllocation);
}
} else {
Copy link
Contributor

Choose a reason for hiding this comment

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

can this be else if saves a line or two

@s1monw
Copy link
Contributor

s1monw commented Nov 9, 2014

left a cosmetic comment LGTM otherwise

@s1monw s1monw removed the review label Nov 9, 2014
…e in the cluster

Fixes the issue with restoring of an index that had only some of its primary shards allocated before it was closed.

Fixes elastic#8224
@imotov imotov force-pushed the issue-8224-restore-with-missing-local-shards branch from 158f727 to b0dde6e Compare November 18, 2014 00:25
@imotov imotov merged commit b0dde6e into elastic:master Nov 18, 2014
@s1monw
Copy link
Contributor

s1monw commented Nov 21, 2014

@imotov should this go into 1.3 as well?

@clintongormley clintongormley changed the title Snapshot/Restore: restore of indices that are only partially available i... Restore of indices that are only partially available in the cluster Jun 8, 2015
@imotov imotov deleted the issue-8224-restore-with-missing-local-shards branch May 1, 2020 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs v1.4.1 v1.5.0 v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unassigned shards after restore
2 participants