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

[doc][cdc] Update logical replication limitation on table rewrite DDLs #25511

Merged
merged 3 commits into from
Jan 13, 2025

Conversation

utkarsh-um-yb
Copy link
Contributor

@utkarsh-um-yb utkarsh-um-yb commented Jan 7, 2025

Updated logical replication limitations to reflect the recent changes of allowing table re-write DDLs before the slot creation.
For more info:

  1. Table Re-write DDLs Before Slot Creation
  2. Issues with DDLs in Logical Replication

DOC-611

@CLAassistant
Copy link

CLAassistant commented Jan 7, 2025

CLA assistant check
All committers have signed the CLA.

Copy link

netlify bot commented Jan 7, 2025

Deploy Preview for infallible-bardeen-164bc9 ready!

Name Link
🔨 Latest commit 5f17fe0
🔍 Latest deploy log https://app.netlify.com/sites/infallible-bardeen-164bc9/deploys/67855a49832e5c0008127130
😎 Deploy Preview https://deploy-preview-25511--infallible-bardeen-164bc9.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Sumukh-Phalgaonkar
Copy link
Contributor

Can you also add this limitation to the preview version in docs docs/content/preview/develop/change-data-capture/using-logical-replication/_index.md

@utkarsh-um-yb utkarsh-um-yb requested a review from ddhodge January 8, 2025 08:11
@ddhodge ddhodge added the area/documentation Documentation needed label Jan 8, 2025
@ddhodge ddhodge removed the request for review from aishwarya24 January 9, 2025 06:09
@ddhodge ddhodge changed the title [docs] Update logical replication limitation on table rewrite DDLs [doc][cdc] Update logical replication limitation on table rewrite DDLs Jan 9, 2025
@@ -103,7 +103,7 @@ For reference documentation, see [YugabyteDB Connector](./yugabytedb-connector/)

- CDC is not supported on a target table for xCluster replication [11829](https://github.com/yugabyte/yugabyte-db/issues/11829).

- Currently, CDC doesn't support schema evolution for changes that require table rewrites (for example, [ALTER TYPE](../../../api/ysql/the-sql-language/statements/ddl_alter_table/#alter-type-with-table-rewrite)), or DROP TABLE and TRUNCATE TABLE operations.
- Currently, CDC doesn't support schema evolution for changes that require table rewrites (for example, [ALTER TYPE](../../../api/ysql/the-sql-language/statements/ddl_alter_table/#alter-type-with-table-rewrite)), or DROP TABLE and TRUNCATE TABLE operations after the replication slot is created. However, these operations can be performed before the replication slot creation without any issues.
Copy link
Contributor

Choose a reason for hiding this comment

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

Does "after the replication slot is created" apply to both schema evolution changes and Drop/Truncate, or only Drop/Truncate?

@ddhodge ddhodge merged commit 1f54aa3 into yugabyte:master Jan 13, 2025
2 checks passed
vpatibandla-yb pushed a commit that referenced this pull request Jan 16, 2025
#25511)

* [docs] Update logical replication limitation on table rewrite DDLs

* Apply suggestions from code review

* copy to preview (2.25)

---------

Co-authored-by: Dwight Hodge <[email protected]>
Co-authored-by: Dwight Hodge <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation Documentation needed
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants