jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-446) Prevent logins during repository shutdown
Date Wed, 31 May 2006 10:51:30 GMT
    [ http://issues.apache.org/jira/browse/JCR-446?page=comments#action_12414027 ] 

Jukka Zitting commented on JCR-446:
-----------------------------------

Sorry, I was looking at an older version of RepositoryImpl. The JCR-445 changes modified the
synchronization in RepositoryImpl, so my point about wspInfos is already being taken care
of. Thanks, Toby! :-)

The login/shutdown issue still exists, and it looks as if a 'shutdown' lock would be the best
solution with the current approach to synchronization. The issue isn't too urgent though,
so consider this low priority for now.

> Prevent logins during repository shutdown
> -----------------------------------------
>
>          Key: JCR-446
>          URL: http://issues.apache.org/jira/browse/JCR-446
>      Project: Jackrabbit
>         Type: Improvement

>   Components: core
>     Versions: 1.0, 1.0.1, 0.9
>     Reporter: Jukka Zitting
>     Priority: Minor

>
> Related to the last comment in JCR-445, should we prevent new sessions from being created
during repository shutdown? It is an odd chance to run into a problem like that, but it seems
like the issue could be easily solved by making getWorkspaceInfo() synchronized and adding
sanityCheck() calls to the createSession() methods.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message