Skip to content

distsqlrun: hook up local distsql flows to their session monitors #25879

@jordanlewis

Description

@jordanlewis

Currently, distsql flows that are local to the coordinator node don't get attached to the session's memory monitor. This is a bit of an annoyance, as it makes it more difficult to understand a session's full memory usage.

Local distsql flows should be parented by their originating session, not by the root distsql monitor.

Metadata

Metadata

Assignees

Labels

A-sql-memmonSQL memory monitoringC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions