[
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)