-
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.
110458: rangefeed: add rangefeed scheduler metrics r=erikgrinaker,miretskiy a=aliher1911 This commit adds two rangefeed scheduler metrics to assist performance debugging. Latency histogram which is showing how long events spent waiting in queue before they are scheduled for processing: - `kv.rangefeed.scheduler.normal.latency` - `kv.rangefeed.scheduler.system.latency` Queue size which is showing how many ranges are pending event to be processed: - `kv.rangefeed.scheduler.normal.queue_size` - `kv.rangefeed.scheduler.system.queue_size` Fixes: #110420 Release note: None 110609: server: replace admin checks with VIEWCLUSTERMETADATA and REPAIRCLUSTERMETADATA r=rafiss a=rafiss Release note (security update): Endpoints in the admin and status server that previously required the admin role now can be used by users with the VIEWCLUSTERMETADATA or REPAIRCLUSTERMETADATA system privilege, depending on whether the endpoint is read-only or can modify state. fixes #79571 fixes #109814 Release note: None 111045: rangefeed: create catchup iterators eagerly r=erikgrinaker a=aliher1911 Previously, catchup iterators were created in the main rangefeed processor work loop. This is negatively affecting scheduler based processors as this operation could be slow. This commit makes iterator creation eager, simplifying error handling and making rangefeed times delays lower. Epic: [CRDB-26372](https://cockroachlabs.atlassian.net/browse/CRDB-26372) Fixes: #111060 Fixes: #111040 Release note: None Co-authored-by: Oleg Afanasyev <[email protected]> Co-authored-by: Rafi Shamim <[email protected]>
- Loading branch information
Showing
27 changed files
with
429 additions
and
254 deletions.
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
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
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
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
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
Oops, something went wrong.