Viraj Jasani created PHOENIX-7499:
-------------------------------------
Summary: 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
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)