Skip to content

kv: include RangeID in rangefeed goroutine stacks#68442

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
nvb:nvanbenschoten/rangefeedRangeID
Aug 5, 2021
Merged

kv: include RangeID in rangefeed goroutine stacks#68442
craig[bot] merged 1 commit intocockroachdb:masterfrom
nvb:nvanbenschoten/rangefeedRangeID

Conversation

@nvb
Copy link
Copy Markdown
Contributor

@nvb nvb commented Aug 4, 2021

This commit includes the RangeID in each of a rangefeed processor and
its registations' associated goroutine stacks. This is a cheap and easy
way to get better observability into the ranges that have active
rangefeeds. It also tells us where those goroutines are spending their
time.

This will also become easier to use in Go 1.17, which improved the
format of stack traces.

@nvb nvb requested a review from erikgrinaker August 4, 2021 19:33
@nvb nvb requested a review from a team as a code owner August 4, 2021 19:33
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Contributor

@erikgrinaker erikgrinaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this'll be useful!

This commit includes the RangeID in each of a rangefeed processor and
its registations' associated goroutine stacks. This is a cheap and easy
way to get better observability into the ranges that have active
rangefeeds. It also tells us where those goroutines are spending their
time.

This will also become easier to use in Go 1.17, which improved the
format of stack traces.
@nvb nvb force-pushed the nvanbenschoten/rangefeedRangeID branch from f5088a5 to 1306da5 Compare August 4, 2021 21:52
@nvb
Copy link
Copy Markdown
Contributor Author

nvb commented Aug 4, 2021

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Aug 4, 2021

Build failed:

@nvb
Copy link
Copy Markdown
Contributor Author

nvb commented Aug 5, 2021

TestFullClusterBackup flake.

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Aug 5, 2021

Build succeeded:

@craig craig bot merged commit 78a788f into cockroachdb:master Aug 5, 2021
@blathers-crl
Copy link
Copy Markdown

blathers-crl bot commented Aug 5, 2021

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 merge commit from 1306da5 to blathers/backport-release-20.2-68442: POST https://api.github.com/repos/cockroachdb/cockroach/merges: 409 Merge conflict []

you may need to manually resolve merge conflicts with the backport tool.

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


error creating merge commit from 1306da5 to blathers/backport-release-21.1-68442: POST https://api.github.com/repos/cockroachdb/cockroach/merges: 409 Merge conflict []

you may need to manually resolve merge conflicts with the backport tool.

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


🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants