-
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.
134665: catalog/lease: Improve reliability of TestLeaseRenewedAutomatically r=spilchen a=spilchen The TestLeaseRenewedAutomatically test is designed to verify that an expired lease is reacquired automatically. However, background processes acquiring leases caused occasional test flakiness. Efforts to limit this interference, such as disabling autostats, were only partially effective, as other background activity still sometimes caused issues. Rather than attempting to track every background process, I modified the test to focus lease checks exclusively on the two tables under test. This improved reliability in my local runs since it was the database descriptor lease, not the leases for the two tables, that was being acquired. This adjustment preserves the test’s intent while enhancing its stability. Epic: none Closes #133030 Release note: none 134682: go.mod: bump Pebble to 353a0367f335 r=RaduBerinde a=RaduBerinde Changes: * [`353a0367`](cockroachdb/pebble@353a0367) metamorphic: increase per-operation timeouts * [`501eb167`](cockroachdb/pebble@501eb167) block: improve FlushGovernor logic * [`2da617a0`](cockroachdb/pebble@2da617a0) sstable: fix LazyFetcher lifetime * [`d65b21a2`](cockroachdb/pebble@d65b21a2) tool: print sstable format in properties Informs #134420: ``` RefreshRange/mixed-case/refresh_window=[0.00,0.00]-8 122µs ± 0% 82µs ± 1% -32.46% (p=0.000 n=7+8) ``` Release note: none. Epic: none. Co-authored-by: Matt Spilchen <[email protected]> Co-authored-by: Radu Berinde <[email protected]>
- Loading branch information
Showing
6 changed files
with
23 additions
and
10 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 |
---|---|---|
|
@@ -1858,10 +1858,10 @@ def go_deps(): | |
patches = [ | ||
"@com_github_cockroachdb_cockroach//build/patches:com_github_cockroachdb_pebble.patch", | ||
], | ||
sha256 = "60c0ff92702935c3382230e5fff9cb0494ed05a8cc58fe971b6d3ed69efccedf", | ||
strip_prefix = "github.com/cockroachdb/[email protected]20241104213112-1af22dc322eb", | ||
sha256 = "469c3e059d4edd2907956850b051c923841fa05fd17a8b390c06c11d376e937f", | ||
strip_prefix = "github.com/cockroachdb/[email protected]20241108172819-353a0367f335", | ||
urls = [ | ||
"https://storage.googleapis.com/cockroach-godeps/gomod/github.com/cockroachdb/pebble/com_github_cockroachdb_pebble-v0.0.0-20241104213112-1af22dc322eb.zip", | ||
"https://storage.googleapis.com/cockroach-godeps/gomod/github.com/cockroachdb/pebble/com_github_cockroachdb_pebble-v0.0.0-20241108172819-353a0367f335.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