lucene
lucene copied to clipboard
Throw CorruptSegmentInfoException on encountering missing segment info (_N.si) file in CheckIndex
Description
Changes:
- Throw CorruptSegmentInfoException on encountering missing segment info (_N.si) file in CheckIndex. This is a step towards enabling #7820
Decided to tackle this in smaller steps -
- Made a new (simpler) revision where we throw a more specific error on encountering missing segment info. Created a new exception
CorruptSegmentInfoException.java
- Will create a new commit (or issue?) to add in fixes and unit tests for exorciseIndex
This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the [email protected] list. Thank you for your contribution!
I edited the PR description to more accurately represent what is being done. We aren't dealing with the exorcism issue yet, but throwing the right exception on encountering missing segment info. I will tackle the final step (actually making exorcism possible) in a subsequent PR
This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the [email protected] list. Thank you for your contribution!
Thanks @gokaai -- I'll try to review soon!
If possible please try not to force-push: it removes the history of the past commits and makes it harder to see what changed on this iteration :)
Thanks @gokaai -- I'll try to review soon!
If possible please try not to force-push: it removes the history of the past commits and makes it harder to see what changed on this iteration :)
Sorry about that @mikemccand . I messed up my workspace and couldn't salvage it - I'll keep it in mind while making any new revisions.
Thanks @gokaai -- I'll try to review soon! If possible please try not to force-push: it removes the history of the past commits and makes it harder to see what changed on this iteration :)
Sorry about th
Ahh OK no worries. I experience such git
disasters myself far more often than I would hope :)
Thanks @gokaai -- I'll try to review soon! If possible please try not to force-push: it removes the history of the past commits and makes it harder to see what changed on this iteration :)
Sorry about th
Ahh OK no worries. I experience such
git
disasters myself far more often than I would hope :)
Look at what git reflog does and how it may help. It is really, really difficult to not be able to recover your work with git.
This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the [email protected] list. Thank you for your contribution!