-
Notifications
You must be signed in to change notification settings - Fork 651
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
Add support for create / drop database propagation from non-main databases #7439
Conversation
5749675
to
570ed2a
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #7439 +/- ##
==========================================
- Coverage 89.59% 89.06% -0.54%
==========================================
Files 282 282
Lines 60354 60369 +15
Branches 7517 7521 +4
==========================================
- Hits 54076 53766 -310
- Misses 4126 4401 +275
- Partials 2152 2202 +50 |
570ed2a
to
4a4db7c
Compare
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.
Looks good overall, nice and simple. Left a few comments though.
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.
Looks good overall, nice and simple. Left a few comments though.
Did we agree on calling out other databases as "non-main dbs" in user-facing errors / docs, or should we instead say What do you think @halilozanakgul, @JelteF? |
4a4db7c
to
ffff54f
Compare
ffff54f
to
822aadc
Compare
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.
822aadc
to
146a685
Compare
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.
there's something strange going on with the commit list. It's containing a ton of commits from Gurkan.
146a685
to
e0d0660
Compare
pushed again now |
…ain dbs (#7532) When adding CREATE/DROP DATABASE propagation in #7240, luckily we've added EnsureSupportedCreateDatabaseCommand() check into deparser too just to be on the safe side. That way, today CREATE DATABASE commands from non-main dbs don't silently allow unsupported options. I wasn't aware of this when merging #7439 and hence wanted to add a test so that we don't mistakenly remove that check from deparser in future.
…bases (#7439) DESCRIPTION: Adds support for distributed `CREATE/DROP DATABASE ` commands from the databases where Citus is not installed --------- Co-authored-by: Onur Tirtir <onurcantirtir@gmail.com>
…ain dbs (#7532) When adding CREATE/DROP DATABASE propagation in #7240, luckily we've added EnsureSupportedCreateDatabaseCommand() check into deparser too just to be on the safe side. That way, today CREATE DATABASE commands from non-main dbs don't silently allow unsupported options. I wasn't aware of this when merging #7439 and hence wanted to add a test so that we don't mistakenly remove that check from deparser in future.
DESCRIPTION: Adds support for distributed
CREATE/DROP DATABASE
commands from the databases where Citus is not installed