cockroach icon indicating copy to clipboard operation
cockroach copied to clipboard

Node crash while executing sql statement

Open miretskiy opened this issue 6 years ago • 1 comments

Describe the problem

Executing the following (probably incorrect) sql statement causes node to crash

select count(*), round(sum(range_size)/(1024*1024), 2) as size_MB, lease_holder, replicas from crdb_internal.ranges where
start_pretty like '/Table/52/2/%' group by lease_holder order by lease_holder;

Stacktrace attached.

cockroach.stderr.log

Environment:

  • CockroachDB version: master
  • Server OS: [e.g. Linux/Distrib]
  • Client app: cockroach sql

miretskiy avatar Feb 07 '20 14:02 miretskiy

Heh, we actually saw this bug on Sentry and fixed it :) Closing as dup of #44659.

RaduBerinde avatar Feb 12 '20 12:02 RaduBerinde