sim: document interruption and concurrency issues

Does not seem worth doing a lot of locking and detection of these
problems.
This commit is contained in:
Joey Hess 2024-09-26 12:26:47 -04:00
parent 783e910d0c
commit 99236376e7
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 5 additions and 5 deletions

View file

@ -38,6 +38,11 @@ As a convenience, to run a sim from a file, and then stop it, use
"git-annex sim run". If there is a problem running the sim, it will be
shown before it is stopped.
Note that interrupting this command while it is running may leave the
simulation in an inconsistent state. And running multiple sim commands at
the same time can as well, although it is safe to run "git annex sim visit"
while running other sim commands.
# THE SIM FILE
This text file is used to configure the simulation and also to report on

View file

@ -30,11 +30,6 @@ Planned schedule of work:
* Currently working in [[todo/proving_preferred_content_behavior]].
* The sim cannot be safely interrupted, or two processes be run
concurrently. Both unlike other git-annex commands. Either document these
limitations, or add locking and make it detect when it was interrupted
and re-run the sim from the start to resume.
## completed items for September's work on proving behavior of preferred content
* Static analysis to detect "not present", "not balanced", and similar