[ https://issues.apache.org/jira/browse/HIVE-25154?focusedWorklogId=604317&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-604317 ]
ASF GitHub Bot logged work on HIVE-25154: ----------------------------------------- Author: ASF GitHub Bot Created on: 01/Jun/21 04:06 Start Date: 01/Jun/21 04:06 Worklog Time Spent: 10m Work Description: pkumarsinha commented on a change in pull request #2311: URL: https://github.com/apache/hive/pull/2311#discussion_r642767227 ########## 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: Cache can be short lived and we can rebuild it every time. Then also, we will have it at one call per db at max. -- 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: 604317) Time Spent: 1h (was: 50m) > 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: 1h > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.4#803005)