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

Session save going through despite repository being shutdown causing reindex flag to reset

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.23, 1.2.8, 1.3.9, 1.4
    • core
    • None

    Description

      In some scenarios it can happen then repository instance has been shutdown and removed from OSGi service registry but NodeStore is still active. In such case if any thread has access to a JCR session instance then any commit done via that session would still go through.

      This causes issues as upon repository shutdown the whiteboard based trackers would have lost any editor, validators and hence such commit can lead to invalid data being committed.

      Also in some cases it can lead to reindex flag for various sync indexes getting reset to true as backing index editors are not present during the commit

      Attachments

        1. OAK-3513-1.patch
          3 kB
          Chetan Mehrotra

        Issue Links

          Activity

            People

              chetanm Chetan Mehrotra
              chetanm Chetan Mehrotra
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: