[ https://issues.apache.org/jira/browse/PHOENIX-7639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Viraj Jasani updated PHOENIX-7639: ---------------------------------- Fix Version/s: 5.3.0 > Improve error handling in PhoenixMasterObserver > ----------------------------------------------- > > Key: PHOENIX-7639 > URL: https://issues.apache.org/jira/browse/PHOENIX-7639 > Project: Phoenix > Issue Type: Improvement > Reporter: Viraj Jasani > Priority: Major > Fix For: 5.3.0 > > > If the cluster is upgraded to Phoenix 5.3 without metadata upgrade, new > system tables SYSTEM.CDC_STREAM_STATUS and SYSTEM.CDC_STREAM will not be > created yet. > Any region merges or splits with PhoenixMasterObserver coproc hooks can > encounter errors as without the system tables, we cannot persist stream > partition metadata related to region splits and merges. We need to handle > this error. > Moreover, it is important to not miss the updates to SYSTEM.CDC_STREAM table > as part of postCompletedSplitRegionAction() and > postCompletedMergeRegionsAction(). The purpose of this Jira is to introduce > maximum retries possible to make the upserts successful. -- This message was sent by Atlassian Jira (v8.20.10#820010)