-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
distsql: support local execution for tenants #47902
Comments
I had missed something I am now learning in the context of #48110 - there is no alternative to DistSQL, i.e. local execution still uses DistSQL, but without distributing the plan. Unfortunately this means that we can't "just turn off" DistSQL. We need to make sure local execution still does work. Doing so properly is likely a bit of work; we don't want to end up in a place where it just works "heuristically" but the code is a mess. cc @asubiotto feels like this is an important item for you (or someone) to look into once #48110 merges, as without it even |
I think I managed to get this into good enough shape in #48110, though there's likely some cleanup to be had. As of that PR, when the nodeID is not available (=we're running a tenant) we force DistSQL to plan locally. And it seems that after some finagling, that's good enough to make sure local execution never asks for the nodeID. |
What exactly do you mean by this? "local execution" (i.e. executing I would expect a lack of |
As I mentioned, it wasn't as bad as I thought. I have things back to passing. |
Just noticed that this issue is left in 20.2 B milestone as "Done" but is not closed. Should it be closed? |
Yes, #49697 closed this issue |
Background
In phase 2, DistSQL won't work and needs to be disabled "properly". (At the time of writing, one may want to use DistSQL since it's set to
auto
, but it fails during planning and falls back to regular execution - this adds overhead).This work should wait until #47903 is done.
Related to #47900
The text was updated successfully, but these errors were encountered: