[
https://issues.apache.org/jira/browse/STORM-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14953300#comment-14953300
]
ASF GitHub Bot commented on STORM-1104:
---------------------------------------
Github user schonfeld commented on the pull request:
https://github.com/apache/storm/pull/794#issuecomment-147454281
@revans2 true, but more importantly `(if (empty? (set/difference
active-topologies (set (code-ids (:conf nimbus)))))` needs to know about the
new code-ids, otherwise new nimbuses won't go into the leader lock queue...
> Nimbus HA fails to find newly downloaded code files
> ---------------------------------------------------
>
> Key: STORM-1104
> URL: https://issues.apache.org/jira/browse/STORM-1104
> Project: Apache Storm
> Issue Type: Bug
> Components: storm-core
> Affects Versions: 0.11.0
> Reporter: Michael Schonfeld
> Assignee: Michael Schonfeld
>
> Nimbus HA using Local File System code distribution is broken. We seem to be
> "caching" the return value of `(code-ids (:conf nimbus))` in the sync-code
> method, by overriding the `code-ids` var from a method (#854 `defn
> code-ids`), to a local var (#1669 `code-ids (set (code-ids (:conf nimbus)))`).
> The problem is, that after downloading code for missing topologies, sync-code
> doesn't realize it has gotten the new missing topology files.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)