[pbs-devel] applied: [PATCH proxmox-backup] datastore/api: add error message on failed removal due to old locking

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Apr 3 18:07:33 CEST 2025


Am 03.04.25 um 15:23 schrieb Shannon Sterz:
> group or namespace removal can fail if the old locking mechanism is
> still in use, as it is unsafe to properly clean up in that scenario.
> return an error message that explains how to rectify that situation.
> 
> Signed-off-by: Shannon Sterz <s.sterz at proxmox.com>
> ---
>  pbs-datastore/src/backup_info.rs |  2 +-
>  pbs-datastore/src/datastore.rs   |  6 +++++-
>  src/api2/admin/datastore.rs      | 22 ++++++++++++++++------
>  src/api2/admin/namespace.rs      |  8 +++++++-
>  4 files changed, 29 insertions(+), 9 deletions(-)
> 
>

applied, with some fine-tuning of the error message (mostly adding "if you're
an admin"), thanks!




More information about the pbs-devel mailing list