Github user knusbaum commented on a diff in the pull request: https://github.com/apache/storm/pull/845#discussion_r43811354 --- Diff: storm-core/src/clj/backtype/storm/daemon/nimbus.clj --- @@ -1508,11 +1644,9 @@ (.set_assigned_memonheap topo-summ (get resources 3)) (.set_assigned_memoffheap topo-summ (get resources 4)) (.set_assigned_cpu topo-summ (get resources 5))) - (.set_replication_count topo-summ (if (:code-distributor nimbus) - (.getReplicationCount (:code-distributor nimbus) id) - 1)) + (.set_replication_count topo-summ (get-blob-replication-count (master-stormcode-key id) nimbus)) topo-summ - ))] + ))] --- End diff -- parens
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---