cockroach
cockroach copied to clipboard
insights: ingester
Closes #81021.
Here we begin observing statements and transactions asynchronously, to avoid slowing down the hot sql execution path as much as possible.
Release note: None
bors r+
This change introduced a data race on TestConsumeJoinToken
(https://github.com/cockroachdb/cockroach/issues/85988). I'm going to create a PR shortly to skip that test under race for the time being.
Edit: PR to skip the test: https://github.com/cockroachdb/cockroach/pull/85989.
This PR is also introducing a consistent data race in my PR that was ready to merge until I rebased onto this. Should we revert this PR, as it seems to be exposing the codebase to data races? My data race stack also points to https://github.com/cockroachdb/cockroach/issues/83080
I've just sent #85994 to disable this problematic codepath until I can get to the bottom of it. I'm sorry for the disruption!
thanks!