Skip to content
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

roachtest: rename DSC job compat test for 24.3; avoid pooling #127404

Merged
merged 2 commits into from
Jul 18, 2024

Conversation

rafiss
Copy link
Collaborator

@rafiss rafiss commented Jul 17, 2024

See individual commits.

fixes #124442
fixes #124791
Release note: None

@rafiss rafiss added the backport-24.2.x Flags PRs that need to be backported to 24.2 label Jul 17, 2024
@rafiss rafiss requested a review from annrpom July 17, 2024 21:49
@rafiss rafiss requested a review from a team as a code owner July 17, 2024 21:49
@rafiss rafiss requested review from nameisbhaskar and vidit-bhat and removed request for a team July 17, 2024 21:49
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@annrpom annrpom left a comment

Choose a reason for hiding this comment

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

lgtm, but can we change the name as well

Name: "declarative_schema_changer/job-compatibility-mixed-version-V241-V242",

@annrpom
Copy link
Contributor

annrpom commented Jul 17, 2024

lgtm, but can we change the name as well

ignore this (edit: spoke offline about this)

This makes sure that session variables have their intended effect.

Release note: None
@rafiss rafiss removed the backport-24.2.x Flags PRs that need to be backported to 24.2 label Jul 18, 2024
@rafiss
Copy link
Collaborator Author

rafiss commented Jul 18, 2024

Only the first commit here should backported in order to fix #124791

bors r+

craig bot pushed a commit that referenced this pull request Jul 18, 2024
127210: pkg/cli: add --locality-file to server start commands r=JeffSwenson a=jaylim-crl

Previously, we can only specify locality configurations via the --locality
flag. This commit introduces a new --locality-file flag to all server start
commands (i.e. start, start-single-node, and mt start-sql), and would allow
us to specify locality configurations via a file. Note that for the specified
file, all leading and trailing whitespaces will be trimmed before processing.

This addresses a situation in CockroachDB Cloud where we are unable to access
the locality of the SQL servers during process startup, and we need to
populate this after. CockroachDB Cloud runs SQL pods for Serverless via the
`mt start-sql` subcommand, alongside with the `--tenant-id-file` flag. When
such a flag is specified, we will defer the loading of the locality file until
the tenant ID has been read. This would allow us to populate the locality file
during runtime (i.e. after the cockroach process has fully started).

Epic: none

Release note (cli change): A new `--locality-file` flag has been added to all
server start commands. With this flag, locality configurations can be
specified via a file, and this has the same effect as providing the file's
contents directly via the `--locality` flag.

127404: roachtest: add 24.2 DDLs to DSC job compat test; avoid pooling r=rafiss a=rafiss

See individual commits.

fixes #124442
fixes #124791
Release note: None

Co-authored-by: Jay <jay@cockroachlabs.com>
Co-authored-by: Rafi Shamim <rafi@cockroachlabs.com>
@rafiss rafiss changed the title roachtest: add 24.2 DDLs to DSC job compat test; avoid pooling roachtest: rename DSC job compat test for 24.3; avoid pooling Jul 18, 2024
@rafiss
Copy link
Collaborator Author

rafiss commented Jul 18, 2024

bors retry

@craig craig bot merged commit 6154ebf into cockroachdb:master Jul 18, 2024
22 checks passed
@rafiss rafiss deleted the fix-dsc-compat branch July 18, 2024 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants