summaryrefslogtreecommitdiff
path: root/doc/design/requests_routing.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-05-06 17:53:22 -0300
committerGravatar Joey Hess <joey@kitenet.net>2014-05-06 17:53:22 -0300
commit11af24f67957861362381508e088fea65a858447 (patch)
tree43c0178eb44cdbf648997df30910389f28103dc1 /doc/design/requests_routing.mdwn
parent3f289cc866bf96a3a258d0b4bb9e87e2ab15c568 (diff)
devblog
Diffstat (limited to 'doc/design/requests_routing.mdwn')
-rw-r--r--doc/design/requests_routing.mdwn24
1 files changed, 20 insertions, 4 deletions
diff --git a/doc/design/requests_routing.mdwn b/doc/design/requests_routing.mdwn
index f3cc49ca8..27ab6f372 100644
--- a/doc/design/requests_routing.mdwn
+++ b/doc/design/requests_routing.mdwn
@@ -28,15 +28,31 @@ Currently:
time 0|1 uuid1
time 0|1 uuid2
-* Use negative numbers for the TTL of a request.
+* Use negative numbers for the TTL of a request:
+
+ time -3! uuid1
+ time -2 uuid2
+
+ The `!` indicates that the request originated on
+ that node.
* To propigate a request, set -1 * (TTL+1) in the line
- for the uuid of the repository that is propigating it.
- This should be done as part of the git-annex branch merging,
+ for the uuid of the repository that is propigating it.
+ This should be done as part of the git-annex branch merge,
so if a location tracking file is merged, any open requests
- get propigated to the current repository.
+ get propigated to the current repository automatically.
* When a requested file reaches a node that requested it,
the location is set to 1; this automatically clears the
request.
+* When a file has no more originating requests, clear all
+ the copied requests:
+
+ time 1 uuid1
+ time -2 uuid2
+
+ Becomes:
+
+ time 1 uuid1
+ time' 0 uuid2
## generating requests