git-annex/Database
Joey Hess 99a126bebb
added reposize database
The idea is that upon a merge of the git-annex branch, or a commit to
the git-annex branch, the reposize database will be updated. So it
should always accurately reflect the location log sizes, but it will
often be behind the actual current sizes.

Annex.reposizes will start with the value from the database, and get
updated with each transfer, so it will reflect a process's best
understanding of the current sizes.

When there are multiple processes all transferring to the same repo,
Annex.reposize will not reflect transfers made by the other processes
since the current process started. So when using balanced preferred
content, it may make suboptimal choices, including trying to transfer
content to the repo when another process has already filled it up.
But this is the same as if there are multiple processes running on
ifferent machines, so is acceptable. The reposize will eventually
get an accurate value reflecting changes made by other processes or in
other repos.
2024-08-12 11:19:58 -04:00
..
Keys sqlite datbase for importfeed 2023-10-23 16:46:22 -04:00
Benchmark.hs filter out control characters in error messages 2023-04-10 13:50:51 -04:00
ContentIdentifier.hs update 2024-03-08 14:32:29 -04:00
Export.hs sqlite datbase for importfeed 2023-10-23 16:46:22 -04:00
Fsck.hs enable TypeOperators 2023-08-01 18:33:39 -04:00
Handle.hs run codespell throughout fixing typos automagically 2024-05-01 15:46:21 -04:00
ImportFeed.hs speed up populating the importfeed database 2023-10-25 13:00:17 -04:00
Init.hs use RawFilePath for opening sqlite databases 2023-12-26 18:31:52 -04:00
Keys.hs run codespell throughout fixing typos automagically 2024-05-01 15:46:21 -04:00
Queue.hs added reposize database 2024-08-12 11:19:58 -04:00
RawFilePath.hs avoid build warnings 2023-12-26 19:39:01 -04:00
RepoSize.hs added reposize database 2024-08-12 11:19:58 -04:00
Types.hs sqlite datbase for importfeed 2023-10-23 16:46:22 -04:00
Utility.hs Sped up sqlite inserts 2x when built with persistent 2.14.5.0 2023-03-31 14:38:25 -04:00