Skip to content

Conversation

@yuzefovich
Copy link
Member

We just saw a package-level test timeout of 1 minute being hit because TestRandomInjectHints took 29s and TestParseArrayRandomParseArray took 16s before interruption. This commit reduces the number of iterations by 5x and 10x, respectively.

Fixes: #157256.
Release note: None

We just saw a package-level test timeout of 1 minute being hit because
`TestRandomInjectHints` took 29s and `TestParseArrayRandomParseArray`
took 16s before interruption. This commit reduces the number of
iterations by 5x and 10x, respectively.

Release note: None
@yuzefovich yuzefovich requested a review from a team as a code owner November 13, 2025 20:29
@yuzefovich yuzefovich requested review from mw5h and removed request for a team November 13, 2025 20:29
@cockroach-teamcity
Copy link
Member

This change is Reviewable

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 2 of 2 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @mw5h)

@yuzefovich yuzefovich added the backport-25.4.x Flags PRs that need to be backported to 25.4 label Nov 17, 2025
@yuzefovich
Copy link
Member Author

TFTR!

bors r+

craig bot pushed a commit that referenced this pull request Nov 17, 2025
157784: tree: speed up two tests r=yuzefovich a=yuzefovich

We just saw a package-level test timeout of 1 minute being hit because `TestRandomInjectHints` took 29s and `TestParseArrayRandomParseArray` took 16s before interruption. This commit reduces the number of iterations by 5x and 10x, respectively.

Fixes: #157256.
Release note: None

157852: mixedversion: remove special case for skipping current version r=williamchoe3 a=DarrylWong

In the past, we used to bump CRDB's minSupportedVersion _before_ bumping CRDB's current version.

Consider the old version bump process:
  1. Bump minimum supported version (e.g. 25.2→25.3)
  2. Bump current version (e.g. 25.4→26.1)
  3. Bump minimum supported version again (e.g. 25.3→25.4)

After the first step, we would be in a state where the mixed version framework would see v25.3 as a skippable version (.1 and .3 ordinal versions are skippable), but since the minimum supported version is 25.3, 25.2→25.4 is (temporarily) not a legal upgrade.

This required a special case to disallow skip upgrades in the case of this edge case. However, we now bump the current version _first_. This means we no longer need to protect against the above and we actually hit a different bug.

Since we now bump the current version first, the special case will always view the current version as having multiple supported predecessors and force a skip upgrade even if not applicable.

Release note: none
Epic: none

157919: roachprod: fix service registry unit test name collision r=golgeek a=DarrylWong

We were previously generating cluster names with Uint32, which is not sufficient enough to prevent naming collisions after 1000 iterations. Instead, use a RandString of length 10.

Fixes: #157884
Release note: none

157920: storage,server: add debug separated value retrieval profile endpoint r=RaduBerinde a=jbowens

Add a new debug endpoint that returns a text-formatted representation of all the stack traces that performed a retrieval of a separated value while the profile was being collected. This provides better observability into what code paths are suffering more expensive value retrievals.

Epic: none
Informs: #146575
Release note: none

Co-authored-by: Yahor Yuzefovich <[email protected]>
Co-authored-by: DarrylWong <[email protected]>
Co-authored-by: Jackson Owens <[email protected]>
@craig
Copy link
Contributor

craig bot commented Nov 17, 2025

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Nov 18, 2025

@craig craig bot merged commit 923f761 into cockroachdb:master Nov 18, 2025
23 checks passed
@blathers-crl
Copy link

blathers-crl bot commented Nov 18, 2025

Based on the specified backports for this PR, I applied new labels to the following linked issue(s). Please adjust the labels as needed to match the branches actually affected by the issue(s), including adding any known older branches.


Issue #157256: branch-release-25.4.


🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-25.4.x Flags PRs that need to be backported to 25.4 target-release-26.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sql/sem/tree: TestParseArrayRandomParseArray failed

3 participants