Dayakar M created HIVE-28563:
--------------------------------

             Summary: 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
      Security Level: Public (Viewable by anyone)
          Components: Materialized views
            Reporter: Dayakar M
            Assignee: Dayakar M


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)

Reply via email to