summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-03-13 00:01:23 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-03-13 00:01:23 -0400
commitd1b3a58ac750578d4c8986dead4bcd6a137fc023 (patch)
tree759cb91a8becb05aa69b2990ca0c40f677077ad5
parent31ff69b0260f1ea856aff3fb8b56c4d99e15069b (diff)
todo
-rw-r--r--doc/design/assistant/syncing.mdwn11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/design/assistant/syncing.mdwn b/doc/design/assistant/syncing.mdwn
index fabc6edc3..95b0bf5e6 100644
--- a/doc/design/assistant/syncing.mdwn
+++ b/doc/design/assistant/syncing.mdwn
@@ -3,6 +3,17 @@ all the other git clones, at both the git level and the key/value level.
## bugs
+* Rename detection code is now pretty good, but can occasionally fail
+ due to eg system load causing the wait for the delete+add pair to
+ not collect them together. Want to avoid making the delay longer
+ (and any length might not be enough in all cases), but in direct mode
+ a failure can mean an expensive re-checksum.
+
+ Idea: Keep a ring buffer map (what data structure?) of the last
+ N delete events, and look through it to determine if the current
+ event matches one of those. This assumes that delete events come first,
+ which they do.
+
## TODO
* Test MountWatcher on LXDE.