[
https://issues.apache.org/jira/browse/APEXMALHAR-2281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chandni Singh updated APEXMALHAR-2281:
--------------------------------------
Description: 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. (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.
2. Bucket size doesn't account for entries in fileCache
)
> 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)