You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Robert Joseph Evans (JIRA)" <ji...@apache.org> on 2018/04/03 15:43:00 UTC
[jira] [Created] (STORM-3020) Fix race condition is async localizer
Robert Joseph Evans created STORM-3020:
------------------------------------------
Summary: 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
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)