Skip to content

roachprod: make port expanders work with virtual clusters #150514

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 29, 2025

Conversation

DarrylWong
Copy link
Contributor

@DarrylWong DarrylWong commented Jul 18, 2025

Previously the pgport and uiport expanders would cache results for already discovered ports. However, this cache did not keep track of which virtual cluster the ports were for. This changes the expander to do so, similar to pgurl.

Release note: none
Epic: none
Fixes: none

Previously the pgport and uiport expanders would cache
results for already discovered ports. However, this cache
did not keep track of which virtual cluster the ports were
for. This changes the expander to do so, similar to pgurl.
@DarrylWong DarrylWong requested a review from a team as a code owner July 18, 2025 19:36
@DarrylWong DarrylWong requested review from herkolategan and srosenberg and removed request for a team July 18, 2025 19:36
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Collaborator

@herkolategan herkolategan left a comment

Choose a reason for hiding this comment

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

Thanks for adding these!

@DarrylWong
Copy link
Contributor Author

TFTRs!

bors r=herkolategan,golgeek

craig bot pushed a commit that referenced this pull request Jul 29, 2025
149374: changefeedccl: add pts management performance benchmark r=andyyang890 a=aerfrei

This change adds benchmarking for the behavior of the protected timestamp system. The benchmark is a roachtest that creates 200 instances of the tpcc workload and starts a changefeed watching their 200 order tables for 45 minutes.

We will use this same test to measure the performance of the pts system for multi-table feeds once they create a distinct pts record for each watched table.

Epic: CRDB-1421
Fixes: #147781
Release note: None

150514: roachprod: make port expanders work with virtual clusters r=herkolategan,golgeek a=DarrylWong

Previously the pgport and uiport expanders would cache results for already discovered ports. However, this cache did not keep track of which virtual cluster the ports were for. This changes the expander to do so, similar to pgurl.

Release note: none
Epic: none
Fixes: none

150871: application_api: Fix TestHotRanges2Response r=kyle-a-wong a=kyle-a-wong

Test asserted that the hot ranges response was ordered by CPUTimePerSecond descending, but its actually ascending.

Also unskips the test

Epic: None
Release note: None

Co-authored-by: Aerin Freilich <[email protected]>
Co-authored-by: DarrylWong <[email protected]>
Co-authored-by: Kyle Wong <[email protected]>
@craig
Copy link
Contributor

craig bot commented Jul 29, 2025

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Jul 29, 2025

@craig craig bot merged commit 5c2f5e3 into cockroachdb:master Jul 29, 2025
31 of 32 checks passed
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