From 8290f70978995c946230ffd6e978dc4f08e99e02 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 18 Jun 2024 10:08:15 -0400 Subject: [PATCH] update --- doc/todo/git-annex_proxies.mdwn | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/doc/todo/git-annex_proxies.mdwn b/doc/todo/git-annex_proxies.mdwn index a85ba196c7..e35836248e 100644 --- a/doc/todo/git-annex_proxies.mdwn +++ b/doc/todo/git-annex_proxies.mdwn @@ -54,18 +54,31 @@ For June's work on [[design/passthrough_proxy]], implementation plan: * Basic proxying to special remote support (non-streaming). -* Implement upload with fanout and reporting back additional UUIDs over P2P - protocol. - * Getting a key from a cluster should proxy from one of the nodes that has it, or from the proxy repository itself if it has the key. +* Implement upload with fanout and reporting back additional UUIDs over P2P + protocol. + * On upload to a cluster, as well as fanout to nodes, if the key is preferred content of the proxy repository, store it there. (But not when preferred content is not configured.) * Implement cluster drops, trying to remove from all nodes, and returning - which UUIDs it was dropped from. + which UUIDs it was dropped from. + + Problem: May lock content on cluster + nodes to satisfy numcopies (rather than locking elsewhere) and so not be + able to drop from nodes. Avoid using cluster nodes when constructing drop + proof for cluster. + + Problem: When nodes are special remotes, may + treat nodes as copies while dropping from cluster, and so violate + numcopies. (But not mincopies.) + + Problem: `move --from cluster` in "does this make it worse" + check may fail to realize that dropping from multiple nodes does in fact + make it worse. * Support proxies-of-proxies better, eg foo-bar-baz. Currently, it does work, but have to run `git-annex updateproxy`