forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…db#41543 40953: colexec: refactor selection ops template r=yuzefovich a=yuzefovich Selection ops template similarly to projection ops template pre-dates our current way of using templates. This commit brings it in line with others. Release justification: Category 1: Non-production code changes. Release note: None 41507: storage: remove handleRaftReady from processRequestQueue, pool RaftMessageRequests r=nvanbenschoten a=nvanbenschoten This PR combines two optimizations that together speed up Sysbench's `oltp_insect` (in this config: cockroachdb#41465 (comment)) from a throughput of **115,308 qps** to **119,660 qps** (averaged over a series of trials), an improvement of **3.8%**. It also reduces average latency in these tests from **4.17 ms** to **4.02 ms**. The first optimization removes the call to `handleRaftReady` from `processRequestQueue`, which addresses an existing TODO. This is a partial revert of cockroachdb#12356. Calling `handleRaftReady` from `processRequestQueue` results in less batching and redundant calls to `handleRaftReady`. This does have a negative effect on throughput, as was speculated in that PR. It also makes the schedulers hooks into Raft processing more complex. This commit removes the explicit call to handleRaftReady from `processRequestQueue`. Instead, it opts to interact with the `raftScheduler` like `processTick` does. This simplifies the raft scheduler's interactions and improves write throughput. The second optimization pools the allocations of `RaftMessageRequest` objects. These were showing up as the top allocator in a run of Sysbench's `oltp_insert` workload. 41517: storage: Add GetSSTables on Pebble struct, enable compaction suggester r=itsbilal a=itsbilal This change updates the Pebble wrapper struct to implement `GetSSTables()`, which lets the compactor suggest compactions on pebble instances. Also remove related compactor != nil checks. Release note: None 41543: gceworker: confirm before stopping r=RaduBerinde a=RaduBerinde I accidentally executed the previous command in a terminal and that happened to be `gceworker.sh stop`. It stopped the VM in the middle of something, which was unfortunate. This commit adds a prompt, you have to type "yes" if you really mean it. We also put this prompt for the `delete` command and add the `--quiet` flag so we don't get the prompts from `gcloud`. Release note: None Co-authored-by: Yahor Yuzefovich <[email protected]> Co-authored-by: Nathan VanBenschoten <[email protected]> Co-authored-by: Bilal Akhtar <[email protected]> Co-authored-by: Radu Berinde <[email protected]>
- Loading branch information
Showing
16 changed files
with
513 additions
and
347 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
Oops, something went wrong.