Jukka Zitting created OAK-149:
---------------------------------

             Summary: Automatic session refresh after namespace registry changes
                 Key: OAK-149
                 URL: https://issues.apache.org/jira/browse/OAK-149
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: jcr
            Reporter: Jukka Zitting
            Priority: Minor


The registerNamespace() and unregisterNamespace() methods of NamespaceRegistry 
should cause the session from which the registry instance was acquired to 
refresh its state. Otherwise code that first registers a new namespace and then 
tries to use it might end up failing because the session is still seeing and 
older version of the content tree. Potential other sessions should remain as 
they are and only start seeing the modified namespaces once they're separately 
refreshed.

PS. Similar refresh requirements probably also affect things like node type 
registration, versioning, direct-to-workspace writes, etc.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to