-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
96250: admin: fix nil panic when retrieving metric metadata r=knz a=dhartunian Previously, the code that retrieved metric metadata assumed that the underlying node would have at least a single store configured in the `MetricRecorder` instance. This is not true on a SQL tenant since the storage node abstracts away all store-related information. The code now checks to make sure that at least one store is found before moving ahead with retrieving store metric metadata. Epic: CRDB-12100 Release note: None Co-authored-by: David Hartunian <[email protected]>
- Loading branch information
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters