-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(bors): merge pull request #768
768: fix(csi-controller/pv-watcher): race between creation and gc r=tiagolobocastro a=tiagolobocastro Check for deletion candidates using PVC and when such candidate is found also ensure there is no corresponding PV. This is required to avoid a race during creation where the volume is created but the PV is not yet. Also, do this check twice, as otherwise we might find false positives when a PVC is deleted before the PV is sucessfully created, leading to confusing message about GC. Co-authored-by: Tiago Castro <tiagolobocastro@gmail.com>
- Loading branch information
Showing
2 changed files
with
76 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters