Description
At times it is seen that reindex flag for property indexes is getting reset to true. As per analysis by alex.parvulescu it happens due to the order in which repository gets started and PropertyIndexEditorProvider gets registered.
If the editor is registered after repository got started then missing index provider for the 'property' type will silently set all the existing property index definitions reindex flags to true.
After some offline discussion it was decided that proper fix here would be to ensure that repository is only started after property index editor gets registered. This would ensure that the whiteboard tracker would be opened in that activate itself after the provider is registered and it is ensured that if a tracker is opened it gets access to already registered services without any delay. This would avoid any scenario where commit happens without any property index editor being present
Attachments
Attachments
Issue Links
- is related to
-
OAK-3513 Session save going through despite repository being shutdown causing reindex flag to reset
- Closed
-
OAK-3505 Provide an optionally stricter policy for missing synchronous index editor providers
- Closed
-
OAK-4160 Expose type property for ReferenceEditorProvider
- Closed
- relates to
-
OAK-3325 MissingIndexProviderStrategy should warn when setting the reindex flag
- Closed