Skip to content

Conversation

@tbg
Copy link
Member

@tbg tbg commented Dec 10, 2025

Backport 1/1 commits from #155057 on behalf of @tbg.


When follow-the-workload is disabled (#153865), leases no longer reliably stay on n1. Since the workload clients are always created on n1, they were able to use the loopback dialer (which avoids going through the TCP layer by using inter-progress communication instead) prior to that change.
We want these benchmarks to be independent of lease placement, so we disable the loopback dialer. That this was not done initially is likely an oversight.

This commit will cause a a benchmark regression, but it is due to changing what is being benchmarked. The regression does not result in any production change.

Informs #153866.

Epic: CRDB-55052
^-- because this is required for #153865.


Release justification: test-only change.

When follow-the-workload is disabled (cockroachdb#153865), leases no longer
reliably stay on n1. Since the workload clients are always
created on n1, they were able to use the loopback dialer (which
avoids going through the TCP layer by using inter-progress
communication instead) prior to that change.
We want these benchmarks to be independent of lease placement,
so we disable the loopback dialer. That this was not done
initially is likely an oversight.

This commit will cause a a benchmark regression, but it is
due to changing what is being benchmarked. The regression
does not result in any production change.
@blathers-crl blathers-crl bot added blathers-backport This is a backport that Blathers created automatically. O-robot Originated from a bot. labels Dec 10, 2025
@blathers-crl
Copy link

blathers-crl bot commented Dec 10, 2025

Thanks for opening a backport.

Before merging, please confirm that the change does not break backwards compatibility and otherwise complies with the backport policy. Include a brief release justification in the PR description explaining why the backport is appropriate. All backports must be reviewed by the TL for the owning area. While the stricter LTS policy does not yet apply, please exercise judgment and consider gating non-critical changes behind a disabled-by-default feature flag when appropriate.

@blathers-crl blathers-crl bot added backport Label PR's that are backports to older release branches T-kv KV Team labels Dec 10, 2025
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@cthumuluru-crdb cthumuluru-crdb left a comment

Choose a reason for hiding this comment

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

LGTM!

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

Labels

backport Label PR's that are backports to older release branches blathers-backport This is a backport that Blathers created automatically. O-robot Originated from a bot. T-kv KV Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants