mirror of https://github.com/helm/helm
safeMoveDeps reads the destination charts/ directory and then moves in new charts and deletes ones missing from that snapshot. Separate Manager instances calling downloadAll concurrently against the same ChartPath can race on this read-then-write, e.g. one call's freshly moved-in chart being deleted by another call's "delete outdated charts" pass because it wasn't in that call's earlier snapshot. Signed-off-by: Anis Khan <2815766+aniskhan001@users.noreply.github.com>pull/32533/head
parent
7a0bf95a5e
commit
280cdc4f0c
Loading…
Reference in new issue