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

RepositoryInitializer runs before the CommitHooks are in place

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.7
    • core
    • None

    Description

      The InitialContent installs a bunch of content nodes before the CommitHooks are enabled.

      This hurts the query indexes as they don't get notified about the initial content and cannot index/process it.
      I'm mostly referring to the Auth stuff that relies on a combo of initial content & queries.
      Luckily when using the PropertyIndex it does fallback to full repository traversal, which works (albeit slowly). Unfortunately I can't say the same for the lucene index).

      A bit of context here [0].

      [0] https://issues.apache.org/jira/browse/OAK-403?focusedCommentId=13486763&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13486763

      Attachments

        1. OAK-410.patch
          3 kB
          Alex Deparvu
        2. 0001-OAK-410-RepositoryInitializer-runs-before-the-Commit.patch
          3 kB
          Jukka Zitting
        3. OAK-410-v3.patch
          19 kB
          Alex Deparvu
        4. OAK-410-v4-tentative.patch
          8 kB
          Alex Deparvu
        5. OAK-410-v5.patch
          24 kB
          Alex Deparvu
        6. OAK-410-v6.patch
          24 kB
          Alex Deparvu

        Issue Links

          Activity

            People

              stillalex Alex Deparvu
              stillalex Alex Deparvu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: