cockroach icon indicating copy to clipboard operation
cockroach copied to clipboard

cli/debug: include debug=3 goroutine profile in zip

Open dt opened this issue 1 month ago • 2 comments

Our debug=3 profiles are inteded to be a "best of both worlds" profile that captures the individual goroutine stacks as debug=2 does, while using the minimial stop-the-world pause of debug=0/1 profiles and also including labels (like debug=1) and wait durations (like debug=2).

In the future this might/should be the only profile we ask the production nodes to collect and export: it has a superset of the information of the other two profiles, making it sufficient either for direct analysis or for post-processing into other/textual formats, while also having minimial collection impact on the running nodes. For now however, it is introduced side-by-side with the existing profiles to allow for testing and validation before making it the sole goroutine profile collected.

Release note: none. Epic: none.

dt avatar Dec 11 '25 13:12 dt

This change is Reviewable

cockroach-teamcity avatar Dec 11 '25 13:12 cockroach-teamcity

(just the second commit; first is landing in #159253)

dt avatar Dec 11 '25 13:12 dt

TFTR!

bors r+

dt avatar Dec 12 '25 22:12 dt

Encountered an error creating backports. Some common things that can go wrong:

  1. The backport branch might have already existed.
  2. There was a merge conflict.
  3. The backport branch contained merge commits.

You might need to create your backport manually using the backport tool.


error creating backport branch refs/heads/blathers/backport-release-26.1-159260: POST https://api.github.com/repos/dt/cockroach/git/refs: 403 Resource not accessible by integration []

Backport to branch 26.1.x failed. See errors above.


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

blathers-crl[bot] avatar Dec 12 '25 23:12 blathers-crl[bot]

blathers backport 26.1

dt avatar Dec 15 '25 20:12 dt