apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APEXMALHAR-2281) ManagedState: race condition with put & asyncGet
Date Mon, 10 Oct 2016 04:26:21 GMT

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

ASF GitHub Bot commented on APEXMALHAR-2281:
--------------------------------------------

GitHub user chandnisingh reopened a pull request:

    https://github.com/apache/apex-malhar/pull/444

    APEXMALHAR-2281 fixed race condition and calculation of bucket size

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/chandnisingh/apex-malhar APEXMALHAR-2281

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/apex-malhar/pull/444.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #444
    
----
commit f6127faa15a7bae024ee631bfafede08722001f2
Author: Chandni Singh <csingh@apache.org>
Date:   2016-10-07T04:35:34Z

    APEXMALHAR-2281 fixed race condition with put and asyncGet

----


> ManagedState: race condition with put & asyncGet
> ------------------------------------------------
>
>                 Key: APEXMALHAR-2281
>                 URL: https://issues.apache.org/jira/browse/APEXMALHAR-2281
>             Project: Apache Apex Malhar
>          Issue Type: Bug
>            Reporter: Chandni Singh
>            Assignee: Chandni Singh
>
> Race condition with put and asyncGet. put(...) inserts a bucketedValue in the flash with
value = null first. It sets the value afterwords. There is a possibility that the reader thread
will get BucketedValue from flash and read the value as null.



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

Mime
View raw message