You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
144704: kvserver: refresh ReplicaUnavailableErrors on the leaderlessWatcher r=arulajmani a=arulajmani
Previously, we would construct a ReplicaUnavailableError on the
LeaderlessWatcher once (using an empty descriptor, which is rather
hilarious) and never updated the error. That meant that the returned
error wouldn't reflect the current state of the RangeDescriptor, which
made it hard to make sense of the shape of the unavailability.
This patch fixes the issue by refreshing the cached error on every
available -> unavailable state transition in the leaderlessWatcher.
Closes#144639
Release note: None
144900: sql: optimize SHOW CREATE TABLE performance with many schema objects r=fqazi a=fqazi
Previously, SHOW CREATE TABLE queried the crdb_internal.zones table to extract the zone configuration. This could be slow with a large number of objects because the subquery needed to scan the entirety of crdb_internal.zones, which would do one round-trip per zone config (to fetch descriptors). This patch optimizes crdb_internal.zones to fetch all required descriptors in a single request, instead of performing a round trip for each descriptor. Additionally, this patch adds a new BenchmarkORMQueries test in the rttanalysisccl package, configured for multi-region testing.
Fixes: #141827
Release note (bug fix): Improve slow SHOW CREATE TABLE on multi-region
databases with large number of objects
144969: go.mod: bump Pebble to c70ddd4f9c9e r=RaduBerinde a=jbowens
Changes:
* [`c70ddd4f`](cockroachdb/pebble@c70ddd4f) db: test replica removal of snapshot sstable
* [`c5327549`](cockroachdb/pebble@c5327549) manifest,record: disambiguate unexpected EOFs
* [`57c482fb`](cockroachdb/pebble@57c482fb) db: run score-based compactions before manual compactions
* [`7ed6738a`](cockroachdb/pebble@7ed6738a) go.mod: update axisds
* [`a7c678d0`](cockroachdb/pebble@a7c678d0) db: avoid use of internal type in ValueSeparationPolicy
* [`30569643`](cockroachdb/pebble@30569643) db: export FormatExperimentalValueSeparation
* [`c25e82e6`](cockroachdb/pebble@c25e82e6) tool: add blob handle print mode to tools
* [`6816ec8c`](cockroachdb/pebble@6816ec8c) manifest: rename AddedTablesByFileNum to AllAddedTables
* [`e589e571`](cockroachdb/pebble@e589e571) base: introduce TableNum
* [`b99c8d26`](cockroachdb/pebble@b99c8d26) db: add TestLargeKeys
* [`aa0446ac`](cockroachdb/pebble@aa0446ac) objstorageprovider: support blob files
* [`243d3baf`](cockroachdb/pebble@243d3baf) manifest: remove redundant smallest, largest bounds in TableMetadata
* [`decdc6ff`](cockroachdb/pebble@decdc6ff) db: deflake TestCheckpoint
* [`6e324c22`](cockroachdb/pebble@6e324c22) db: include blob files in checkpoints
* [`0ef24272`](cockroachdb/pebble@0ef24272) db: fix TestCompaction/value_separation merge skew
Release note: none.
Epic: none.
144987: changefeedccl: max changefeed.resolved_timestamp.granularity to 10s r=andyyang890 a=rharding6373
changefeed.resolved_timestamp.granularity was recently made metamorphic, but is causing test flakiness due to timeouts when it is >10s. This PR reduces the max to 10s.
Epic: none
Fixes: #144956Fixes: #144948Fixes: #144934
Release note: none
Co-authored-by: Arul Ajmani <[email protected]>
Co-authored-by: Faizan Qazi <[email protected]>
Co-authored-by: Jackson Owens <[email protected]>
Co-authored-by: rharding6373 <[email protected]>
0 commit comments