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

[CDCSDK] Handle DDL on enum and composite type #13943

Open
arpang opened this issue Sep 9, 2022 · 0 comments
Open

[CDCSDK] Handle DDL on enum and composite type #13943

arpang opened this issue Sep 9, 2022 · 0 comments
Assignees
Labels
area/cdcsdk CDC SDK kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue
Projects

Comments

@arpang
Copy link
Contributor

arpang commented Sep 9, 2022

Jira Link: DB-3439

Description

We support enum and composite types in CDC.

A DDL on these types renders the cache stale. This is a current limitation as we do not handle DDL operations on these types in CDC. The task is to handle this.

Whenever we encounter a DDL entry on a UDT types (enum or composite), we can fetch fresh metadata from the master for this type. In the RPC GetUDTypeMetadataRequestPB, an optional field pg_type_oid is added for this purpose.

Internal reference: https://docs.google.com/document/d/1MzHV2ijweI1WMQNRu0A7er93Ff8n0zVNMKE_rpHI5L8/edit#

@arpang arpang added area/docdb YugabyteDB core features status/awaiting-triage Issue awaiting triage labels Sep 9, 2022
@yugabyte-ci yugabyte-ci added kind/bug This issue is a bug priority/medium Medium priority issue labels Sep 9, 2022
@arpang arpang added area/cdcsdk CDC SDK kind/enhancement This is an enhancement of an existing feature and removed area/docdb YugabyteDB core features kind/bug This issue is a bug status/awaiting-triage Issue awaiting triage labels Sep 9, 2022
@arpang arpang added this to To do in CDC Sep 9, 2022
@yugabyte-ci yugabyte-ci added kind/bug This issue is a bug and removed kind/enhancement This is an enhancement of an existing feature labels Jan 6, 2023
@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 Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cdcsdk CDC SDK kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue
Projects
CDC
  
To do
Development

No branches or pull requests

4 participants