Skip to content

Conversation

@johnthuss
Copy link
Contributor

When an object is returned from the Shared Query Cache it will overwrite the state of objects that had updates saved after the cache was populated, and return them to the previous state they were in when the cached query was run. There is a failing unit test demonstrating the problem.

@johnthuss
Copy link
Contributor Author

This behavior is fixed now. I did have to modify an existing test in DataContextPrefetchIT however, so give special attention to that change.

@johnthuss johnthuss changed the title Shared query cache clobbers newer object state CAY-2902 Shared query cache clobbers newer object state Oct 28, 2025
@stariy95 stariy95 merged commit 29b91d3 into apache:master Nov 6, 2025
12 checks passed
@stariy95
Copy link
Member

stariy95 commented Nov 6, 2025

Merged in master, will check everything once more before backporting this (or not) to 4.2

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 this pull request may close these issues.

2 participants