Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Wrap more with call-with-cached-connectionHEADmaster | Christopher Baines | 2024-10-16 |
| | | | | To close the connection in case of errors. | ||
* | Wrap more of check-removal-criteria in retry-on-error | Christopher Baines | 2024-10-16 |
| | | | | As this wasn't catching exceptions in json->scm. | ||
* | Expire database connections on exceptions | Christopher Baines | 2024-10-05 |
| | | | | As this might help avoid odd SQLite issues. | ||
* | Tweak dump database | Christopher Baines | 2024-10-05 |
| | |||
* | Fix deleting recent changes | Christopher Baines | 2024-10-05 |
| | |||
* | Allow specifying the minimum free space | Christopher Baines | 2024-06-23 |
| | |||
* | Strip the database dump | Christopher Baines | 2024-06-22 |
| | | | | | Of data in tables where the data shouldn't be copied automatically to mirrors. | ||
* | Check nar file sizes on import | Christopher Baines | 2024-06-15 |
| | |||
* | Insert the narinfo record before moving the nar | Christopher Baines | 2024-06-15 |
| | | | | | So that if inserting the narinfo record fails, the nars won't be moved. | ||
* | Fix make-wait-operation for use with port-poll | Christopher Baines | 2024-06-15 |
| | |||
* | Use port-poll rather than select | Christopher Baines | 2024-06-15 |
| | | | | Following a similar change in the build coordinator. | ||
* | Update removal criteria comment | Christopher Baines | 2024-06-15 |
| | |||
* | Make the removal channel work without removal criteria | Christopher Baines | 2024-06-13 |
| | |||
* | Don't use the recent changes fiber when mirroring | Christopher Baines | 2024-06-13 |
| | | | | | Because this overcomplicates things. Have the fetch changes fiber trigger actions instead. | ||
* | Fix running both the nar removal and mirroring fiber | Christopher Baines | 2024-06-13 |
| | |||
* | Add more logging when checking if a nar can be removed | Christopher Baines | 2024-06-13 |
| | |||
* | Index narinfo_files (url) | Christopher Baines | 2024-06-12 |
| | | | | As this is needed by database-select-narinfo-for-file. | ||
* | Instrument request loops | Christopher Baines | 2024-06-12 |
| | |||
* | Include the pid in the starting server message | Christopher Baines | 2024-06-12 |
| | | | | As this can be useful to see what process the log line relates to. | ||
* | Fix X-Accel-Redirect not matching the narinfo | Christopher Baines | 2024-06-10 |
| | |||
* | Handle there not being a compression in the nar URI | Christopher Baines | 2024-06-07 |
| | |||
* | Add missing uri-decode | Christopher Baines | 2024-06-05 |
| | |||
* | Always create the nar removal channel | Christopher Baines | 2024-06-05 |
| | | | | As this manages the metrics. | ||
* | Revert "Don't strip the Via header" | Christopher Baines | 2024-06-05 |
| | | | | | | As it's changing the response headers, which don't mean anything here. This reverts commit 2b8e87602bb3a43089b2303378c864da6533799d. | ||
* | Don't strip the Via header | Christopher Baines | 2024-06-01 |
| | |||
* | Add Via header logging | Christopher Baines | 2024-06-01 |
| | | | | As this is important for avoiding request cycles. | ||
* | Fix removing cached narinfo files from the db | Christopher Baines | 2024-05-20 |
| | |||
* | Move nars to storage when importing narinfos | Christopher Baines | 2024-05-19 |
| | | | | If they're not in the storage directory. | ||
* | Update metrics after processing changes | Christopher Baines | 2024-05-13 |
| | | | | | As this gets less confused if processing the changes fails and is repeated. | ||
* | Show backtraces for exceptions in the recent change listener | Christopher Baines | 2024-05-13 |
| | |||
* | Fix with-port-timeouts without fibers | Christopher Baines | 2024-05-13 |
| | |||
* | Simplify output when importing a single narinfo | Christopher Baines | 2024-05-11 |
| | |||
* | Fix with-port-timeout exceptions | Christopher Baines | 2024-05-11 |
| | |||
* | Set %file-port-name-canonicalization to 'none | Christopher Baines | 2024-05-11 |
| | | | | As this reduces syscalls. | ||
* | Count new files appropriately | Christopher Baines | 2024-05-09 |
| | | | | Rather than assuming they're not stored. | ||
* | Stop double counting new nar files | Christopher Baines | 2024-04-28 |
| | | | | This is handled by listening for recent changes now. | ||
* | Guard against trying to fetch things twice | Christopher Baines | 2024-04-27 |
| | |||
* | Make get-storage-size friendly to other fibers | Christopher Baines | 2024-04-27 |
| | |||
* | Fix the nar_files metric not being updated correctly | Christopher Baines | 2024-04-27 |
| | |||
* | Revert "Don't initialize storage metrics if there's no storage" | Christopher Baines | 2024-04-27 |
| | | | | | | As this is fine now. This reverts commit fb764aa513efd206e175a1c52d737e1e934c3ca1. | ||
* | Remove metrics-registry argument from fold-nar-files | Christopher Baines | 2024-04-27 |
| | | | | As it's unused. | ||
* | Allow storage-root to be #f when calling fold-nar-files | Christopher Baines | 2024-04-27 |
| | | | | To allow populating metrics when running with no storage. | ||
* | Don't initialize storage metrics if there's no storage | Christopher Baines | 2024-04-25 |
| | |||
* | Fix for guile-lib v0.2.8 | Christopher Baines | 2024-04-19 |
| | | | | | | | | | I'm not sure quite what's changed, but it seems like the way the formatter is being called has changed in a backwards incompatible way. To maintain compatability with both older and newer versions of guile-lib, accept the formatter being called with extra arguments, and just look at the first three. | ||
* | 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. | ||
* | Fix use of alist-cons | Christopher Baines | 2024-04-16 |
| | |||
* | Guard against recent-changes being null | Christopher Baines | 2024-04-16 |
| | |||
* | Add exception handling to the addition processing channel | Christopher Baines | 2024-04-16 |
| | |||
* | Log the recent changes as they're processed | Christopher Baines | 2024-04-16 |
| | | | | So I can check this is happening. |