• Jing Xu's avatar
    Fix issue with race condition during pod deletion · 9bd006de
    Jing Xu authored
    This PR fixes two issues
    1. When desired_state_populator removes podvolume state, it should check
    whether the actual state already has the volume before deleting it to
    make sure actual state has a chance to add the volume into the state
    2. When checking podVolume still exists, it not only checks the actual
    state, but also the volume disk directory because actual state might not
    reflect the real world when kubelet starts.
    9bd006de
Name
Last commit
Last update
..
BUILD Loading commit data...
desired_state_of_world_populator.go Loading commit data...
desired_state_of_world_populator_test.go Loading commit data...