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

[DocDB] xcluster: Automatically propagate DDL changes across clusters #11537

Open
bmatican opened this issue Feb 18, 2022 · 4 comments
Open

[DocDB] xcluster: Automatically propagate DDL changes across clusters #11537

bmatican opened this issue Feb 18, 2022 · 4 comments
Assignees
Labels
area/docdb YugabyteDB core features kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue xCluster Label for xCluster related issues/improvements

Comments

@bmatican
Copy link
Contributor

bmatican commented Feb 18, 2022

Jira Link: DB-888

Description

Automatic Propagation and Apply of DDL changes from xCluster Source to Target for YSQL tables.

Use-case:

  1. User sets up replication for an entire database/keyspace between source and target universes ([xCluster] Support Database/Keyspace level replication #10984)
  2. Any DDLs performed within the source universe on the databases that are part of replication should automatically get replicated to the target side and applied to the target similar to how modifications to data are propagated.

Phases:

  1. Automatic propagation of create table/index/partition operations so that any new objects created on the source are automatically created on the target and added to replication
  2. Automatic propagation of drops - Objects dropped on source automatically get removed from replication and get dropped on the target universe.
  3. Alters: Any Alter table operations automatically get applied on the target side in the right order.
  4. All other DDL operations - such as view creation, stored procedure creation etc.
@bmatican bmatican added area/docdb YugabyteDB core features xCluster Label for xCluster related issues/improvements labels Feb 18, 2022
@bmatican bmatican added this to To do in xCluster replication via automation Feb 18, 2022
@yugabyte-ci yugabyte-ci added kind/bug This issue is a bug priority/medium Medium priority issue labels Jun 8, 2022
@mrajcevic01
Copy link
Contributor

@bmatican @nspiegelberg can we include the specific GH issues for the different phases of this project to the description?

@yugabyte-ci yugabyte-ci added kind/enhancement This is an enhancement of an existing feature and removed kind/bug This issue is a bug labels Jul 30, 2022
@yugabyte-ci yugabyte-ci assigned hulien22 and unassigned nspiegelberg Mar 1, 2023
@hulien22 hulien22 added this to To do in xCluster DDL Replication via automation Sep 19, 2023
@hulien22 hulien22 moved this from To do to Parent Issues in xCluster DDL Replication Sep 19, 2023
@abuzarkamal
Copy link

Hello, Recently I started exploring and projecting Yugabyte as a distributed solution in my organization. I would like to know if there is any progress regarding DDL replication in Xcluster setup.

@hulien22
Copy link
Contributor

@abuzarkamal yes this feature is being actively worked on - this is just the parent issue, smaller issues are being worked on and tracked in the xCluster DDL Replication project

@abuzarkamal
Copy link

Thanks for the update, Great progress

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docdb YugabyteDB core features kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue xCluster Label for xCluster related issues/improvements
Development

No branches or pull requests

6 participants