Closed wondywang closed 1 year ago
Hi @wondywang. Thanks for your PR.
I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test
on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test
label.
I understand the commands that are listed here.
/lgtm /approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Fei-Guo, wondywang
The full list of commands accepted by this bot can be found here.
The pull request process is described here
What this PR does / why we need it: Because getting p/v objects in checker are not atomic operations. Here, we get the pList and vList cache in two steps with different time. As the number of clusters become more, there will be a greater difference. Some pPods will not be visible when Pods created during Checker run. This will trigger the pod force delete logic.
So, when finding that a vPod has been bound without pPod, we need double check whether the pPod exists before the pod force deletion.
Which issue(s) this PR fixes : Fixes #308