[pbs-devel] [PATCH proxmox-backup v2 2/7] tape: media_catalog: add fast_catalog beside normal catalog

Dietmar Maurer dietmar at proxmox.com
Tue Jul 27 08:53:35 CEST 2021


comments inline

On 7/22/21 3:41 PM, Dominik Csapak wrote:
> for some parts of the ui, we only need the snapshot list from the catalog,
> and reading the whole catalog (can be multiple hundred MiB) is not
> really necessary.
>
> Instead, on every commit of the catalog, write the complete content list
> into a seperate .index file, that can be read to get only the snapshot
> list.

This description seems wrong to me? Also, what about 
destroy_unrelated_catalog()?

I guess that function should also remove the .index file?







More information about the pbs-devel mailing list