[
https://issues.apache.org/jira/browse/PHOENIX-7889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Palash Chauhan resolved PHOENIX-7889.
-------------------------------------
Resolution: Fixed
> Add metric for CDC event skips when maxDataVisibilityRetries is exhausted
> -------------------------------------------------------------------------
>
> Key: PHOENIX-7889
> URL: https://issues.apache.org/jira/browse/PHOENIX-7889
> Project: Phoenix
> Issue Type: Sub-task
> Reporter: Palash Chauhan
> Assignee: Palash Chauhan
> Priority: Major
>
> h4. Background
> In {{{}processCDCBatchGenerated(){}}}, the consumer fetches CDC events with
> the {{DATA_ROW_STATE}} scope, which triggers a server-side scan of the data
> table to reconstruct row state. If the data-table mutation hasn't yet become
> visible by the time the CDC event is read, the consumer retries up to
> {{maxDataVisibilityRetries}} times (default 10) waiting for visibility. If
> retries are exhausted, the consumer skips past the CDC events and advances
> its watermark to {{{}lastScannedTimestamp[0]{}}}.
> h4. Proposed fix
> Add cdcEventsSkippedAfterRetries counter
--
This message was sent by Atlassian Jira
(v8.20.10#820010)