[ 
https://issues.apache.org/jira/browse/HIVE-25154?focusedWorklogId=603611&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-603611
 ]

ASF GitHub Bot logged work on HIVE-25154:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 28/May/21 16:28
            Start Date: 28/May/21 16:28
    Worklog Time Spent: 10m 
      Work Description: hmangla98 commented on a change in pull request #2311:
URL: https://github.com/apache/hive/pull/2311#discussion_r641674237



##########
File path: 
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/PartitionManagementTask.java
##########
@@ -162,6 +164,10 @@ public void run() {
         setupMsckPathInvalidation();
         Configuration msckConf = Msck.getMsckConf(conf);
         for (Table table : candidateTables) {
+          if 
(MetaStoreUtils.isDbBeingFailedOver(msc.getDatabase(table.getCatName(), 
table.getDbName()))) {

Review comment:
       Might not be doable. Say somehow we cached db failover property and 
after this repl.failover.enbaled prop is set to true for that db. Now, how will 
we figure out that cached data is outdated and needs to be fetched again?




-- 
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 603611)
    Time Spent: 50m  (was: 40m)

> Disable StatsUpdaterThread and PartitionManagementTask for db that is being 
> failoved over.
> ------------------------------------------------------------------------------------------
>
>                 Key: HIVE-25154
>                 URL: https://issues.apache.org/jira/browse/HIVE-25154
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Haymant Mangla
>            Assignee: Haymant Mangla
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 50m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to