diff options
author | Baptiste Jonglez <git@bitsofnetworks.org> | 2025-01-24 19:21:08 +0100 |
---|---|---|
committer | Baptiste Jonglez <git@bitsofnetworks.org> | 2025-02-07 00:29:43 +0100 |
commit | a2e134f036a5bdeca55ae0ce6d731d1ec37a454c (patch) | |
tree | 762e913d0e6450e7aa40aa2c8cbf27fe42ab4d8a /src/api/admin | |
parent | 06aa4b604fe0a9b5230bc0626d883e5b37953dec (diff) | |
download | garage-a2e134f036a5bdeca55ae0ce6d731d1ec37a454c.tar.gz garage-a2e134f036a5bdeca55ae0ce6d731d1ec37a454c.zip |
db-snapshot: propagate any node snapshot error through RPC callhandle_snapshot_errors
In particular, it means that "garage meta snapshot --all" will get an exit
code of 1 if any node fails to snapshot.
This makes sure that any external tool trying to snapshot nodes (e.g. from
cron) will be aware of the failure.
Fix #920
Diffstat (limited to 'src/api/admin')
0 files changed, 0 insertions, 0 deletions