Skip to content

ui, server: don't use activity tables if sql.stats.response.show_internal.enabled is true #114460

@xinhaoz

Description

@xinhaoz

The activity tables don't allow internal statements to be written to them. When users turn on the cluster setting sql.stats.response.show_internal.enabled they would expect to see internal statements returned in their sql stats response but will not see any if we service requests using the activity table. The CombinedStatementStats api chooses to service requests using the activity tables as its first choice but if sql.stats.response.show_internal.enabled is true we should disallow the activity tables from being used to service the request.

Jira issue: CRDB-33518

Metadata

Metadata

Assignees

Labels

A-observability-infC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.v23.1.14

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions