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

Shreenidhi resolved HIVE-27107.
-------------------------------
    Resolution: Fixed

> Fix improper metrics count for RESUME/RESET workflow
> ----------------------------------------------------
>
>                 Key: HIVE-27107
>                 URL: https://issues.apache.org/jira/browse/HIVE-27107
>             Project: Hive
>          Issue Type: Task
>            Reporter: Shreenidhi
>            Assignee: Shreenidhi
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> *Analysis :* 
> REPL DUMP during RESET checks all the tables listed in table_diff_complete
> and persists the table count in replication metrics. This is incorrect for 
> RESET, 
> because table_diff_complete has those tables which needs to be dropped too.
> *Fix :* 
> To fix this, one can take intersection of (tables in table_diff_complete, 
> actual tables on source) and capture the same into the replication_metrics



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to