Skip to content

Conversation

s1monw
Copy link
Contributor

@s1monw s1monw commented Apr 1, 2015

Today we reuse the UUID of the source index on restore. This can create conflicts
with existing shard state on disk. This also causes multiple indices with the same
UUID. This commit preserves the UUID of an existing index or creates a new UUID for
a newly created index.

@s1monw
Copy link
Contributor Author

s1monw commented Apr 1, 2015

@imotov can you please review this?

@imotov
Copy link
Contributor

imotov commented Apr 1, 2015

LGTM

@s1monw s1monw closed this Apr 1, 2015
@s1monw s1monw force-pushed the uuid_reuse_on_restore branch from 79cff8e to dc38df2 Compare April 1, 2015 13:56
@s1monw s1monw merged commit dc38df2 into elastic:master Apr 1, 2015
@s1monw s1monw deleted the uuid_reuse_on_restore branch April 2, 2015 08:16
@clintongormley clintongormley changed the title [RESTORE] Don't reuse source index UUID on restore Don't reuse source index UUID on restore May 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants