| 6 Dec 2025 |
0x4fbb09 it/its ⛯✇ΘΔ | that's what https://sqlite.org/wal.html implies | 11:42:10 |
Martin Häcker | Hey, we had a discussion in the bugtracker about adding nix develop —print-phases which was rejected on the grounds that nixpkgs would need to provide the infra for that. I provided a pull request to nixpkgs to provide that which got favorable reviews, but could perhaps use one more - or someone who dares merge it (as it will trigger a rebuild of everything).
I was hoping there are some people here on the channel wo think this useful and would be willing to help?
| 11:42:41 |
0x4fbb09 it/its ⛯✇ΘΔ | wal is in general faster though yeah | 11:43:17 |
raitobezarius | In reply to @dont.wanna.tell:matrix.org
Hey, we had a discussion in the bugtracker about adding nix develop —print-phases which was rejected on the grounds that nixpkgs would need to provide the infra for that. I provided a pull request to nixpkgs to provide that which got favorable reviews, but could perhaps use one more - or someone who dares merge it (as it will trigger a rebuild of everything).
I was hoping there are some people here on the channel wo think this useful and would be willing to help?
If all comments are resolved, I will merge it for you :) | 12:10:49 |
aloisw | I expect rollback journal to be disastrously slow with the Lix store database, as it does at least one fsync per commit. You can try out yourself with the use-sqlite-wal setting if you want. | 12:14:13 |
aloisw | We're already running in NORMAL synchronous mode, which sacrifices durability (which is in most cases, including Lix, not a big deal). Turning it off completely can (on most stock filesystems) give you a corrupted database after unclean shutdown which is absolutely not what you want. | 12:16:03 |
aloisw | Yes, this is correct. Rollback journal allows any number of readers but the writer needs exclusive access. | 12:16:40 |
aloisw | raitobezarius could you test https://gerrit.lix.systems/c/lix/+/4712 in your real-world setting? Be advised that if you use the daemon, the change will also be needed there, and for whatever reason there may happen a weird deadlock during the generation switch (I need to debug that). | 12:37:02 |
raitobezarius | will do! | 12:58:29 |