Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After waiting for pending cache data, query cache is failing to load the data for the completed pending item #512

Closed
kaidaguerre opened this issue Feb 9, 2023 · 0 comments · Fixed by #513

Comments

@kaidaguerre
Copy link
Contributor

This is because the cache key of the pending item does not match the cache key used to write data which satisfies the pending request

@kaidaguerre kaidaguerre linked a pull request Feb 9, 2023 that will close this issue
kaidaguerre added a commit that referenced this issue Feb 9, 2023
Take quals into account when finding pending cache item to satisfy a cache request.
If completed pending item does not provide expected cache data, treat this as a cache miss (fix `err` variable shadowing bug)
Ensure the cache key of completed pending items is updated to match the cache key of the cache request which satisfies it
kaidaguerre added a commit that referenced this issue Feb 9, 2023
Take quals into account when finding pending cache item to satisfy a cache request.
If completed pending item does not provide expected cache data, treat this as a cache miss (fix `err` variable shadowing bug)
Ensure the cache key of completed pending items is updated to match the cache key of the cache request which satisfies it
kaidaguerre added a commit that referenced this issue Feb 9, 2023
If completed pending item does not provide expected cache data, treat this as a cache miss (fix `err` variable shadowing bug)
Ensure the cache key of completed pending items is updated to match the cache key of the cache request which satisfies it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant