You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by "Chandni Singh (JIRA)" <ji...@apache.org> on 2016/10/06 18:47:20 UTC
[jira] [Updated] (APEXMALHAR-2281) ManagedState: race condition
with put & asyncGet and bucket size doesn't account for entries in file
cache
[ https://issues.apache.org/jira/browse/APEXMALHAR-2281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chandni Singh updated APEXMALHAR-2281:
--------------------------------------
Description:
There are 2 bugs:
1. 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.
2. Bucket size doesn't account for entries in fileCache
was:
There are 2 bugs:
1. 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.
> ManagedState: race condition with put & asyncGet and bucket size doesn't account for entries in file cache
> ----------------------------------------------------------------------------------------------------------
>
> 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
>
> There are 2 bugs:
> 1. 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.
> 2. Bucket size doesn't account for entries in fileCache
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)