jackrabbit-dev mailing list archives

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

Tobias Bocanegra commented on JCR-446:
--------------------------------------

i'm a bit afraid on sychronizing the repository instance. i prefer a 'shutdown' lock around
shutdown and login.

> 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