[ 
https://issues.apache.org/jira/browse/PHOENIX-7652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Palash Chauhan resolved PHOENIX-7652.
-------------------------------------
    Resolution: Fixed

> Clear CDC Stream metadata when a table with CDC enabled is dropped
> ------------------------------------------------------------------
>
>                 Key: PHOENIX-7652
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7652
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Palash Chauhan
>            Assignee: Palash Chauhan
>            Priority: Major
>             Fix For: 5.3.0
>
>
> When CDC is created on a table, we create an entry in SYSTEM.CDC_STREAM. When 
> such a table is dropped, we should clear all stream metadata. Since we only 
> allow one ENABLED stream on a table at a time, creating the table and cdc 
> again with same names would throw an Exception. 
> *java.sql.SQLException: ERROR 10963 (44A45): CDC on this table is either 
> enabled or is in the process of being enabled.*



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to