This commit is contained in:
Joey Hess 2024-09-23 09:38:56 -04:00
parent e9d4cef10f
commit a6b8082119
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -30,6 +30,18 @@ Planned schedule of work:
* Currently working in [[todo/proving_preferred_content_behavior]]
* sim bug: This sim file when run has initNewSimRepos run 3 times on repo foo.
While it works ok, that must be a bug, and it seems related to the bug below,
since it also calls preferredContentSet repeatedly in repo foo.
seed 5338836154135478106
init foo
init bar
wanted foo anything
connect foo <-> bar
addmulti 1 testfile 100.0kB 10.0MB foo
action bar pull foo
* 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
@ -40,6 +52,9 @@ Planned schedule of work:
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.
Also, with more thna 1 step at the end, there is a mixture of
present bar and notpresent bar. Including for the same filename.
seed 5338836154135478106
init foo
init bar
@ -67,9 +82,6 @@ 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.
* sim: For size balanced preferred content to work, getLiveRepoSizes
needs to reflect keys that were added/dropped from the repository by
earlier stages of the sim. That is not currently done, because