Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
We should add support for some form of consistency checker for Lucene indexes present in the system. These should be exposed as part of LuceneIndexMBean
boolean checkAllIndexes() String checkIndexForConsistency(String indexPath)
As part of this check we can provide 2 modes
- Normal - Under this consistency check logic would
- lookup index file names as stored under dirListing
- see if all those files are valid i.e. nodestate corresponding to those filenames are present
- see if blobIds referred by those file nodes are present and there length match the expected size
- Deep - Under this we use CheckIndex tool from Lucene
Attachments
Attachments
Issue Links
- is related to
-
OAK-6075 Oak run console script to check index consistency
- Resolved