Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Open schema and label indexes in read only mode in case database star…
…ted in read only mode Using lucene index in write mode can cause index corruption/complete deletion in cases if user code use/rely on interrupts. To avoid such cases as much as possible indexes will be opened in read only mode in case if database was started with read only mode (not in ha and core edge cases since we still need to write into index while we catching up) As result after interruption lucene will raise ClosedByInterruptException exception as soon as code will try to get something from index again, but index itself will be untouched.
- Loading branch information
1 parent
229c37b
commit 2770c54
Showing
63 changed files
with
2,047 additions
and
424 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.