[pbs-devel] applied: [PATCH proxmox-backup] api: datastore: add missing log context for prune

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Jan 28 13:09:03 CET 2025


Am 27.01.25 um 14:38 schrieb Christian Ebner:
> Adds the missing log context for cases were a prune is not executed
> as dedicated tokio task.
> 
> Commit 432de66a ("api: make prune-group a real workertask") moved the
> prune group logic into it's own tokio task conditionally.
> 
> However, the log context was missing for cases where no dedicated
> task/thread is started, leading to the worker task state being
> unknown after finish, as no logs are written to the worker task log
> file.
> 
> Reported in the community forum:
> https://forum.proxmox.com/threads/161273/
> 
> Signed-off-by: Christian Ebner <c.ebner at proxmox.com>
> ---
>  src/api2/admin/datastore.rs | 11 ++++++++---
>  1 file changed, 8 insertions(+), 3 deletions(-)
> 
>

applied, with Gabriel's R-b, thanks!




More information about the pbs-devel mailing list