shreenidhiSaigaonkar opened a new pull request, #4084:
URL: https://github.com/apache/hive/pull/4084

   
   
   ### What changes were proposed in this pull request?
   This patch fixes the improper metrics (TABLE count) incase of RESUME/RESET 
by taking intersection of tables in ```table_diff_complete``` and actual 
```tables on source```. 
   
   
   
   ### Why are the changes needed?
   ```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.
   
   
   
   ### Does this PR introduce _any_ user-facing change?
   NO
   
   
   
   ### How was this patch tested?
   * Updated unit test for this scenario.
   * Tested it in local setup.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to