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

Indexes should be automatically recreated in case of conflicts #123

Open
jupe opened this issue Oct 17, 2017 · 0 comments
Open

Indexes should be automatically recreated in case of conflicts #123

jupe opened this issue Oct 17, 2017 · 0 comments

Comments

@jupe
Copy link
Contributor

jupe commented Oct 17, 2017

Description


Enhancement

Reason to enhance/problem with existing solution
If indexes causes conflicts in new openTMI version tmi will warn about it but continue serving.
It might leads to unwanted behaviour when indexes are not what them should be.

Suggested enhancement
If some index causes conflict tmi should re-create that index from fresh to ensure that indexes are what they should be.

Pros
Indexes are always what they should be.

Cons
Might take huge amount of time to recreate indexes when collection grow a lot.
User created custom indexes might be lost if tmi drop and create them automatically.

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

No branches or pull requests

1 participant