Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-3694

As a user, I want to know when a node that I've created has been indexed.

    XMLWordPrintableJSON

Details

    • Story
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • 1.4
    • 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:

      1. 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-3606 proposes a solution.
      2. 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

          Activity

            People

              chetanm Chetan Mehrotra
              volteanu Valentin Olteanu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: