-
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.
69768: workload: fix some missing Err() checks on sql.Query usages r=cucaroach a=cucaroach When calling Next until it returns false there could be error or it could be the end of results or an error could have occurred and Err must be called to see which happened. In cases where we call Next until it returns false the query is auto closed and its sufficient to call Err instead of Close. This fixes all but one of the cases found by the rowserrcheck linter, there's one false positive in tpcds that appears to be caused by go routine usage: pkg/workload/tpcds/tpcds.go:311:26: rows.Err must be checked Release justification: fixes hidden errors in test code Release note: None Fixes #68164 69941: storage: use atomic marker for file registry r=sumeerbhola a=jbowens Use a separate atomic marker file to denote which of the records-based, file registries is currently active. This scheme does not require atomic renames, and does not require closing and re-opening the registry during a rotation. This will need to be backported to crl-release-21.2. Fixes #69797. Informs #69861. Release justification: fixes a high-severity bug in new functionality Release note: None Co-authored-by: Tommy Reilly <[email protected]> Co-authored-by: Jackson Owens <[email protected]>
- Loading branch information
Showing
9 changed files
with
651 additions
and
139 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
Oops, something went wrong.