]> dgit.raspbian.org Git - git-annex.git/commitdiff
remove a TODO marker
authorJoey Hess <joeyh@joeyh.name>
Thu, 27 Jun 2024 17:36:04 +0000 (13:36 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 27 Jun 2024 17:36:04 +0000 (13:36 -0400)
I have a todo item for this outside the code

Annex/Cluster.hs

index fa831708353fdf2b883f271e364796791cc616ff..1bcfa04f1493807c7d4f2710ef51ea6fc5e40135 100644 (file)
@@ -147,7 +147,8 @@ clusterProxySelector clusteruuid protocolversion (Bypass bypass) = do
        nodecontaining nodes k = do
                locs <- S.fromList <$> loggedLocations k
                case filter (flip S.member locs . remoteUUID) nodes of
-                       -- TODO: Avoid always using same remote
+                       -- For now, pick the first node that has the
+                       -- content. Load balancing would be nice..
                        (r:_) -> return (Just r)
                        [] -> return Nothing