• Matthew Fisher's avatar
    fix(kube): fix race condition · 33bb8885
    Matthew Fisher authored
    .Get() calls perform() on a list of infos, populating two shared maps. perform() now concurrently calls the ResourceActorFunc concurrently based on GVK, causing a data race condition in .Get()
    
    This fixes that condition by locking the function to ensure these functions run serially for Helm 2 to fix the data race condition. This has since been optimized in Helm 3 so it's no longer an issue.
    Signed-off-by: 's avatarMatthew Fisher <matt.fisher@microsoft.com>
    33bb8885
Name
Last commit
Last update
..
chartutil Loading commit data...
downloader Loading commit data...
engine Loading commit data...
getter Loading commit data...
helm Loading commit data...
hooks Loading commit data...
ignore Loading commit data...
kube Loading commit data...
lint Loading commit data...
manifest Loading commit data...
plugin Loading commit data...
proto/hapi Loading commit data...
provenance Loading commit data...
releasetesting Loading commit data...
releaseutil Loading commit data...
renderutil Loading commit data...
repo Loading commit data...
resolver Loading commit data...
rudder Loading commit data...
storage Loading commit data...
strvals Loading commit data...
sympath Loading commit data...
tiller Loading commit data...
timeconv Loading commit data...
tlsutil Loading commit data...
urlutil Loading commit data...
version Loading commit data...