-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[feature](alter colocate group) Support alter colocate group replica allocation #23320
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
[feature](alter colocate group) Support alter colocate group replica allocation #23320
Conversation
|
run buildall |
docs/en/docs/sql-manual/sql-reference/Data-Definition-Statements/Alter/ALTER-COLOCATE-GROUP.md
Outdated
Show resolved
Hide resolved
docs/en/docs/sql-manual/sql-reference/Data-Definition-Statements/Alter/ALTER-COLOCATE-GROUP.md
Outdated
Show resolved
Hide resolved
4c62368 to
a8a6839
Compare
af0935e to
2b535cd
Compare
|
run buildall |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
|
run buildall |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
1b76505 to
e42714a
Compare
|
run buildall |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
e42714a to
d2ba0a6
Compare
|
run buildall |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
d2ba0a6 to
682dbb5
Compare
|
run buildall |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
dataroaring
left a comment
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.
LGTM
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
Proposed changes
Support alter colocate group's replica allocation.
SQL command:
ALTER COLOCATE GROUP [database.]group SET ("replication_allocation" = "...").Colocate group belongs to a database, but if its name starts with
__global__, then it's a global group, and does not belong to any database;After alter group schema's replica allocations, also modify all the group's related tables's propertities
default.replication_allocationanddynamic.replication_allocation, also modify all the table's existing partitions's replica allocations;Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...