added suggestion re: hardening git-annex against interruptions
This commit is contained in:
parent
7ad95210d1
commit
27df3f8e88
1 changed files with 6 additions and 0 deletions
6
doc/todo/harden_against_interruptions.mdwn
Normal file
6
doc/todo/harden_against_interruptions.mdwn
Normal file
|
@ -0,0 +1,6 @@
|
|||
From [another thread](https://git-annex.branchable.com/todo/add_option_to_use_sqlite__39__s_synchronous__61__OFF/#comment-dbc9fdf5fd6d73f3e628bfe94b2a43a2):
|
||||
|
||||
>Quite possible there are situations where it fails to recover the lost information and does something annoying. But like I said, such situations can already happen
|
||||
|
||||
Maybe, there are some simple ways to harden git-annex against possible weirdness following abrupt interruptions? E.g. using flag files to detect when a prior operation got interrupted,
|
||||
and rebuilding the sqlite dbs from git data. Or tagging sqlite records with the timestamp of their creation, and not using the data if the relevant worktree files got modified since then.
|
Loading…
Reference in a new issue