Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Show backtraces for exceptions in transactions | Christopher Baines | 2024-04-19 |
| | |||
* | Improve database-call-with-transaction | Christopher Baines | 2024-04-19 |
| | | | | By copying from the build coordinator. | ||
* | Make the number of database reader threads configurable | Christopher Baines | 2024-04-15 |
| | |||
* | Instrument the database and WAL file size | Christopher Baines | 2024-04-01 |
| | |||
* | Track the number of cached nars scheduled for removal | Christopher Baines | 2024-03-27 |
| | |||
* | Improve handling of cached narinfos when deleting | Christopher Baines | 2024-03-25 |
| | |||
* | Rework the cached compressions system | Christopher Baines | 2024-03-25 |
| | | | | | | | | | | | | | The initial implementation was flawed since guix assumes that any compression mentioned in the narinfo will be available for the lifetime of the narinfo, and the nar-herder was deleting cached compressions without taking this in to account. This commit adds support for scheduling the removal of a cached compression and this schedule is used to inform the TTLs for narinfos. I'm unsure of the value in caching narinfos so maybe some of this complexity can be removed in the future. | ||
* | Initialise the recent changes count | Christopher Baines | 2024-03-14 |
| | |||
* | Use fold-nar-files for check-storage | Christopher Baines | 2023-09-12 |
| | | | | To avoid calling get-nar-files, as this doesn't scale well. | ||
* | Log the procedure delayed for database operations | Christopher Baines | 2023-09-12 |
| | |||
* | Enforce an ordering in database-select-recent-changes | Christopher Baines | 2023-09-12 |
| | |||
* | Name some worker threads | Christopher Baines | 2023-09-08 |
| | |||
* | Add datastore-fold-all-narinfo-files | Christopher Baines | 2023-09-07 |
| | |||
* | Use call-with-duration-metric helper | Christopher Baines | 2023-09-07 |
| | |||
* | Stop mmap'ing the database | Christopher Baines | 2023-05-30 |
| | | | | | I don't think I fully understand the implications of this yet, in particular how this affects system memory usage. | ||
* | Make more logging output from the database module atomic | Christopher Baines | 2023-05-29 |
| | | | | So that it's easier to read. | ||
* | Log the duration of long database operations | Christopher Baines | 2023-05-20 |
| | |||
* | Remove trailing comma | Christopher Baines | 2023-05-17 |
| | |||
* | Record when a narinfo is added | Christopher Baines | 2023-05-17 |
| | | | | As this will enable removing nars by date added. | ||
* | Enable SQLite to mmap the database file | Christopher Baines | 2023-05-17 |
| | | | | | At least part of it, I think SQLite in Guix is limited to mmap'ing 2GiB. | ||
* | Speed up removing narinfos | Christopher Baines | 2023-02-06 |
| | | | | Using database-select-narinfo-by-hash will use an index. | ||
* | Don't error when removing files that don't exist | Christopher Baines | 2023-02-06 |
| | | | | This is useful when removing in bulk and restarting the process. | ||
* | Create some indexes on tags and references | Christopher Baines | 2023-02-06 |
| | | | | As this will speed up removing narinfos. | ||
* | Handle busy databases in database-call-with-transaction | Christopher Baines | 2023-02-06 |
| | |||
* | Fix some indentation | Christopher Baines | 2023-02-06 |
| | |||
* | Remove the narinfo id from the narinfo_files query | Christopher Baines | 2023-02-03 |
| | | | | As this is now an unused hack. | ||
* | Add procedure to select narinfo details by hash | Christopher Baines | 2023-02-03 |
| | |||
* | Remove trailing comma from the initial database SQL | Christopher Baines | 2023-02-02 |
| | |||
* | Fix the type of the cached narinfo compression when removing | Christopher Baines | 2023-01-31 |
| | |||
* | Remove cached narinfo file database entries when removing nars | Christopher Baines | 2023-01-31 |
| | |||
* | Change the worker threads to allow nesting calls | Christopher Baines | 2023-01-16 |
| | |||
* | Add experimental support for cached compressions | Christopher Baines | 2023-01-16 |
| | | | | | | This adds optional caching for alternative compressions of stored nars. You could store lzip nars for example, but then compute, cache and provide zstd nars for some stored nars. | ||
* | Extract out table-exists? | Christopher Baines | 2022-11-29 |
| | |||
* | Add index on narinfo_files.narinfo_id | Christopher Baines | 2022-06-24 |
| | | | | | This is important for finding narinfo_files by narinfo, which happens in database-select-narinfo-files. | ||
* | Add some instrumentation around the database | Christopher Baines | 2022-06-24 |
| | |||
* | Increase the maximum size of the reader thread pool | Christopher Baines | 2022-06-24 |
| | | | | As I think this might be a bottleneck. | ||
* | Support removing nar files | Christopher Baines | 2022-05-06 |
| | |||
* | Support inserting tags when inserting narinfos | Christopher Baines | 2022-03-13 |
| | | | | | | This is the beginning of implementing support for tagging. The communicating of tags through changes still needs implementing. | ||
* | Keep the change datetimes consistent when mirroring | Christopher Baines | 2022-02-15 |
| | | | | | As this ensures that changes aren't missed when the mirror inserts things later than the origin. | ||
* | Regularly update the database dump and delete recent changes | Christopher Baines | 2021-12-29 |
| | |||
* | Limit the number of recent changes returned | Christopher Baines | 2021-12-29 |
| | | | | So that requests for recent changes don't time out. | ||
* | Fix and test removing nars | Christopher Baines | 2021-12-14 |
| | |||
* | Add missing sqlite-bind-arguments in database-select-narinfo-files | Christopher Baines | 2021-12-14 |
| | |||
* | Fix database-select-latest-recent-change-datetime | Christopher Baines | 2021-12-13 |
| | |||
* | Get most of the functionality sort of working | Christopher Baines | 2021-12-12 |
At least working enough to start trying this out, and finding the problems. |