puzzling bug
authorJoey Hess <joeyh@joeyh.name>
Fri, 20 Sep 2024 20:53:40 +0000 (16:53 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 20 Sep 2024 20:53:40 +0000 (16:53 -0400)
doc/todo/git-annex_proxies.mdwn

index b105a8d42738a59848932f8382bc338a736fc57a..a1c19f013bd50d22e40aeb4cda391c991e11acb6 100644 (file)
@@ -30,6 +30,43 @@ Planned schedule of work:
 
 * Currently working in [[todo/proving_preferred_content_behavior]]
 
+* sim: updateSimRepoState turns out to call preferredContentSet repeatedly
+  and also preferred content changes made part way through the sim 
+  seem to not take effect. Test case is this, which should not end 
+  by getting a file into bar that it no longer wants, and which was just
+  dropped.
+
+  Note that this test case does not behave this way if the final
+  step is run in a separate git-annex sim command. It's only when
+  it's run by git-annex sim start that it does.
+
+seed 5338836154135478106
+init foo
+init bar
+connect foo <-> bar
+addmulti 10 testfile 100.0kB 10.0MB foo
+wanted bar anything
+wanted foo anything
+step 20
+present bar 6testfile
+present bar 7testfile
+present bar 9testfile
+present bar 3testfile
+present bar 10testfile
+present bar 8testfile
+present bar 2testfile
+present bar 5testfile
+present bar 1testfile
+present bar 4testfile
+step 3
+wanted bar nothing
+step 3
+notpresent bar 7testfile
+notpresent bar 4testfile
+notpresent bar 9testfile
+step 1
+present bar 9testfile
+
 * bug sim step does not detect stabalization. Seems to keep getting files
   that are already in a repo.