-
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
roachtest: sqlsmith: nil ctx when draining the vectorized flow #62514
Comments
The SHA contains all of the known fixes 😭 |
My current guess is the following: in I'll try to confirm it, but I think the action items for this issue are:
|
Yeah, I think this is it - I increased the probability of panic in |
63108: colexec: wrap DrainMeta with panic-catcher and protect columnarizer r=yuzefovich a=yuzefovich **colexec: wrap DrainMeta with panic-catcher and protect columnarizer** Previously, in some edge cases (like when a panic is encountered during `Operator.Init`) the metadata sources could have been uninitialized, so when we tried to drain them, we'd encounter a crash. In order to avoid that in the future, now all root components will wrap the draining with the panic-catcher. Additionally, we now protect the columnarizer in this case explicitly - if it wasn't initialized, it won't drain the wrapped processor in `DrainMeta`. Fixes: #62514. Release note: None **rowexec: remove redundant implementations of MetadataSource interface** Previously, some row-by-row processors implemented `execinfra.MetadataSource` interface. The idea behind that originally was to allow for wrapped processors to return their metadata in the vectorized flow, but nothing explicit is actually needed because every wrapped processor has a columnarizer after it which will drain the processor according to row-by-row model (by moving into draining state and exhausting the trailing meta). This commit removes those redundant implementations. This allows us to move the interface into `colexecop` package where it belongs. Release note: None Co-authored-by: Yahor Yuzefovich <[email protected]>
(roachtest).sqlsmith/setup=rand-tables/setting=no-ddl failed on release-21.1@23e7cb53bf5baede071832b59bd92ea8164531a6:
More
Artifacts: /sqlsmith/setup=rand-tables/setting=no-ddl
See this test on roachdash
powered by pkg/cmd/internal/issues
The text was updated successfully, but these errors were encountered: