[
https://issues.apache.org/jira/browse/HIVE-28563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18033879#comment-18033879
]
Denys Kuzmenko commented on HIVE-28563:
---------------------------------------
cc [~kkasa]
> 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
>
> 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)