-
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
sql: v20.1.6: unexpected leftover bytes on flow shutdown of changefeeds #55408
Comments
|
I think I have a reliable repro of this issue here with |
I think I understand what's going on, and it's not related to the vectorized engine. The issue is that we might be stopping |
Actually, I spent a bit more time looking into this - if my understanding was correct, then we would be seeing such behavior on master as well, but it only happens on my branch when we're trying to use some parts of the vectorized engine in combination with the changefeeds. Now I think the problem is that in the vectorized engine we rely on the context cancellation in order to shutdown all of the components of the flow, and it seems like such shutdown trips up the concurrent goroutines of kv feed. Not sure where exactly the issue lies though, but it seems like yet another incompatibility of changefeeds and the vectorized engine. I think I'll take it back into our project, and we'll probably put it on the backlog for now given #55616. |
We have marked this issue as stale because it has been inactive for |
We have marked this issue as stale because it has been inactive for |
This issue was autofiled by Sentry. It represents a crash or reported error on a live cluster with telemetry enabled.
Sentry link: https://sentry.io/organizations/cockroach-labs/issues/1948355510/?referrer=webhooks_plugin
Panic message:
Stacktrace (expand for inline code snippets):
cockroach/pkg/util/mon/bytes_usage.go
Lines 396 to 398 in be8c0a7
cockroach/pkg/util/mon/bytes_usage.go
Lines 383 to 385 in be8c0a7
cockroach/pkg/sql/sem/tree/eval.go
Lines 2931 to 2933 in be8c0a7
cockroach/pkg/sql/flowinfra/flow.go
Lines 422 to 424 in be8c0a7
cockroach/pkg/sql/rowflow/row_based_flow.go
Lines 413 to 415 in be8c0a7
cockroach/pkg/sql/distsql_running.go
Lines 421 to 423 in be8c0a7
cockroach/pkg/sql/conn_executor_exec.go
Lines 945 to 947 in be8c0a7
cockroach/pkg/sql/conn_executor_exec.go
Lines 831 to 833 in be8c0a7
cockroach/pkg/sql/conn_executor_exec.go
Lines 536 to 538 in be8c0a7
cockroach/pkg/sql/conn_executor_exec.go
Lines 95 to 97 in be8c0a7
cockroach/pkg/sql/conn_executor_exec.go
Lines 151 to 153 in be8c0a7
cockroach/pkg/sql/conn_executor.go
Lines 1460 to 1462 in be8c0a7
cockroach/pkg/sql/conn_executor.go
Lines 1334 to 1336 in be8c0a7
cockroach/pkg/sql/conn_executor.go
Lines 478 to 480 in be8c0a7
cockroach/pkg/sql/pgwire/conn.go
Lines 581 to 583 in be8c0a7
v20.1.6
go1.13.9
Jira issue: CRDB-3670
The text was updated successfully, but these errors were encountered: