You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Palash Chauhan (Jira)" <ji...@apache.org> on 2025/01/13 18:41:00 UTC
[jira] [Assigned] (PHOENIX-7499) Update stream metadata when data table regions merge
[ https://issues.apache.org/jira/browse/PHOENIX-7499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Palash Chauhan reassigned PHOENIX-7499:
---------------------------------------
Assignee: Palash Chauhan
> Update stream metadata when data table regions merge
> ----------------------------------------------------
>
> Key: PHOENIX-7499
> URL: https://issues.apache.org/jira/browse/PHOENIX-7499
> Project: Phoenix
> Issue Type: Sub-task
> Reporter: Viraj Jasani
> Assignee: Palash Chauhan
> Priority: Major
>
> PHOENIX-7460 takes care of updating Phoenix CDC Stream metadata when a data table region splits. Similarly, when more than one regions are merged into single region, we should update the stream metadata to reflect the parent/child relationship among the stream partitions that virtually represent data table regions.
> HBase MasterObserver coproc hook to be used after successful region merge:
> {code:java}
> /**
> * called after the regions merge.
> * @param ctx the environment to interact with the framework and master
> */
> default void postCompletedMergeRegionsAction(
> final ObserverContext<MasterCoprocessorEnvironment> ctx, final RegionInfo[] regionsToMerge,
> final RegionInfo mergedRegion) throws IOException {
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)