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

Add multi data.path to migration guide #10770

Merged
merged 1 commit into from
Apr 29, 2015

Conversation

s1monw
Copy link
Contributor

@s1monw s1monw commented Apr 24, 2015

this commit removes the obsolete settings for distributors and updates
the documentation on multiple data.path. It also adds an explain to the
migration guide.

@s1monw s1monw added >docs General docs changes review labels Apr 24, 2015
elasticsearch will upgrade shards into a single data location on first node startup. In the case where
there is not enough disk space to upgrade the node the upgarde is canceled and can only be resumed onces
enough disk space is abvailable to copy the shard to upgrade.

Copy link
Contributor

Choose a reason for hiding this comment

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

=== Multiple data.path striping

Previously, if the `data.path` setting listed multiple data paths, then a
shard would be ``striped'' across all paths by writing a whole file to each
path in turn (in accordance with the `index.store.distributor` setting).  The
result was that the files from a single segment in a shard could be spread
across multiple disks, and the failure of any one disk could corrupt multiple
shards.

This striping is no longer supported.  Instead, different shards may be
allocated to different paths, but all of the files in a single shard will be
written to the same path.

If striping is detected while starting Elasticsearch 2.0.0 or later, all of
the files belonging to the same shard will be migrated to the same path. If
there is not enough disk space to complete this migration, the upgrade will be
cancelled and can only be resumed once enough disk space is made available.

Copy link
Contributor

Choose a reason for hiding this comment

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

The `index.store.distributor` setting has also been removed.

@s1monw
Copy link
Contributor Author

s1monw commented Apr 28, 2015

@clintongormley pushed a new commit

@clintongormley
Copy link
Contributor

LGTM

this commit removes the obsolete settings for distributors and updates
the documentation on multiple data.path. It also adds an explain to the
migration guide.

Relates to elastic#9498
Closes elastic#10770
@s1monw s1monw force-pushed the multi_data_path_docs branch from f259927 to 94d8b20 Compare April 29, 2015 09:53
@s1monw s1monw merged commit 94d8b20 into elastic:master Apr 29, 2015
@s1monw s1monw removed the review label Apr 29, 2015
@s1monw s1monw deleted the multi_data_path_docs branch April 29, 2015 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>docs General docs changes v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants