          (do
            ;; signal all shards of domain are done loading
            (swap! (:finished-loaders state) + (count ((:shard-states state) domain)))
-           (if open-if-no-update
+           (if update?
+             :no-update
              (open-domain local-config
                           (str (path local-dir domain))
                           (domain/host-shards (domains-info domain))))))))

         (.mostRecentVersion remote-vs))))

(defn use-cache-or-update
  ([domain domains-info global-config local-config open-if-no-update ^DownloadState state]
     (let [fs (filesystem (:hdfs-conf local-config))
           lfs (local-filesystem)
           local-dir (:local-dir local-config)

                          domains-info
                          global-config
                          local-config
                          false
                          (mk-loader-state { domain
                                            (domain/host-shards (domains-info domain)) }))))

