Skip to content

Commit

Permalink
Merge #82096 #82356
Browse files Browse the repository at this point in the history
82096: geos: add pgcode for initialization failures r=rafiss a=otan

This should reduce incoming sentry entries regarding invalid GEOS
setups, which is not something we can action.

Release note: None

82356: rfcs: fine-grained cpu attribution r=irfansharif a=irfansharif

_Link to [RFC text](https://github.com/irfansharif/cockroach/blob/220602.fine-grained-cpu/docs/RFCS/20220602_fine_grained_cpu_attribution.md)._

CRDB lacks primitives to attribute CPU usage to specific scopes (ranges,
tenants, sessions, statements) or processes (pebble compactions,
snapshot generation). For subsystems that rely on such attribution, we
use proxy signals like '# of batch requests' or 'size of read/write
request' as observed by a range/replica or a given tenant. We propose
using a patched Go runtime to track CPU use at the level of individual
goroutines, using the primitive to derive an accurate resource
consumption signal in various CRDB subsystems. The compiler, language,
and tooling will remain the same.

Release note: None

Co-authored-by: Oliver Tan <[email protected]>
Co-authored-by: irfan sharif <[email protected]>
  • Loading branch information
3 people committed Jun 2, 2022
3 parents 95616f9 + 0c23b89 + 3460044 commit 8cdcaa3
Show file tree
Hide file tree
Showing 5 changed files with 624 additions and 4 deletions.
Loading

0 comments on commit 8cdcaa3

Please sign in to comment.