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
155478: cli: allow internal table usage for cli tools r=kyle-a-wong a=kyle-a-wong
Various cockroach cli tools query internal tables as regular operations. This includes things like running tsdumps, debug zips, getting statement diagnostics bundles, etc. These tools are expected to be able to query and access internal tables without errors or audit logging.
To do this, the app name used for these tools are being changed to have the prefix: `$ internal `. This allows for the CheckInternalAccess API to skip the check.
Note: the sql cli does not set this internal app name. Certain actions and internal checks / queries have been updated to temporarily set the application name to an internal one in order to run internal queries.
Resolves: [CRDB-55062](https://cockroachlabs.atlassian.net/browse/CRDB-55062)
Epic: [CRDB-55276](https://cockroachlabs.atlassian.net/browse/CRDB-55276)
Release note: None
155632: workload: fix tpcc unsafe_internals_accessed logs r=kyle-a-wong a=kyle-a-wong
The tpcc workload started generating a lot of unsafe_internals_accessed logs due to the use of `crdb_internal.force_error`.
This PR fixes this by replacing the usage of `crdb_internal.force_error` with `(1/0)::INT` which provides the same functionality of forcing an error without using an internal built in.
Epic: None
Release note: None
Co-authored-by: Kyle Wong <37189875+kyle-a-wong@users.noreply.github.com>
0 commit comments