-
Notifications
You must be signed in to change notification settings - Fork 4.1k
sql: flush SQL Stats to system tables when a node is draining #74413
Copy link
Copy link
Closed
Labels
A-sql-observabilityRelated to observability of the SQL layerRelated to observability of the SQL layerC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Description
Is your feature request related to a problem? Please describe.
Currently, SQL Stats periodically flushes in-memory stats into system table, or when the in-memory buffer fills up.
Additionally, we would like to flush the SQL Stats into the system table when a node is shutting down. This is important is multi-tenant environment, where a SQL Pod is shutdown after a short period of inactivity.
Describe the solution you'd like
implementing #72045 and #74412
Epic: CC-5060
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-sql-observabilityRelated to observability of the SQL layerRelated to observability of the SQL layerC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)