You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Shreenidhi (Jira)" <ji...@apache.org> on 2023/03/09 05:28:00 UTC

[jira] [Resolved] (HIVE-27107) Fix improper metrics count for RESUME/RESET workflow

     [ 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)