You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/04/04 20:28:00 UTC
[jira] [Updated] (STORM-3020) Fix race condition is async localizer
[ https://issues.apache.org/jira/browse/STORM-3020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated STORM-3020:
----------------------------------
Labels: pull-request-available (was: )
> Fix race condition is async localizer
> -------------------------------------
>
> Key: STORM-3020
> URL: https://issues.apache.org/jira/browse/STORM-3020
> Project: Apache Storm
> Issue Type: Bug
> Components: storm-server
> Affects Versions: 2.0.0
> Reporter: Robert Joseph Evans
> Assignee: Robert Joseph Evans
> Priority: Major
> Labels: pull-request-available
>
> I think this impacts all of the code that uses asynclocalizer, but I need to check to be sure.
> As part of a review of a different pull request against AsyncLocalizer I noticed that requestDownloadTopologyBlobs is synchronized, but everything it does is async, but there is a race in one of the async pieces where we read from a map, and then try to update the map later, all outside of a lock.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)