You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Sathwik Bantwal Premakumar (JIRA)" <ji...@apache.org> on 2015/06/13 08:57:00 UTC

[jira] [Commented] (ODE-1033) Assignment of monotonic version numbers in ProcessStore are not thread safe

    [ https://issues.apache.org/jira/browse/ODE-1033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14584485#comment-14584485 ] 

Sathwik Bantwal Premakumar commented on ODE-1033:
-------------------------------------------------

The approach is to read the version from the database once and cache it in a thread safe counter.

> Assignment of monotonic version numbers in ProcessStore are not thread safe
> ---------------------------------------------------------------------------
>
>                 Key: ODE-1033
>                 URL: https://issues.apache.org/jira/browse/ODE-1033
>             Project: ODE
>          Issue Type: Bug
>          Components: Deployment
>    Affects Versions: 1.3.6
>            Reporter: Sathwik Bantwal Premakumar
>            Assignee: Sathwik Bantwal Premakumar
>             Fix For: 1.3.7, 1.4
>
>
> While load testing, came across this issue where some of the deployment units get the same version numbers and the deployment fails.
> During concurrent deployments, the code block where the version number is retrieved and set on the deployment unit in deploy operation of ProcessStoreImpl results in returning same version numbers for multiple threads.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)