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
118497: sql: add telemetry/dashboard for configured and used isolation level r=rafiss a=rafiss This telemetry will allow us to see when non-SERIALIZABLE isolation levels are used, and also when they are requested but automatically upgraded to SERIALIZABLE due to settings not being enabled yet. This does not track instances of SERIALIZABLE transactions, since that is the default, so the noise would overwhelm the other telemetry data. The telemetry is under the following feature counters: - sql.txn.isolation.executed_at.level - sql.txn.isolation.upgraded_from.level This also adds a chart to the DB Console to help discover if you are affected by changes to isolation level support. <img width="990" alt="image" src="https://github.com/cockroachdb/cockroach/assets/1320573/66884b64-b5c7-4d91-aded-f3b1ebfdefc7"> fixes cockroachdb#115647 Release note: None 118832: go.mod: bump Pebble to e49380ba5068, remove WaitForFileOnly() calls r=jbowens a=itsbilal ### go.mod: bump Pebble to e49380ba5068 Changes: * [`e49380ba`](cockroachdb/pebble@e49380ba) ingest: narrow transition of EFOS to file-only, delay excise panic * [`82baca4b`](cockroachdb/pebble@82baca4b) metamorphic: prevent write-after-close through history * [`b3570e83`](cockroachdb/pebble@b3570e83) metamorphic: fix passed test.run argument * [`11c37fc2`](cockroachdb/pebble@11c37fc2) wal: add facilities to list WAL files across Dirs * [`9da4d304`](cockroachdb/pebble@9da4d304) metamorphic: factor out key generation code * [`087fd92a`](cockroachdb/pebble@087fd92a) db: remove ExternalIterForwardOnly * [`7644abbe`](cockroachdb/pebble@7644abbe) db: use wal package * [`34c9b9df`](cockroachdb/pebble@34c9b9df) wal: standalone implementation (single log file per WAL) * [`24e7146a`](cockroachdb/pebble@24e7146a) internal/manifest: remove unused keyTypeAnnotator * [`b2d3930d`](cockroachdb/pebble@b2d3930d) internal/rangekey: remove coalesce's error return value * [`904a6c99`](cockroachdb/pebble@904a6c99) metamorphic: minor fixes to the reducer * [`e53e09a9`](cockroachdb/pebble@e53e09a9) metamorphic: consolidate key manager per-object structures * [`1d7852b3`](cockroachdb/pebble@1d7852b3) db: have excises wait for EFOS below them, reducing EFOS waits Release note: none. Epic: none. ---- ### *: remove calls to WaitForFileOnly() Previously, we were calling WaitForFileOnly() on EventuallyFileOnlySnapshots to avoid the need to handle pebble.ErrSnapshotExcised errors where an excise conflicts with an open EventuallyFileOnlySnapshot. This is now unnecessary as EventuallyFileOnlySnapshots are no longer expected to return that error. This change removes those waits as well as any associated infrastructure to speed up that wait for tests. This should have the effect of speeding up foreground consistency checks. Epic: none Release note: None Co-authored-by: Rafi Shamim <[email protected]> Co-authored-by: Bilal Akhtar <[email protected]>
- Loading branch information
Showing
23 changed files
with
356 additions
and
104 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1613,10 +1613,10 @@ def go_deps(): | |
patches = [ | ||
"@com_github_cockroachdb_cockroach//build/patches:com_github_cockroachdb_pebble.patch", | ||
], | ||
sha256 = "34984c356903add93953068151896854806ac05de4dcec4555605eadf15a01fd", | ||
strip_prefix = "github.com/cockroachdb/[email protected]20240131165956-fea6cbbb629b", | ||
sha256 = "06cbd97d50b1ca2cdd3795b467fb6e3b36ed7bc3c7590cca1004f3337153def2", | ||
strip_prefix = "github.com/cockroachdb/[email protected]20240206033832-e49380ba5068", | ||
urls = [ | ||
"https://storage.googleapis.com/cockroach-godeps/gomod/github.com/cockroachdb/pebble/com_github_cockroachdb_pebble-v0.0.0-20240131165956-fea6cbbb629b.zip", | ||
"https://storage.googleapis.com/cockroach-godeps/gomod/github.com/cockroachdb/pebble/com_github_cockroachdb_pebble-v0.0.0-20240206033832-e49380ba5068.zip", | ||
], | ||
) | ||
go_repository( | ||
|
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 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.