This commit is contained in:
Joey Hess 2022-06-28 12:22:32 -04:00
parent 6a58fd3626
commit a153480667
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,16 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2022-06-28T16:08:38Z"
content="""
This is what [[todo/do_not_count_trusted_repos_toward_mincopies]] is kind
of about; setting a repo to trusted right now is a promise that you won't
delete data from it, or will be careful when you do to sync that fact to
everywhere. If that todo got implemented, you could set all the offline
drives to trusted and git-annex drop would only need to verify 1 copy is
present on an online drive.
What I do right now is use trusted for cold storage and never drop
anything from it except in cases where I want to get rid of all copies of
some file.
"""]]

View file

@ -0,0 +1,20 @@
[[!comment format=mdwn
username="joey"
subject="""comment 2"""
date="2022-06-28T16:13:05Z"
content="""
Perhaps it would be better to leave trusted working as it does now, and
introduce a new intermediate trust level. It could be called eg, "offline".
An offline repo would count toward numcopies when not available, but
would only count toward mincopies if it happened to be available at the
time.
It might then be that there's no real need for the less safe trusted,
and users could be polled and it deprecated if so.
(This might also be a good opportunity to improve the "semitrust" name,
which would not make much sense if the list was untrust, semitrust,
offline, trust. "normal" perhaps. Would need to still accept the old name
for back-compat of course.)
"""]]