fix(prefix-cache): race conditions in indexer lock management#2501
fix(prefix-cache): race conditions in indexer lock management#2501k8s-ci-robot merged 1 commit intokubernetes-sigs:mainfrom
Conversation
✅ Deploy Preview for gateway-api-inference-extension ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Welcome @hexfusion! |
|
Hi @hexfusion. 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 Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Signed-off-by: Sam Batschelet <sbatschelet@gmail.com>
|
/ok-to-test |
|
Thanks! |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahg-g, hexfusion The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
…etes-sigs#2501) Signed-off-by: Sam Batschelet <sbatschelet@gmail.com>
…etes-sigs/gateway-api-inference-extension#2501) Signed-off-by: Sam Batschelet <sbatschelet@gmail.com>
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Fixes race conditions in the prefix cache indexer where Add() and RemovePod() release and re-acquire lock mid-operation, allowing stale entries in hashToPods. See linked issue for full details.
Which issue(s) this PR fixes:
Fixes #2500
Does this PR introduce a user-facing change?:
NONE