Details
-
Story
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
As a user, I want to know when a node that I've created has been indexed so that I can start using it.
Generalization: As a user, I want to know when everything created before timestamp T0 has been indexed.
Ideal solution: MBean operation bool isIndexedBefore(long timestamp) that returns true if everything created before timestamp has been indexed (by all indexers).
Current options:
- check IndexStatsMBean for Start and Done to determine if a cycle has started after adding the node and has finished. Issue: there can be multiple async indexers.
OAK-3606proposes a solution. - add a node and search for it until it is retrieved. Issue: must add different nodes for different indexers and wait for all.
These options are not precise (give false positives) and are not resilient to changes in indexing strategy (e.g. adding one more indexer breaks the checks).
Attachments
Issue Links
- relates to
-
OAK-3606 Improvements for IndexStatsMBean usage
- Closed