S3-compatible object store for small self-hosted geo-distributed deployments https://garagehq.deuxfleurs.fr/
Find a file
Baptiste Jonglez 6d798c640f
All checks were successful
ci/woodpecker/pr/debug Pipeline was successful
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:

  #296
2025-01-27 19:33:57 +01:00
.cargo use mold linker when invoking cargo manually (not in nix build scripts) 2023-10-10 13:56:48 +02:00
.woodpecker nix CI: reduce redundant work 2025-01-27 18:09:51 +01:00
doc db-snapshot: allow to set directory where snapshots are stored 2025-01-27 18:33:55 +01:00
nix nix CI: reduce redundant work 2025-01-27 18:09:51 +01:00
script Minor rewording, add some more hints 2025-01-15 23:51:07 +00:00
src WIP: fix crash in layout computation when changing all nodes of a zone to gateway mode 2025-01-27 19:33:57 +01:00
.dockerignore Build Docker image 2020-06-30 17:18:42 +02:00
.envrc Implement rpc_secret_file 2023-01-04 18:35:10 +01:00
.gitignore Implement rpc_secret_file 2023-01-04 18:35:10 +01:00
Cargo.lock Update Cargo.nix 2025-01-27 18:37:05 +01:00
Cargo.nix Update Cargo.nix 2025-01-27 18:37:05 +01:00
Cargo.toml update nix crate to 0.29 and libc to 0.2.169 2025-01-27 18:37:05 +01:00
default.nix nix build: remove clippy build env that doesn't work 2025-01-12 17:51:33 +01:00
Dockerfile Some things are now in result-bin 2022-10-18 13:39:21 +02:00
flake.lock nix build: switch to upstream cargo2nix (branch release-0.11.0) 2025-01-12 18:16:23 +01:00
flake.nix nix build: switch to upstream cargo2nix (branch release-0.11.0) 2025-01-12 18:16:23 +01:00
LICENSE Switch to AGPL 2021-03-16 16:35:46 +01:00
Makefile Disk space report 2023-01-26 15:04:32 +01:00
README.md [woodpecker] convert drone pipelines to woodpecker 2024-02-08 18:24:52 +01:00
rustfmt.toml Fix the Sync issue. Details: 2020-04-10 22:01:48 +02:00
shell.nix nix build: remove clippy build env that doesn't work 2025-01-12 17:51:33 +01:00

Garage status-badge

Garage logo

[ Website and documentation | Binary releases | Git repository | Matrix channel ]

Garage is an S3-compatible distributed object storage service designed for self-hosting at a small-to-medium scale.

Garage is designed for storage clusters composed of nodes running at different physical locations, in order to easily provide a storage service that replicates data at these different locations and stays available even when some servers are unreachable. Garage also focuses on being lightweight, easy to operate, and highly resilient to machine failures.

Garage is built by Deuxfleurs, an experimental small-scale self hosted service provider, which has been using it in production since its first release in 2020.

Learn more on our dedicated documentation pages:

Garage is entirely free software released under the terms of the AGPLv3.