Shreenidhi created HIVE-27107:
---------------------------------

             Summary: 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


*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