• Kubernetes Submit Queue's avatar
    Merge pull request #50806 from verult/VolumeNotYetAttached · 70632276
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 50806, 48789, 49922, 49935, 50438)
    
    On AttachDetachController node status update, do not retry when node …
    
    …doesn't exist but keep the node entry in cache.
    
    
    
    **What this PR does / why we need it**: An alternative fix for https://github.com/kubernetes/kubernetes/issues/42438 which also fixes #50721.
    
    Instead of removing the node entry entirely from the node status update cache (which prevents the node from ever being updated even when it recovers), here the node status updater does nothing, so that there won't be an update retry until the node is re-added, where the cache entry is set to true.
    
    Will cherry pick to prior versions after this is merged.
    
    **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #50721 
    
    **Release Note**:
    ``` release-note
    On AttachDetachController node status update, do not retry when node doesn't exist but keep the node entry in cache.
    ```
    
    /assign @jingxu97 
    /cc @saad-ali 
    /sig storage
    /release-note
    70632276
Name
Last commit
Last update
..
attachdetach Loading commit data...
events Loading commit data...
persistentvolume Loading commit data...
OWNERS Loading commit data...