[
https://issues.apache.org/jira/browse/HIVE-28563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmitriy Fingerman updated HIVE-28563:
-------------------------------------
Labels: 4.0.0 hive-4.2.0-candidate (was: hive-4.2.0-candidate)
> MaterializationsRebuildLockCleanerTask never cleans the abandoned MV Rebuild
> Lock entries from MATERIALIZATION_REBUILD_LOCKS table.
> -----------------------------------------------------------------------------------------------------------------------------------
>
> Key: HIVE-28563
> URL: https://issues.apache.org/jira/browse/HIVE-28563
> Project: Hive
> Issue Type: Bug
> Components: Materialized views
> Reporter: Dayakar M
> Assignee: Dayakar M
> Priority: Major
> Labels: 4.0.0, hive-4.2.0-candidate
>
> This is a followup Jira for HIVE-28416
>
> MaterializationsRebuildLockCleanerTask never cleans the abandoned MV Rebuild
> Lock entries from MATERIALIZATION_REBUILD_LOCKS table.
> As a part MaterializationsRebuildLockCleanerTask, before clearing the entries
> it checks whether the last heartbeat time for this lock entry is lesser than
> the (current time - hive transaction timeout) but the
> MaterializationRebuildLockHeartbeater heartbeats every (hive transaction
> timeout/2) so above condition will never meet and it won't clean the entries.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)