You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2015/10/13 11:40:05 UTC

[jira] [Created] (OAK-3513) Session save going through despite repository being shutdown

Chetan Mehrotra created OAK-3513:
------------------------------------

             Summary: Session save going through despite repository being shutdown
                 Key: OAK-3513
                 URL: https://issues.apache.org/jira/browse/OAK-3513
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: core
            Reporter: Chetan Mehrotra
            Priority: Minor
             Fix For: 1.3.9, 1.0.23, 1.2.8


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)