plugin-barman-cloud/internal/cnpgi
Leonardo Cecchi 08c3f1c232
feat: return proper gRPC error codes for expected conditions (#549)
The plugin now returns a 404 status code when a requested WAL file does
not exist in the object store.

This prevents misleading log entries such as "Error while handling gRPC
request" for expected missing-file scenarios.

The `ErrEndOfWALStreamReached` now returns `OutOfRange` error.

The `ErrMissingPermissions` now returns `FailedPrecondition` error.

Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
2025-09-25 10:36:48 +02:00
..
common feat: return proper gRPC error codes for expected conditions (#549) 2025-09-25 10:36:48 +02:00
instance fix: avoid panicking if serverRecoveryWindow has still not been set (#525) 2025-09-18 15:28:53 +02:00
metadata chore(main): release 0.6.0 (#388) 2025-08-21 14:33:58 +02:00
operator feat: introduce logLevel setting to control verbosity (#536) 2025-09-24 12:32:59 +02:00
restore fix: check for empty WAL archive during WAL archiving (#458) 2025-08-07 09:03:21 +10:00