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

is there any way to revert to the previous index state before reindexing ? #267

Open
ahmedsayedabdelsalam opened this issue Nov 29, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@ahmedsayedabdelsalam
Copy link

No description provided.

@ahmedsayedabdelsalam ahmedsayedabdelsalam added the enhancement New feature or request label Nov 29, 2023
@hkulekci
Copy link
Contributor

As I know we are not keeping any state for previous index but we may check with together what we can do if you can write the logic you think.

@ahmedsayedabdelsalam
Copy link
Author

thanks for your reply, I am thinking a mechanism to failover if the new index is corrupted and we want to revert back quickly, I suggest keeping the last previous index so we can make the alias point to it in case of failure or corrupted data it will be better waiting to reindex again the previous state. what do you think?

@matchish
Copy link
Owner

matchish commented Dec 4, 2023

we switch to new index only when new index finished without errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants