colexec: internal error caused by crdb_internal.range_stats
#93806
Labels
A-sql-execution
Relating to SQL execution.
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-sql-queries
SQL Queries Team
In #93644 I am modifying SHOW RANGES to execute
crdb_internal.range_stats
outside of the vtable generator forcrdb_internal.ranges
.When I do this on top of
master
, I get non-deterministic crashes with the stack trace below.The crash happens mostly when the operation runs soon after a test starts. This suggests a race with some initialization.
In most cases the execution is fine.
If I manually modify the(edit: no, it doesn't. but it makes the problem appear less often.)FunctionProperties
ofcrdb_internal.range_stats
to setDistsqlBlocklist: true
, the issue disappears.This can be reproduced as follows:
dev testlogic base --files='show_ranges' --config=local
in a loopcc @yuzefovich for triage.
Jira issue: CRDB-22535
Epic: CRDB-22701
The text was updated successfully, but these errors were encountered: