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

multi-region syntax diagrams #65342

Merged

Conversation

ericharmeling
Copy link
Contributor

  • Updated ALTER/CREATE DATABASE diagrams for multi-region
  • Updated CREATE TABLE diagram for multi-region
  • Added opt_locality diagram

Release note: None

@ericharmeling ericharmeling requested a review from ajstorm May 17, 2021 17:55
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@ericharmeling ericharmeling requested a review from RichardJCai May 17, 2021 20:18
@ericharmeling
Copy link
Contributor Author

bors r+

@craig
Copy link
Contributor

craig bot commented Jun 3, 2021

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Jun 3, 2021

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Jun 3, 2021

Build failed (retrying...):

@RichardJCai
Copy link
Contributor

I think you can just re bors this

@craig
Copy link
Contributor

craig bot commented Jun 3, 2021

Build failed:

@RichardJCai
Copy link
Contributor

RichardJCai commented Jun 3, 2021

[21:48:02]	[Ensure generated code is up-to-date] index ce189fa4c4..0000000000
[21:48:02]	[Ensure generated code is up-to-date] --- a/docs/generated/sql/bnf/alter_database_drop_region_stmt.bnf
[21:48:02]	[Ensure generated code is up-to-date] +++ /dev/null
[21:48:02]	[Ensure generated code is up-to-date] @@ -1,3 +0,0 @@
[21:48:02]	[Ensure generated code is up-to-date] -alter_database_drop_region_stmt ::=
[21:48:02]	[Ensure generated code is up-to-date] -	'ALTER' 'DATABASE' database_name 'DROP' 'REGION' region_name
[21:48:02]	[Ensure generated code is up-to-date] -	| 'ALTER' 'DATABASE' database_name 'DROP' 'REGION' 'IF' 'EXISTS' region_name
[21:48:02]	[Ensure generated code is up-to-date] diff --git a/docs/generated/sql/bnf/alter_database_primary_region_stmt.bnf b/docs/generated/sql/bnf/alter_database_primary_region_stmt.bnf
[21:48:02]	[Ensure generated code is up-to-date] deleted file mode 100644
[21:48:02]	[Ensure generated code is up-to-date] index 609857d8ab..0000000000
[21:48:02]	[Ensure generated code is up-to-date] --- a/docs/generated/sql/bnf/alter_database_primary_region_stmt.bnf
[21:48:02]	[Ensure generated code is up-to-date] +++ /dev/null
[21:48:02]	[Ensure generated code is up-to-date] @@ -1,2 +0,0 @@
[21:48:02]	[Ensure generated code is up-to-date] -alter_database_primary_region_stmt ::=
[21:48:02]	[Ensure generated code is up-to-date] -	'ALTER' 'DATABASE' database_name primary_region_clause
[21:48:02]	[Ensure generated code is up-to-date] ====================================================
[21:48:02]	[Ensure generated code is up-to-date] Some automatically generated code is not up to date.
[21:48:02]	[Ensure generated code is up-to-date] Run `make generate` to automatically regenerate these.
[21:48:02]	[Ensure generated code is up-to-date] Process exited with code 1

Nvm looks like theres a merge conflict, running make generate should fix it, just regen the docs.

- Updated ALTER/CREATE DATABASE diagrams for multi-region
- Updated CREATE TABLE diagram for multi-region
- Added opt_locality diagram

Release note: None
Release note: None
@ericharmeling ericharmeling force-pushed the multi-region-syntax-diagrams branch from a86b9d0 to c7e5259 Compare June 4, 2021 16:43
@ericharmeling
Copy link
Contributor Author

bors r+

@craig
Copy link
Contributor

craig bot commented Jun 7, 2021

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Jun 7, 2021

Build succeeded:

@craig craig bot merged commit 46ef251 into cockroachdb:master Jun 7, 2021
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