Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | 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. | ||
* | Add some error handling to the cached compression management fiber | Christopher Baines | 2024-04-16 |
| | |||
* | Add some debugging output to the cached compression management fiber | Christopher Baines | 2024-04-16 |
| | |||
* | Make the number of database reader threads configurable | Christopher Baines | 2024-04-15 |
| | |||
* | Make the server parallelism configurable | Christopher Baines | 2024-04-15 |
| | | | | And drop the default to 1. | ||
* | Remove + | Christopher Baines | 2024-04-15 |
| | |||
* | Fix ever increasing recent changes metric | Christopher Baines | 2024-04-15 |
| | | | | As processed recent changes were being counted as new. | ||
* | Don't block the removal-channel when running a full pass | Christopher Baines | 2024-04-15 |
| | |||
* | Store less in memory when scheduling the removal of cached nars | Christopher Baines | 2024-04-05 |
| | |||
* | URI encode cached compression URLs | Christopher Baines | 2024-04-04 |
| | |||
* | Add more logging around scheduled removal of cached compressions | Christopher Baines | 2024-04-02 |
| | |||
* | Add check for known hash when responding to /nar requests | Christopher Baines | 2024-04-01 |
| | |||
* | Raise level of some cached compression log messages | Christopher Baines | 2024-04-01 |
| | | | | As I want to see these without lowering the log-level to DEBUG. | ||
* | 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 |
| | |||
* | Limit the frequency of the cached-compression-schedule-removal pass | Christopher Baines | 2024-03-26 |
| | |||
* | Fix option name | Christopher Baines | 2024-03-26 |
| | |||
* | Remove left over peek | Christopher Baines | 2024-03-26 |
| | |||
* | Fix argument name | Christopher Baines | 2024-03-25 |
| | |||
* | Add a fallback TTL for cached compression removals | Christopher Baines | 2024-03-25 |
| | |||
* | Improve handling of cached narinfos when deleting | Christopher Baines | 2024-03-25 |
| | |||
* | Move all the database operations for cached nars to one fiber | Christopher Baines | 2024-03-25 |
| | | | | | | The management fiber. This adds the complexity of replying from the management fiber, but hopefully having all the database operations in one place makes things simpler. | ||
* | Instrument the number of cached compression files | 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. | ||
* | Close the nar-port rather than the output-port | Christopher Baines | 2024-03-23 |
| | | | | | As we've finished reading from the nar-port, but the output-port represents the HTTP connection, and is still used. | ||
* | Update let style | Christopher Baines | 2024-03-23 |
| | |||
* | Fix scheduler variable name | Christopher Baines | 2024-03-23 |
| | |||
* | Remove with-fibers-timeout | Christopher Baines | 2024-03-23 |
| | | | | As it's unused. | ||
* | Rename with-fibers-port-timeouts to with-port-timeouts | Christopher Baines | 2024-03-23 |
| | | | | As it works with or without fibers. | ||
* | Tweak the server metrics | Christopher Baines | 2024-03-22 |
| | | | | | | Remove code in guile-prometheus, and use the new process collector. Also switch to using a non-namespaced registry for these non nar-herder specific collectors. | ||
* | Spawn cached compression fibers on the maintenance scheduler | Christopher Baines | 2024-03-15 |
| | | | | So they don't interact with the main scheduler. | ||
* | Add more TTL options | Christopher Baines | 2024-03-15 |
| | | | | | | I'm really not sure about this caching stuff, but these options should provide the flexibility to change the TTLs the nar-herder advertises gracefully. |