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
136861: sql: separate pausable portal code paths in `execStmtInOpenState` r=mgartner a=mgartner #### sql: add `(*connExecutor).execStmtInOpenStateWithPausablePortal` The `execStmtInOpenStateWithPausablePortal` method has been added to `connExecutor`. It is currently an exact copy of `execStmtInOpenState`. Future commits will simplify both methods. Release note: None #### sql: remove `isPausablePortal` anonymous function in `execStmtInOpenStateWithPortal` Release note: None #### sql: remove pausable-portal-specific code paths in `execStmtInOpenState` Release note: None #### sql: remove `processCleanupFunc` in `execStmtInOpenState` Fixes cockroachdb#135908 Release note: None #### sql: remove `portal` parameter from `execStmtInOpenState` Release note: None #### sql: remove `localVars` struct in `execStmtInOpenState` Refactoring in previous commits has prevented all the `localVars` variables from escaping to the heap, except for `cancelQuery`. So the struct is no longer needed. Removing it reduces the size of heap allocations, since the entire struct was heap allocated previously. Release note: None #### sql: refactor errors in `execStmtInOpenState` Release note: None #### sql: add metamorphic test variable to force pausable portal logic Release note: None 136977: kvserver,rac2,tracker: use RaftMaxInflightBytes when force-flushing r=sumeerbhola a=sumeerbhola This limit is roughly respected, in that force-flush is paused when the limit is exceeded, and unpaused when ready handling indicates that the replicaSendStream is back within the limit. Informs cockroachdb#135814 Epic: none Release note: None 137313: raft: misc becomeFollower cleanups r=nvanbenschoten a=arulajmani See individual commits. Co-authored-by: Marcus Gartner <[email protected]> Co-authored-by: sumeerbhola <[email protected]> Co-authored-by: Arul Ajmani <[email protected]>
- Loading branch information
Showing
34 changed files
with
2,496 additions
and
1,731 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.