git-annex/Database
Joey Hess 18f8d61f55
rolling total of size changes in RepoSize database
When a live size change completes successfully, the same transaction
that removes it from the database updates the rolling total for its
repository.

The idea is that when RepoSizes is read, SizeChanges will be as
well, and cached locally. Any time a change is made, the local cache
will be updated. So by comparing the local cache with the current
SizeChanges, it can learn about size changes that were made by other
processes. Then read the LiveSizeChanges, and add that in to get a live
picture of the current sizes.

Also added a SizeChangeId. This allows 2 different threads, or
processes, to both record a live size change for the same repo and key,
and update their own information without stepping on one-another's toes.
2024-08-25 10:34:47 -04:00
..
Keys sqlite datbase for importfeed 2023-10-23 16:46:22 -04:00
RepoSize plumb in LiveUpdate (WIP) 2024-08-23 16:35:12 -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 implement journalledRepoSizes 2024-08-14 13:53:24 -04:00
Init.hs use RawFilePath for opening sqlite databases 2023-12-26 18:31:52 -04:00
Keys.hs update RepoSize database from git-annex branch incrementally 2024-08-17 13:35:00 -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 rolling total of size changes in RepoSize database 2024-08-25 10:34:47 -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