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

Palash Chauhan resolved PHOENIX-7499.
-------------------------------------
    Fix Version/s: 5.3.0
       Resolution: Fixed

> 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
>             Fix For: 5.3.0
>
>
> 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)

Reply via email to