• Jing Xu's avatar
    Fix race condition between actual and desired state in kublet volume manager · 31a70b85
    Jing Xu authored
    This PR fixes the issue #75345. This fix modified the checking volume in
    actual state when validating whether volume can be removed from desired state or not. Only if volume status is already mounted in actual state, it can be removed from desired state.
    For the case of mounting fails always, it can still work because the
    check also validate whether pod still exist in pod manager. In case of
    mount fails, pod should be able to removed from pod manager so that
    volume can also be removed from desired state.
    31a70b85
Name
Last commit
Last update
..
cache Loading commit data...
metrics Loading commit data...
populator Loading commit data...
reconciler Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
volume_manager.go Loading commit data...
volume_manager_fake.go Loading commit data...
volume_manager_test.go Loading commit data...