[pbs-devel] applied-series: Re: [PATCH proxmox-backup 1/2] api: tape/restore: fix wrong datastore locking

Thomas Lamprecht t.lamprecht at proxmox.com
Mon May 9 13:57:10 CEST 2022


On 09/05/2022 12:41, Dominik Csapak wrote:
> used_datastores returned the 'target', but in the full_restore_worker,
> we interpreted it as the source and searched for a mapping
> (which we then locked)
> 
> since we cannot return a HashSet of Arc<T> (missing Hash trait on DataStore),
> we have now a map of source -> target
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  src/api2/tape/restore.rs | 28 +++++++++++++---------------
>  1 file changed, 13 insertions(+), 15 deletions(-)
> 
>

applied both patches, thanks!





More information about the pbs-devel mailing list