-
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.
58217: sql/logictest: add a directive to skip the rest of a logictest on retry r=ajwerner a=ajwerner Some logictests, specifically schema_change_in_txn, periodically experience completely valid serializable restarts. We don't have a way to allow the test to proceed and retry in those cases. Instead, this allows the test to indicate that this happening is fine and to report instead that the test has been skipped. Touches #53724. Release note: None 58247: vendor: Bump pebble to f614b5ad0faa88f794548581b80ad05f99e044ba r=itsbilal a=itsbilal Changes pulled in: ``` f614b5ad0faa88f794548581b80ad05f99e044ba iterator: use i.pos in sampling 23ad85a4e5a6da313d31c0601f6b890d331c529b options: enable read based compactions 4c4e0431d28cc074ca949df757bc8c4b4aba1b72 db: return error if manual compaction start >= end 6f499ee95cfe97aa254a5f48d5dffd106662956b sstable: use fixed error in Close ``` Release note (performance improvement): Allow the storage engine to compact sstables based on reads, on read-heavy workloads. Co-authored-by: Andrew Werner <[email protected]> Co-authored-by: Bilal Akhtar <[email protected]>
- Loading branch information
Showing
7 changed files
with
61 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# LogicTest: local | ||
|
||
# This test demonstrates that the skip_on_retry directive works as expected. | ||
# The directive applies to the entire remainder of the file. | ||
|
||
statement ok | ||
BEGIN; SELECT * FROM system.namespace LIMIT 1; | ||
|
||
statement error pgcode 40001 TransactionRetryWithProtoRefreshError | ||
SELECT crdb_internal.force_retry('1h'); | ||
|
||
statement ok | ||
ROLLBACK; | ||
|
||
skip_on_retry | ||
|
||
subtest skip_this_subtest | ||
|
||
statement ok | ||
BEGIN; SELECT * FROM system.namespace LIMIT 1; | ||
|
||
statement ok | ||
SELECT crdb_internal.force_retry('1h'); | ||
|
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
Submodule vendor
updated
14 files