garage/src
Baptiste Jonglez 6d798c640f WIP: fix crash in layout computation when changing all nodes of a zone to gateway mode
This change is probably not a proper fix, somebody with more expertise on
this code should look at it.

Here is how to reproduce the crash:

- start with a layout with two zones
- move all nodes of a zone to gateway mode: `garage layout assign fea54bcc081f318 -g`
- `garage layout show` will panic with a backtrace

Fortunately, the crash is only on the RPC client side, not on the Garage
server itself, and `garage layout revert` still works to go back to the
previous state.

As far as I can tell, this bug is present since Garage 0.9.0 which
includes the new layout assignation algorithm:

  Deuxfleurs/garage#296
2025-01-27 19:33:57 +01:00
..
api Fix all typos 2025-01-16 13:22:00 +01:00
block Fix all typos 2025-01-16 13:22:00 +01:00
db Fix all typos 2025-01-16 13:22:00 +01:00
format-table fix clippy lint in format-table crate 2023-05-17 13:06:37 +02:00
garage Fix all typos 2025-01-16 13:22:00 +01:00
k2v-client Fix all typos 2025-01-16 13:22:00 +01:00
model db-snapshot: allow to set directory where snapshots are stored 2025-01-27 18:33:55 +01:00
net Fix all typos 2025-01-16 13:22:00 +01:00
rpc WIP: fix crash in layout computation when changing all nodes of a zone to gateway mode 2025-01-27 19:33:57 +01:00
table Fix all typos 2025-01-16 13:22:00 +01:00
util db-snapshot: allow to set directory where snapshots are stored 2025-01-27 18:33:55 +01:00
web Bump to version 1.0.1 2024-09-22 14:25:32 +02:00