aboutsummaryrefslogtreecommitdiff
path: root/src/garage/tests/k2v_client
diff options
context:
space:
mode:
authorBaptiste Jonglez <git@bitsofnetworks.org>2025-01-26 20:40:02 +0100
committerBaptiste Jonglez <git@bitsofnetworks.org>2025-01-27 19:33:57 +0100
commit6d798c640f523c0eb1653be9c7d89114a75b3fc3 (patch)
tree745a824c35c04344a034cded8c662d5f26b60f29 /src/garage/tests/k2v_client
parentd4e3e609209eb52d820338daf628df7cf09881ab (diff)
downloadgarage-6d798c640f523c0eb1653be9c7d89114a75b3fc3.tar.gz
garage-6d798c640f523c0eb1653be9c7d89114a75b3fc3.zip
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: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/296
Diffstat (limited to 'src/garage/tests/k2v_client')
0 files changed, 0 insertions, 0 deletions