Skip to content

CAY-2902 Shared query cache clobbers newer object state#632

Merged
stariy95 merged 3 commits into
apache:masterfrom
johnthuss:sharedQueryCache_clobbersNewerObjectState
Nov 6, 2025
Merged

CAY-2902 Shared query cache clobbers newer object state#632
stariy95 merged 3 commits into
apache:masterfrom
johnthuss:sharedQueryCache_clobbersNewerObjectState

Conversation

@johnthuss

Copy link
Copy Markdown
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
Copy Markdown
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

stariy95 commented Nov 6, 2025

Copy link
Copy Markdown
Member

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

@johnthuss johnthuss deleted the sharedQueryCache_clobbersNewerObjectState branch November 12, 2025 21:30
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