[pbs-devel] [PATCH proxmox-backup] api: list-snapshots improvements
Christian Ebner
c.ebner at proxmox.com
Wed Jul 3 15:46:56 CEST 2024
Hi, some initial high level comments, did not test this just yet.
You touch several completely unrelated thing in this patch. I feel that this should be split into at least 3-4 patches:
- fixing the typo
- removing the unsafe block (although this feels like Wolfgang did this on purpose to make a caller aware of possible consequences, see commit message for a577d7d8).
- avoid double retrial of protected flag, (can we also assure that this is not done on purpose, to avoid possible races?)
- refactor of `full_path`
Also, can you see a noticeable difference in listing time for groups with a larger number of backups?
Please give some ballpark figures if so.
More information about the pbs-devel
mailing list