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 "Stefan Guggisberg (JIRA)" <ji...@apache.org> on 2013/01/09 11:08:13 UTC
[jira] [Resolved] (OAK-543) PutTokenImpl not thread safe
[ https://issues.apache.org/jira/browse/OAK-543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Guggisberg resolved OAK-543.
-----------------------------------
Resolution: Fixed
Fix Version/s: 0.6
fixed in svn r1430761.
thanks for providing a patch!
> PutTokenImpl not thread safe
> ----------------------------
>
> Key: OAK-543
> URL: https://issues.apache.org/jira/browse/OAK-543
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: mk
> Reporter: Michael Dürig
> Assignee: Stefan Guggisberg
> Fix For: 0.6
>
> Attachments: OAK-543.patch
>
>
> {{PutTokenImpl}} uses prefix increment on a static member to generate presumably unique identifiers. Prefix increment is not atomic though which might result in non unique ids being generated.
--
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