-
Notifications
You must be signed in to change notification settings - Fork 590
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
feat(tolerate inconsistency): join match failure #16823
Comments
risingwave/src/stream/src/executor/managed_state/join/mod.rs Lines 455 to 488 in 1e84852
The loop highly relies on the consistency of data in the two state tables, no missing data or extra data is allowed in one of the tables, because of the fact that it only checks pk equality in debug build. I'm afraid that only tolerating the cc @yuhao-su |
Oh, we can only fallback to pk-based |
We used to have something can tolerate the inconsistency |
You mean |
May I ask a dumb question? Why we need to separate data table and degree table? If they are always updated at the same time, and share the same pk, why we don't add a Is it just for historical reason (backward compatibility?) or for performance concern? |
Yes
In case when we need the degree table, it is very common only degree table get updated, in which case we don't want update the whole row. |
Oh, you're right. I was just kinda confused between the two join sides. Now I understand. |
This code branch seems not to be covered yet, nor did it been triggered by our TroubleMakerExecutor.
https://github.com/risingwavelabs/risingwave/blob/1e848526ba487836d72a29b5390689f712b50e0d/src/stream/src/executor/managed_state/join/mod.rs#L4[…]63
The text was updated successfully, but these errors were encountered: