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

crosscluster/logical: add mode option parsing #127384

Closed
wants to merge 1 commit into from

Conversation

Jeremyyang920
Copy link
Collaborator

This commit allows for the parsing of the mode option. Since we only support a single mode right now, when not provided it is set by default. Any other options other than immediate will result in an error.

Tests are also added to ensure error handling of options is properly returned.

Epic: none
Release note: None

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@Jeremyyang920 Jeremyyang920 marked this pull request as ready for review July 17, 2024 19:49
@Jeremyyang920 Jeremyyang920 requested review from a team as code owners July 17, 2024 19:49
@Jeremyyang920 Jeremyyang920 requested review from dt and stevendanna and removed request for a team July 17, 2024 19:49
@Jeremyyang920 Jeremyyang920 requested a review from a team as a code owner July 19, 2024 16:04
@Jeremyyang920
Copy link
Collaborator Author

Only the last commit is relevant. I rebased #127428 to get the proto updates.

This commit allows for the parsing of the mode option.
Since we only support a single mode right now, when not provided
it is set by default. Any other options other than immediate will
result in an error

Epic: none
Release note: None
@stevendanna
Copy link
Collaborator

I think we added this along the way in another PR. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants