You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Zhengdai Hu (JIRA)" <ji...@apache.org> on 2018/07/27 15:50:00 UTC

[jira] [Created] (STORM-3162) Race condition at updateHeartbeatCache

Zhengdai Hu created STORM-3162:
----------------------------------

             Summary: Race condition at updateHeartbeatCache
                 Key: STORM-3162
                 URL: https://issues.apache.org/jira/browse/STORM-3162
             Project: Apache Storm
          Issue Type: Bug
          Components: storm-client, storm-core, storm-server
    Affects Versions: 2.0.0
            Reporter: Zhengdai Hu
             Fix For: 2.0.0


This is discovered during testing for STORM-3133. Travis-CI log can be found [here|https://travis-ci.org/apache/storm/jobs/408719153].

Specifically, updateHeartbeatCache can be invoked both by Nimbus (at `Nimbus#updateHeartBeats`) and by Supervisor (at `Nimbubs#updateCachedHeartbeatsFromWorker` at `Nimbus#updateCachedHeartbeatsFromSupervisor`), causing ConcurrentModificationException.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)