Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Initialise the recent changes count | Christopher Baines | 2024-03-14 |
| | |||
* | Stop updating the nar_files_total metric twice | Christopher Baines | 2024-03-14 |
| | |||
* | Instrument the recent changes count | Christopher Baines | 2024-03-14 |
| | |||
* | Instrument the recent changes limit | Christopher Baines | 2024-03-14 |
| | | | | This doesn't change, but it's useful to have the value as a metric. | ||
* | Initialise the storage metrics | Christopher Baines | 2024-03-13 |
| | | | | This used to happen, and this commit brings it back. | ||
* | Don't allow the mirror and removal channel to be unspecified | Christopher Baines | 2023-11-23 |
| | | | | As this is truthy. | ||
* | Move most functionality out of the start script | Christopher Baines | 2023-09-12 |
| | | | | As this can make debugging easier. | ||
* | Make with-fibers-port-timeouts work without fibers | Christopher Baines | 2023-09-12 |
| | | | | | As it's easy to try and use code in both contexts, so try and support that. | ||
* | Improve backtraces through call-with-cached-connection | Christopher Baines | 2023-09-12 |
| | |||
* | Update retry-on-error procedure from the Guix Build Coordinator | Christopher Baines | 2023-09-12 |
| | |||
* | Use recent changes to trigger the removal of nars | Christopher Baines | 2023-09-12 |
| | | | | | Both when the nar has been removed from the database, and to check if it should no longer be stored. | ||
* | Improve the metric handling further | Christopher Baines | 2023-09-12 |
| | | | | | This should avoid the metric being adjusted before it's been set initially. | ||
* | Remove get-nar-files | Christopher Baines | 2023-09-12 |
| | | | | As it doesn't scale well. | ||
* | Use fold-nar-files for check-storage | Christopher Baines | 2023-09-12 |
| | | | | To avoid calling get-nar-files, as this doesn't scale well. | ||
* | Add more logging around requesting recent changes | Christopher Baines | 2023-09-12 |
| | |||
* | Cleanup handling of the nar_files_total metric | Christopher Baines | 2023-09-12 |
| | |||
* | Remove the get-nar-files call from the fetch changes fiber | Christopher Baines | 2023-09-12 |
| | | | | As this is quite expensive. | ||
* | Log the procedure delayed for database operations | Christopher Baines | 2023-09-12 |
| | |||
* | Sleep on exceptions in the recent change removal fiber | Christopher Baines | 2023-09-12 |
| | |||
* | Show backtraces for fetch-file exceptions | Christopher Baines | 2023-09-12 |
| | |||
* | Make sure to use streaming http requests everywhere | Christopher Baines | 2023-09-12 |
| | | | | As this avoids blocking. | ||
* | Add some more logging | Christopher Baines | 2023-09-12 |
| | |||
* | Enforce an ordering in database-select-recent-changes | Christopher Baines | 2023-09-12 |
| | |||
* | Remove some unused imports | Christopher Baines | 2023-09-12 |
| | |||
* | Use fibers in fast-download-nars | Christopher Baines | 2023-09-12 |
| | | | | As it's within a fibers thread now. | ||
* | Use recent changes to trigger nar mirroring and removal | Christopher Baines | 2023-09-12 |
| | | | | | As this should be more efficient than repeatedly looking through all the nars in the database. | ||
* | Use fibers for the recent changes removal thread | Christopher Baines | 2023-09-12 |
| | |||
* | Use fibers timeouts for all http requests | Christopher Baines | 2023-09-12 |
| | |||
* | Add new fibers timeout utils | Christopher Baines | 2023-09-12 |
| | | | | | This depends on a tweaked version of (fibers io-wakeup), which calls select of the file descriptors, rather than the ports. | ||
* | Remove set-socket-timeout | Christopher Baines | 2023-09-12 |
| | | | | As I don't think it's useful on non blocking sockets. | ||
* | Stop using with-port-timeouts | Christopher Baines | 2023-09-12 |
| | | | | As this is incompatible with fibers. | ||
* | Move most maintenance activity to fibers | Christopher Baines | 2023-09-12 |
| | | | | | On a single separate thread. This will allow for spawning fibers for various maintenance actions. | ||
* | Correct the metric problems from introducing fold-nar-files | Christopher Baines | 2023-09-12 |
| | | | | The metrics are now updated at the end. | ||
* | Name an unnamed thread | Christopher Baines | 2023-09-08 |
| | |||
* | Name some worker threads | Christopher Baines | 2023-09-08 |
| | |||
* | Avoid fast-download-nars from calling get-nar-files | Christopher Baines | 2023-09-08 |
| | | | | As this is expensive when there are a large number of nars. | ||
* | Add fold-nar-files and use it in a few places | Christopher Baines | 2023-09-08 |
| | | | | As this should use less memory than get-nar-files. | ||
* | Add datastore-fold-all-narinfo-files | Christopher Baines | 2023-09-07 |
| | |||
* | Set thread names for worker threads | Christopher Baines | 2023-09-07 |
| | |||
* | Include metrics for ports and file descriptors | Christopher Baines | 2023-09-07 |
| | |||
* | Use call-with-duration-metric helper | Christopher Baines | 2023-09-07 |
| | |||
* | Throw some connection caching in for info requests | Christopher Baines | 2023-07-27 |
| | | | | To avoid opening a new connection for each request. | ||
* | Add better exception handling and retrying when mirroring nars | Christopher Baines | 2023-07-21 |
| | |||
* | Try to keep on top of mirroring nars | Christopher Baines | 2023-07-21 |
| | | | | Only sleep when there were no changes or exceptions. | ||
* | Drop the number of fibers threads | Christopher Baines | 2023-07-12 |
| | |||
* | Drop the socket timeout when fetching changes | Christopher Baines | 2023-07-12 |
| | | | | As I'm still seeing this hang. | ||
* | Log just before querying for recent changes | Christopher Baines | 2023-07-08 |
| | |||
* | Cleanup temp files on exceptions when generating cached compressions | Christopher Baines | 2023-07-08 |
| | |||
* | Name some more threads | Christopher Baines | 2023-07-08 |
| | |||
* | Set low level timeouts for HTTP requests | Christopher Baines | 2023-06-30 |
| | | | | To try to avoid things getting stuck. |