-
Notifications
You must be signed in to change notification settings - Fork 40
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
Different behaviors for start index in primary and replica #116
Comments
@sarthakn7 I was not able to reproduce either of the behavior you mention above. These are the steps I tried to reproduce the scenarios you mention: Replica start index in restore mode as replica stop index start index without restore Logs. Also verified using v1/indices Primary start index restore mode as primary stop index start index non restore mode as primary logs |
More detailed steps to reproduce:
For primary: For replica: |
1 ensures that we delete all local state and index data. Both 3 for primary and replica are bad inputs since we are essentially saying "I have my previous state use that and start the indexes I know of." We assume the index dir is present at this time.
Stack Trace on failure to create IndexWriter (for primary:3 above)
So I think we can deal with this as a bad user input. That is if we
|
@umeshdangat yes that makes sense 👍 |
Following are the results when nrtsearch is started with restored state and start index is called:
The text was updated successfully, but these errors were encountered: