Eugene Koifman created HIVE-11965: ------------------------------------- Summary: add heartbeat count for each lock/transaction Key: HIVE-11965 URL: https://issues.apache.org/jira/browse/HIVE-11965 Project: Hive Issue Type: Bug Components: Transactions Affects Versions: 0.14.0 Reporter: Eugene Koifman Assignee: Eugene Koifman
We should add a HEARTBEAT_COUNT column to HIVE_LOCKS and TXNS tables so that queries that update LAST_HEARTBEAT also set HEARTBEAT_COUNT=HEARTBEAT_COUNT + 1. This should only be set on explicit heartbeat call, not ones resulting from commits, etc. This has low overhead but allows us to detect clients that heartbeat more often than is necessary thus creating useless extra load on metastore. -- This message was sent by Atlassian JIRA (v6.3.4#6332)