Reynir Björnsson reynir · he/him/his
  • Joined on 2024-08-21
reynir commented on issue robur/opam-mirror#19 2024-11-18 10:52:14 +00:00
swapfs error handling: not enough space

Hmm! I would expect 1 GB to be enough (assuming defaults). Then again, that's "only" about 50 MiB per download task. Then there's up to 20 MB of unusable storage due to the blocking factor /…

reynir created pull request robur/opam-mirror#25 2024-11-18 10:23:12 +00:00
WIP: Cache only version
reynir pushed to cache at robur/opam-mirror 2024-11-18 10:21:31 +00:00
391ca131dc Cache only version
reynir created branch cache in robur/opam-mirror 2024-11-18 10:21:30 +00:00
reynir commented on pull request robur/opam-mirror#17 2024-11-08 14:34:46 +00:00
use git-kv 0.0.5+ API for to/of_octets

It would be nice to also stream from cache - but I have not figured out a nice api for that in oneffs. The problem is the checksum is over the whole data, and we can't verify it until we've read it all. I'm not sure it's desirable to stream the whole data and then find out it's corrupt /o\

reynir approved robur/opam-mirror#17 2024-11-08 14:34:46 +00:00
use git-kv 0.0.5+ API for to/of_octets

Nice! Thanks

reynir commented on pull request robur/opam-mirror#16 2024-11-05 12:52:03 +00:00
Use swapfs

Nice! Thank you for your investigation and nice work. To me the code is now simpler and seem more robust (with the http-mirage-client behavior change).

reynir created pull request robur/opam-mirror#16 2024-11-01 13:47:58 +00:00
Use swapfs
reynir pushed to swap at robur/opam-mirror 2024-11-01 13:35:32 +00:00
456340562d Use swapfs
reynir created branch swap in robur/opam-mirror 2024-11-01 13:35:31 +00:00
reynir commented on pull request robur/opam-mirror#15 2024-11-01 11:02:02 +00:00
Add a download status page, recording:

Thanks a lot!

reynir deleted branch dl-status from robur/opam-mirror 2024-11-01 11:01:53 +00:00
reynir pushed to main at robur/opam-mirror 2024-11-01 11:01:53 +00:00
f9620e9011 Merge pull request 'Add a download status page, recording:' (#15) from dl-status into main
53af2665fa record free bytes in tar archive
f40083692a tweaks
eb95821b2e Add a download status page, recording:
Compare 4 commits »
reynir merged pull request robur/opam-mirror#15 2024-11-01 11:01:52 +00:00
Add a download status page, recording:
reynir commented on pull request robur/git-kv#3 2024-10-29 11:42:10 +00:00
only use a single commit in rename

Well, it can appear if both tasks are within the change_and_push:

let* () = Store.set fs (Key.v "/foo") "value" in
Store.change_and_push fs @@ fun fs ->
Lwt.async (fun () ->
reynir approved robur/git-kv#3 2024-10-29 11:32:56 +00:00
only use a single commit in rename
reynir commented on pull request robur/git-kv#3 2024-10-29 11:32:46 +00:00
only use a single commit in rename

I opened an issue on GitHub instead: https://github.com/robur-coop/git-kv/issues/4

reynir commented on pull request robur/git-kv#3 2024-10-29 11:28:57 +00:00
only use a single commit in rename

So my worry was that we could have an unfortunate task interleaving where rename just read /foo then another task (also inside change_and_push) sets /foo to something else and then the…

reynir pushed to main at robur/git-kv 2024-10-29 11:21:19 +00:00
e2295fe0b3 Merge pull request 'Refactor test/dune and add a failing test' (!2) from batch-test into main
0b330178e1 as suggested by @reynir @dinosaure, use a single Lwt_mutex.t
681e4f2367 Add expected EOF on cram tests (otherwise, tests fails on Archlinux)
3cae0f7765 Use Lwt_{condition,mutex} instead of lwt tasks to serialize change_and_push
1327cc4f94 add comment about the reset of the waiter
Compare 13 commits »