You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2013/04/17 15:49:16 UTC
[jira] [Created] (JCR-3573) Improve token based login concurrency
Marcel Reutegger created JCR-3573:
-------------------------------------
Summary: Improve token based login concurrency
Key: JCR-3573
URL: https://issues.apache.org/jira/browse/JCR-3573
Project: Jackrabbit Content Repository
Issue Type: Improvement
Components: jackrabbit-core
Reporter: Marcel Reutegger
Priority: Minor
Currently TokenBasedAuthentication.createToken() is synchronized and therefore serializes creation of tokens repository wide.
Removing the synchronization shows test failures because the .tokens node is created concurrently by multiple sessions. Instead of serializing the calls, we could also use an optimistic approach. See attached patch. All tests pass.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira