-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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 SKIP SCHEMA CHECK option #131090
crosscluster/logical: add SKIP SCHEMA CHECK option #131090
Conversation
PR cockroachdb#130905 added several checks to LDR stream planning to ensure a bidrectional stream will suceed. A user may want to skip the table equivalency checks (e.g. all constraints are matching) if they are running a unidirectional stream or if they simply want to live life on the edge. Epic: none Release note: none
It looks like your PR touches SQL parser code but doesn't add or edit parser tests. Please make sure you add or edit parser tests if you edit the parser. 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 5 of 5 files at r1, all commit messages.
Reviewable status: complete! 0 of 0 LGTMs obtained (waiting on @azhu-crl, @dt, @msbutler, and @stevendanna)
pkg/sql/catalog/tabledesc/logical_replication_helpers.go
line 35 at r1 (raw file):
return pgerror.Wrapf(err, pgcode.InvalidTableDefinition, cannotLDRMsg) } }
Do we want to throw a pgnotice just incase when the check is skipped?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! 0 of 0 LGTMs obtained (waiting on @azhu-crl, @dt, @fqazi, and @stevendanna)
pkg/sql/catalog/tabledesc/logical_replication_helpers.go
line 35 at r1 (raw file):
Previously, fqazi (Faizan Qazi) wrote…
Do we want to throw a pgnotice just incase when the check is skipped?
i don't think we need to. they are explicitly asking us to skip the check with the SKIP SCHEMA CHECK
option.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @azhu-crl, @dt, @msbutler, and @stevendanna)
pkg/sql/catalog/tabledesc/logical_replication_helpers.go
line 35 at r1 (raw file):
Previously, msbutler (Michael Butler) wrote…
i don't think we need to. they are explicitly asking us to skip the check with the
SKIP SCHEMA CHECK
option.
Fair
bors r+ |
PR #130905 added several checks to LDR stream planning to ensure a bidrectional stream will suceed. A user may want to skip the table equivalency checks (e.g. all constraints are matching) if they are running a unidirectional stream or if they simply want to live life on the edge.
Epic: none
Release note: none