| 12 Aug 2023 |
Wanja Hentze | in my professional opinion distributed transactions don't really work | 21:56:53 |
Wanja Hentze | but I'm happy to be proven wrong | 21:57:05 |
Wanja Hentze | you can pull them off with a consensus algorithm but I don't want my deployments to be a CP (in terms of CAP) | 21:58:19 |
Wanja Hentze | * you can pull them off with a consensus algorithm but I don't want my deployments to be a CP system (in terms of CAP) | 21:58:38 |
raitobezarius | I don't think the feature should be implemented in the deployment system | 22:31:03 |
raitobezarius | Magic rollback should be part of NixOS to a certain extent | 22:31:12 |
raitobezarius | In reply to @whentze:matrix.org in my professional opinion distributed transactions don't really work well if you care about C or A… | 22:32:09 |
raitobezarius | hot take: distributed tx works if you prove that you cannot have P in your network to a certain extent | 22:32:39 |
raitobezarius | checkmate CAP theorem | 22:32:49 |
Wanja Hentze | If you're going to pretend things never go wrong, might as well not have rollback either | 22:35:44 |
Wanja Hentze | In reply to @raitobezarius:matrix.org Magic rollback should be part of NixOS to a certain extent the rollback part yes (and it is), but the "can I still use my deployment tool on this machine" part depends on the deployment tool | 22:38:20 |
raitobezarius | In reply to @whentze:matrix.org If you're going to pretend things never go wrong, might as well not have rollback either that's the goal | 22:38:43 |
raitobezarius | trying to rollback is already defeat | 22:38:51 |
Wanja Hentze | we have that today | 22:38:57 |
raitobezarius | In reply to @whentze:matrix.org the rollback part yes (and it is), but the "can I still use my deployment tool on this machine" part depends on the deployment tool right | 22:39:02 |
raitobezarius | In reply to @whentze:matrix.org we have that today checkmate myself | 22:39:38 |
Wanja Hentze | the ostrich algorithm is already full implemented 😎 | 22:41:38 |
Wanja Hentze | * the ostrich algorithm is already fully implemented 😎 | 22:42:26 |
| 13 Aug 2023 |
| @10leej:matrix.org joined the room. | 01:25:57 |
| ofungus joined the room. | 19:25:50 |
void | i just need something like touch /tmp/doing_switching; nixos-rebuild switch; while [ -f /tmp/doing_switch ]; sleep 5; done; if [ ! -f /tmp/done_switching ]; then nixos-rebuild switch --rollback; | 23:06:18 |
void | * i just need something like
touch /tmp/doing\_switching;
nixos-rebuild switch;
sleep 5;
if \[ ! -f /tmp/done\_switching \]; then nixos-rebuild switch --rollback;
| 23:06:57 |
void | * i just need something like
nixos-rebuild switch;
sleep 5;
if [ ! -f /tmp/done\_switching ]; then nixos-rebuild switch --rollback;
| 23:07:18 |
void | * i just need something like
nixos-rebuild switch;
sleep 5;
if [ ! -f /tmp/done\_switching ]; then nixos-rebuild switch --rollback; fi;
| 23:07:27 |
void | colmena will ssh touch /tmp/done_switching; | 23:17:20 |
void | * colmena will ssh touch /tmp/done_switching; for instance in the test section. | 23:18:26 |
void | this will save me from pretty much all the mistakes I make (too hot here 33 deg cel during the day, can't concentrate sometimes) | 23:19:25 |
Wanja Hentze | yep, it's quite low-tech | 23:53:04 |
Wanja Hentze | can be built out of an activation script and a "post-apply" script on colmena's end | 23:53:30 |
| 15 Aug 2023 |
| Christina Sørensen changed their profile picture. | 14:57:57 |