-
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.
96756: kvcoord: Eliminate 1 Go routine from MuxRangeFeed r=miretskiy a=miretskiy Prior to this PR, the server side `MuxRangeFeed` implementation spawned a separate Go routine executing single RangeFeed for each incoming request. This is wasteful and unnecessary. Instead of blocking, and waiting for a single RangeFeed to complete, have rangefeed related functions return a promise to return a `*roachpb.Error` once rangefeed completes (`future.Future[*roachpb.Error]`). Prior to this change MuxRangeFeed would spin up 4 Go routines per range. With this PR, the number is down to 3. This improvement is particularly important when executing rangefeed against large tables (10s-100s of thousands of ranges). Informs #96395 Epic: None Release note (enterprise change): Changefeeds running with `changefeed.mux_rangefeed.enabled` setting set to true are more efficient, particularly when executing against large tables. 97651: jobs,backupccl: Update metrics poller to handle schedule PTS records r=miretskiy a=miretskiy Update metrics poller to keep track of PTS records held by scheduled jobs. Epic: CRDB-21953 Release note: None 98587: server: status test filters out non-heap files r=knz,abarganier a=dhartunian Resolves: #98213 Resolves: #47121 Epic: None Release note: None 98588: multiregionccl: skip TestColdStartLatency r=ajwerner a=ajwerner Epic: none Informs #96334 Release note: None Co-authored-by: Yevgeniy Miretskiy <yevgeniy@cockroachlabs.com> Co-authored-by: David Hartunian <davidh@cockroachlabs.com> Co-authored-by: ajwerner <awerner32@gmail.com>
- Loading branch information
Showing
28 changed files
with
928 additions
and
261 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
Oops, something went wrong.