Skip to content

Conversation

@yuzefovich
Copy link
Member

In 25.1 release we switched to using SQL-instance-based DistSQL physical planning but left gossip-based planning just in case (controlled via a cluster setting). We haven't seen any fallout from that, and given that many different workloads have been upgraded to 25.2, it seems safe to completely remove gossip-based planning now.

Epic: None
Release note: None

In 25.1 release we switched to using SQL-instance-based DistSQL physical
planning but left gossip-based planning just in case (controlled via
a cluster setting). We haven't seen any fallout from that, and given
that many different workloads have been upgraded to 25.2, it seems safe
to completely remove gossip-based planning now.

Release note: None
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@yuzefovich yuzefovich marked this pull request as ready for review November 7, 2025 19:29
@yuzefovich yuzefovich requested review from a team as code owners November 7, 2025 19:29
@yuzefovich yuzefovich requested review from kev-cao and removed request for a team and kev-cao November 7, 2025 19:29
Copy link
Collaborator

@mgartner mgartner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

@mgartner reviewed 4 of 4 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @DrewKimball and @michae2)

Copy link
Collaborator

@michae2 michae2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

@michae2 reviewed 4 of 4 files at r1, all commit messages.
Reviewable status: :shipit: complete! 2 of 0 LGTMs obtained (waiting on @DrewKimball)

@yuzefovich
Copy link
Member Author

TFTRs!

bors r+

@yuzefovich
Copy link
Member Author

An interesting side-effect of using sql-instance-based planning is that it protects placement of TableReaders against a range split within SQL row. This is the case because we stitch together spans that look like they belong to the same SQL row

if bound == PartitionSpansBoundCFWithinRow {
. (We still could hit problems when using the Streamer API if there is a range split within a single SQL row.)

craig bot pushed a commit that referenced this pull request Nov 8, 2025
157077: sql: remove gossip-based DistSQL physical planning r=yuzefovich a=yuzefovich

In 25.1 release we switched to using SQL-instance-based DistSQL physical planning but left gossip-based planning just in case (controlled via a cluster setting). We haven't seen any fallout from that, and given that many different workloads have been upgraded to 25.2, it seems safe to completely remove gossip-based planning now.

Epic: None
Release note: None

157079: sql: speed up recently added TestTruncateLarge r=yuzefovich a=yuzefovich

We just saw a timeout in tests where 15m limit was exceeded because more than 11m were consumed by TestTruncateLarge. In order to speed up the test, this commit reduces the number of tables affected as well as runs both subtests in parallel (which - hopefully - should be ok given that we skip this test under all heavy configs).

Fixes: #156998.
Release note: None

157086: go.mod: bump Pebble to f11535e4f8ec r=annrpom a=annrpom

Changes:

 * [`f11535e4`](cockroachdb/pebble@f11535e4) db: use Peek in TestVersionSetSeqNums
 * [`1ba71aa2`](cockroachdb/pebble@1ba71aa2) wal: consolidate LogRecycler.[Set]MinRecycleLogNum
 * [`82d592ec`](cockroachdb/pebble@82d592ec) db: document that multiple flushableEntries may share a logNum
 * [`9b012186`](cockroachdb/pebble@9b012186) db: add metric encapsulating blob file rewrite bytes read, written
 * [`b0c3d6c1`](cockroachdb/pebble@b0c3d6c1) db: disable writing to value blocks if `DisableSeparationBySuffix` is true
 * [`562c8d4d`](cockroachdb/pebble@562c8d4d) internal/manifest: document relationship between LastSeqNum and WAL seqnums
 * [`6d692923`](cockroachdb/pebble@6d692923) github: make sure the AI review bot picks up a PR with label added after creation

Release note: none.
Epic: none.

Co-authored-by: Yahor Yuzefovich <yahor@cockroachlabs.com>
Co-authored-by: Annie Pompa <annie@cockroachlabs.com>
@craig
Copy link
Contributor

craig bot commented Nov 8, 2025

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Nov 8, 2025

@craig craig bot merged commit f98eb99 into cockroachdb:master Nov 8, 2025
24 checks passed
@yuzefovich yuzefovich deleted the remove-gossip-planning branch November 8, 2025 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants