You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
153289: stmtdiagnostics: write transaction diagnostics to new system tables r=kyle-a-wong a=kyle-a-wong
Updates `TxnRegistry.InsertTxnRequest` and `TxnRegistry.InsertTxnDiagnostic`
to persist data to the new `system.transaction_diagnostics_requests` and
`system.transaction_diagnostics` tables.
`InsertTxnDiagnostic` will also update the `system.statement_diagnostics`
table to update the `transaction_diagnostics_id` column and update
the `system.transaction_diagnostics_requests` table to mark the request
as complete. It will also insert its own bundle into
`system.statement_bundle_chunks`. For now, this bundle will only contain
trace recordings, but in the future it can be updated to have any data
related to the transaction.
Part-of: [CRDB-53546](https://cockroachlabs.atlassian.net/browse/CRDB-53546)
Epic: [CRDB-53541](https://cockroachlabs.atlassian.net/browse/CRDB-53541)
Release note: None
----
Note: this is a stacked PR, only the last commit needs to be reviewed
Co-authored-by: Kyle Wong <[email protected]>
0 commit comments