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.1k stars 3.81k forks source link

util/schedulerlatency: max latency capped at 100ms #127669

Open jbowens opened 3 months ago

jbowens commented 3 months ago

Screenshot 2024-02-14 at 4 27 04 PM

https://github.com/cockroachdb/cockroach/blob/c14a15de5abc08dda6a321994a60c2388d090a9d/pkg/util/schedulerlatency/sampler.go#L95

The max histogram bucket in the goroutine scheduler latency is ~100ms. This has led to confusion a few times.

https://cockroachlabs.slack.com/archives/C063CP41TG9/p1707946050906159

Jira issue: CRDB-40543

blathers-crl[bot] commented 3 months ago

Hi @jbowens, please add branch-* labels to identify which branch(es) this C-bug affects.

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

Kneary95 commented 3 months ago

Thank you!