[
https://issues.apache.org/jira/browse/HIVE-25154?focusedWorklogId=605053&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-605053
]
ASF GitHub Bot logged work on HIVE-25154:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 02/Jun/21 09:40
Start Date: 02/Jun/21 09:40
Worklog Time Spent: 10m
Work Description: pkumarsinha commented on a change in pull request #2311:
URL: https://github.com/apache/hive/pull/2311#discussion_r643786935
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/stats/StatsUpdaterThread.java
##########
@@ -646,6 +668,10 @@ public boolean runOneWorkerIteration(
return true;
}
+ private synchronized boolean isDbPresentInFailoverSet(String dbName) {
+ return dbsBeingFailedOver.containsKey(dbName) &&
dbsBeingFailedOver.get(dbName);
Review comment:
This will not give the desired protection. The atomicity part is still
vulnerable
--
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 605053)
Time Spent: 2h 40m (was: 2.5h)
> 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: 2h 40m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)