-
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.
Browse files
Browse the repository at this point in the history
92082: roachtest: Retry failed SCP attempts in the same way as SSH commands. r=smg260 a=smg260 Any error returned is assumed to be retryable (in contrast to SSH where by default we look for an exit code of 255) Release note: none Epic: CRDB-21386 92266: parser: delete RESTORE TENANT ... FROM REPLICATION r=stevendanna a=adityamaru Release note: None 92270: parser: normalize docs link in TestParseDatadriven r=rafiss a=rafiss fixes #92201 Release note: None 92271: test: update time on test r=maryliag a=maryliag The test `pkg/sql/scheduledlogging/TestCaptureIndexUsageStats` was flaky on CI, even though it was passing (including on stress) locally. This commit increases the time buffer used to account for non-determinism in the logging timings. Fixes #92006 Release note: None 92272: sqlstats: avoid mutex deadlock in Container.SaveToLog r=maryliag a=nvanbenschoten This commit fixes the locking in `ssmemstorage.Container.SaveToLog` to avoid a deadlock. Since 06f6874, we've been unlocking the incorrect mutex in the method. Luckily, it doesn't look like this code is called by default, because `sql.metrics.statement_details.dump_to_logs` defaults to false. If a user was to change that to true, they would have a bad time. This code could use a test. I don't plan to add one here because I don't know the code well and only stumbled upon this during an unrelated support escalation, but I encourage others to consider extending the testing. Release note (bug fix): When configured to true, the `sql.metrics.statement_details.dump_to_logs` cluster setting no longer causes a mutex deadlock. Epic: None Co-authored-by: Miral Gadani <[email protected]> Co-authored-by: adityamaru <[email protected]> Co-authored-by: Rafi Shamim <[email protected]> Co-authored-by: maryliag <[email protected]> Co-authored-by: Nathan VanBenschoten <[email protected]>
- Loading branch information
Showing
13 changed files
with
55 additions
and
119 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
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 was deleted.
Oops, something went wrong.
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