Closed codefromthecrypt closed 11 months ago
/hold
@codefromthecrypt can you check the CI fail? I'm not sure how go.mod is related to this PR's change though.
go.mod was related. I should have run make check
first.
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: codefromthecrypt, sanposhiho
The full list of commands accepted by this bot can be found here.
The pull request process is described here
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
In #39 we switched from using the pod UID to the pointer due to a problem identifying of how to handle the same pod being rescheduled sequentially on error. @sanposhiho found that since
PreFilter
must always be called, we can reset state always on that hook. A later change can instruct the guest to always dump any cache onPreFilter
even if the UID is the same as last time. Meanwhile, this change mechanically switches the host-side index back to the pod UID.Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?
NONE
What are the benchmark results of this change?