mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-07-20 15:03:04 +00:00
13f06026c0
Introduces a concurrent-safe sync.Map cache to the backup Request struct to memoize GetNamespaceFilter results. This avoids re-evaluating glob patterns for every item, significantly improving backup performance while preserving the original exact-match precedence logic. Signed-off-by: Adam Zhang <adam.zhang@broadcom.com>