(if (not (ConfigUtils/isLocalMode conf))
(reset! current-replication-count-conf (get-blob-replication-count (ConfigUtils/masterStormConfKey storm-id) nimbus)))
(reset! current-replication-count-code (get-blob-replication-count (ConfigUtils/masterStormCodeKey storm-id) nimbus))
(reset! current-replication-count-jar (get-blob-replication-count (ConfigUtils/masterStormJarKey storm-id) nimbus))))
We do not go to count the number of jar-replication in local mode, but will count the number of conf-replication. So is it a mistake that current-replication-count-conf and current-replication-count-jar in the wrong place?
If it is a bug, I will create a PR soon.