cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
30.18k stars 3.82k forks source link

Sentry: panic.go:770: panic: × (1) attached stack trace -- stack trace: | runtime.gopanic | GOROOT/src/runtime/panic.go:770 | github.com/cockroachdb/cockroach/pkg/ts.Resolution.SlabDuration ... #135685

Open cockroach-sentry opened 6 days ago

cockroach-sentry commented 6 days ago

This issue was auto filed by Sentry. It represents a crash or reported error on a live cluster with telemetry enabled.

Sentry Link: https://cockroach-labs.sentry.io/issues/6075016849/?referrer=webhooks_plugin

Panic Message:

panic.go:770: panic: ×
(1) attached stack trace
  -- stack trace:
  | runtime.gopanic
  |     GOROOT/src/runtime/panic.go:770
  | github.com/cockroachdb/cockroach/pkg/ts.Resolution.SlabDuration
  |     github.com/cockroachdb/cockroach/pkg/ts/resolution.go:100
  | github.com/cockroachdb/cockroach/pkg/ts.decodeDataKeySuffix
  |     github.com/cockroachdb/cockroach/pkg/ts/keys.go:110
  | github.com/cockroachdb/cockroach/pkg/ts.DecodeDataKey
  |     github.com/cockroachdb/cockroach/pkg/ts/keys.go:89
  | github.com/cockroachdb/cockroach/pkg/ts.(*DB).findTimeSeries
  |     github.com/cockroachdb/cockroach/pkg/ts/pruning.go:83
  | github.com/cockroachdb/cockroach/pkg/ts.(*DB).MaintainTimeSeries
  |     github.com/cockroachdb/cockroach/pkg/ts/maintenance.go:57
  | github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*timeSeriesMaintenanceQueue).process
  |     github.com/cockroachdb/cockroach/pkg/kv/kvserver/pkg/kv/kvserver/ts_maintenance_queue.go:149
  | github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*baseQueue).processReplica.func1
  |     github.com/cockroachdb/cockroach/pkg/kv/kvserver/pkg/kv/kvserver/queue.go:984
  | github.com/cockroachdb/cockroach/pkg/util/timeutil.RunWithTimeout
  |     github.com/cockroachdb/cockroach/pkg/util/timeutil/timeout.go:33
  | github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*baseQueue).processReplica
  |     github.com/cockroachdb/cockroach/pkg/kv/kvserver/pkg/kv/kvserver/queue.go:977
  | github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*baseQueue).processOneAsyncAndReleaseSem.func1
  |     github.com/cockroachdb/cockroach/pkg/kv/kvserver/pkg/kv/kvserver/queue.go:927
  | github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunAsyncTaskEx.func2
  |     github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:485
  | runtime.goexit
  |     src/runtime/asm_amd64.s:1695
Wraps: (2) panic: ×
Error types: (1) *withstack.withStack (2) *errutil.leafError
-- report composition:
*errutil.leafError: panic: ×
panic.go:770: *withstack.withStack (top exception)
Stacktrace (expand for inline code snippets): [src/runtime/asm_amd64.s#L1694-L1696](src/runtime/asm_amd64.s#L1694-L1696) [https://github.com/cockroachdb/cockroach/blob/8140b8e294fb16a293d0aae662bcf5c1d488c852/pkg/util/stop/stopper.go#L484-L486](https://github.com/cockroachdb/cockroach/blob/8140b8e294fb16a293d0aae662bcf5c1d488c852/pkg/util/stop/stopper.go#L484-L486) [https://github.com/cockroachdb/cockroach/blob/8140b8e294fb16a293d0aae662bcf5c1d488c852/pkg/kv/kvserver/pkg/kv/kvserver/queue.go#L926-L928](https://github.com/cockroachdb/cockroach/blob/8140b8e294fb16a293d0aae662bcf5c1d488c852/pkg/kv/kvserver/pkg/kv/kvserver/queue.go#L926-L928) [https://github.com/cockroachdb/cockroach/blob/8140b8e294fb16a293d0aae662bcf5c1d488c852/pkg/kv/kvserver/pkg/kv/kvserver/queue.go#L976-L978](https://github.com/cockroachdb/cockroach/blob/8140b8e294fb16a293d0aae662bcf5c1d488c852/pkg/kv/kvserver/pkg/kv/kvserver/queue.go#L976-L978) [https://github.com/cockroachdb/cockroach/blob/8140b8e294fb16a293d0aae662bcf5c1d488c852/pkg/util/timeutil/timeout.go#L32-L34](https://github.com/cockroachdb/cockroach/blob/8140b8e294fb16a293d0aae662bcf5c1d488c852/pkg/util/timeutil/timeout.go#L32-L34) [https://github.com/cockroachdb/cockroach/blob/8140b8e294fb16a293d0aae662bcf5c1d488c852/pkg/kv/kvserver/pkg/kv/kvserver/queue.go#L983-L985](https://github.com/cockroachdb/cockroach/blob/8140b8e294fb16a293d0aae662bcf5c1d488c852/pkg/kv/kvserver/pkg/kv/kvserver/queue.go#L983-L985) [https://github.com/cockroachdb/cockroach/blob/8140b8e294fb16a293d0aae662bcf5c1d488c852/pkg/kv/kvserver/pkg/kv/kvserver/ts_maintenance_queue.go#L148-L150](https://github.com/cockroachdb/cockroach/blob/8140b8e294fb16a293d0aae662bcf5c1d488c852/pkg/kv/kvserver/pkg/kv/kvserver/ts_maintenance_queue.go#L148-L150) [https://github.com/cockroachdb/cockroach/blob/8140b8e294fb16a293d0aae662bcf5c1d488c852/pkg/ts/maintenance.go#L56-L58](https://github.com/cockroachdb/cockroach/blob/8140b8e294fb16a293d0aae662bcf5c1d488c852/pkg/ts/maintenance.go#L56-L58) [https://github.com/cockroachdb/cockroach/blob/8140b8e294fb16a293d0aae662bcf5c1d488c852/pkg/ts/pruning.go#L82-L84](https://github.com/cockroachdb/cockroach/blob/8140b8e294fb16a293d0aae662bcf5c1d488c852/pkg/ts/pruning.go#L82-L84) [https://github.com/cockroachdb/cockroach/blob/8140b8e294fb16a293d0aae662bcf5c1d488c852/pkg/ts/keys.go#L88-L90](https://github.com/cockroachdb/cockroach/blob/8140b8e294fb16a293d0aae662bcf5c1d488c852/pkg/ts/keys.go#L88-L90) [https://github.com/cockroachdb/cockroach/blob/8140b8e294fb16a293d0aae662bcf5c1d488c852/pkg/ts/keys.go#L109-L111](https://github.com/cockroachdb/cockroach/blob/8140b8e294fb16a293d0aae662bcf5c1d488c852/pkg/ts/keys.go#L109-L111) [https://github.com/cockroachdb/cockroach/blob/8140b8e294fb16a293d0aae662bcf5c1d488c852/pkg/ts/resolution.go#L99-L101](https://github.com/cockroachdb/cockroach/blob/8140b8e294fb16a293d0aae662bcf5c1d488c852/pkg/ts/resolution.go#L99-L101) [GOROOT/src/runtime/panic.go#L769-L771](GOROOT/src/runtime/panic.go#L769-L771)
src/runtime/asm_amd64.s in runtime.goexit at line 1695
pkg/util/stop/stopper.go in pkg/util/stop.(*Stopper).RunAsyncTaskEx.func2 at line 485
pkg/kv/kvserver/pkg/kv/kvserver/queue.go in pkg/kv/kvserver.(*baseQueue).processOneAsyncAndReleaseSem.func1 at line 927
pkg/kv/kvserver/pkg/kv/kvserver/queue.go in pkg/kv/kvserver.(*baseQueue).processReplica at line 977
pkg/util/timeutil/timeout.go in pkg/util/timeutil.RunWithTimeout at line 33
pkg/kv/kvserver/pkg/kv/kvserver/queue.go in pkg/kv/kvserver.(*baseQueue).processReplica.func1 at line 984
pkg/kv/kvserver/pkg/kv/kvserver/ts_maintenance_queue.go in pkg/kv/kvserver.(*timeSeriesMaintenanceQueue).process at line 149
pkg/ts/maintenance.go in pkg/ts.(*DB).MaintainTimeSeries at line 57
pkg/ts/pruning.go in pkg/ts.(*DB).findTimeSeries at line 83
pkg/ts/keys.go in pkg/ts.DecodeDataKey at line 89
pkg/ts/keys.go in pkg/ts.decodeDataKeySuffix at line 110
pkg/ts/resolution.go in pkg/ts.Resolution.SlabDuration at line 100
GOROOT/src/runtime/panic.go in runtime.gopanic at line 770

Tags

Tag Value
Command start-single-node
Environment v24.2.4
Go Version go1.22.5 X:nocoverageredesign
Platform linux amd64
Distribution CCL
Cockroach Release v24.2.4
Cockroach SHA 8140b8e294fb16a293d0aae662bcf5c1d488c852
# of CPUs 20
# of Goroutines 611

Jira issue: CRDB-44676

blathers-crl[bot] commented 6 days ago

CC'ing via the CODEOWNERS-based sentry heuristic:

:owl: Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.