Skip to content

VReplication: allow foreign key constraints during copy#6284

Merged
sougou merged 3 commits intovitessio:masterfrom
planetscale:rn-vrepl-fk
Jun 18, 2020
Merged

VReplication: allow foreign key constraints during copy#6284
sougou merged 3 commits intovitessio:masterfrom
planetscale:rn-vrepl-fk

Conversation

@rohit-nayak-ps
Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Rohit Nayak <rohit@planetscale.com>
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
@rohit-nayak-ps rohit-nayak-ps marked this pull request as ready for review June 9, 2020 08:00
@rohit-nayak-ps rohit-nayak-ps requested a review from sougou as a code owner June 9, 2020 08:00
Copy link
Copy Markdown
Contributor

@sougou sougou left a comment

Choose a reason for hiding this comment

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

I think this can be simpler:

  • clearFKcheck should always set fk check to 0.
  • resetFKCheckAfterCopy can always set it back to whatever value getSettingFKCheck got.

Also, those logs will need to be removed (or changed to V).

Signed-off-by: Rohit Nayak <rohit@planetscale.com>
@rohit-nayak-ps
Copy link
Copy Markdown
Member Author

rohit-nayak-ps commented Jun 15, 2020

I think this can be simpler:

updated as suggested, ptal

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.

4 participants