Skip to content

Conversation

@johnthuss
Copy link
Contributor

disjoint and disjointById prefetches over 2 hops with both hops prefetched returns incorrect data

@stariy95
Copy link
Member

Did a bit of digging. This is an older problem it seems, it's present at least in 4.2 and 4.1. An issue really in the combination of prefetch types, from all possible combination in this case, only two failed (joint + not joint).

Finally, joint + disjoint and joint + disjointById cases seem slightly separate problems (or I didn't dig enough).
I got a rough fix for the first case and it isn't affecting the second.

@johnthuss
Copy link
Contributor Author

If you have a partial or complete fix for this issue, I'd be interested to see it. Could you share it? Thanks!

stariy95 added a commit to stariy95/cayenne that referenced this pull request Oct 28, 2025
stariy95 added a commit to stariy95/cayenne that referenced this pull request Oct 28, 2025
@stariy95
Copy link
Member

@johnthuss here's what I believe is a partial fix: stariy95@c4d57b7#diff-0302f005474d7e346cd7a639c67d41c3496029316a1ce68daf08d757a8186e84L104

It seems fix disjoint but not disjointById prefetch

@johnthuss
Copy link
Contributor Author

Thanks! I added support for that last case (joint+disjointById) now and the tests are passing.

@stariy95 stariy95 changed the title disjoint prefetch returns incorrect data [failing tests] CAY-2904 disjoint prefetch returns incorrect data Oct 30, 2025
@stariy95 stariy95 merged commit ef7f245 into apache:master Oct 30, 2025
12 checks passed
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