jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Updated] (OAK-543) PutTokenImpl not thread safe
Date Tue, 08 Jan 2013 16:26:12 GMT

     [ https://issues.apache.org/jira/browse/OAK-543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Dürig updated OAK-543:
------------------------------

    Attachment: OAK-543.patch

Proposed 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
>         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

Mime
View raw message