[
https://issues.apache.org/jira/browse/HIVE-6965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13998111#comment-13998111
]
Ashutosh Chauhan commented on HIVE-6965:
----------------------------------------
+1
> Transaction manager should use RDBMS time instead of machine time
> -----------------------------------------------------------------
>
> Key: HIVE-6965
> URL: https://issues.apache.org/jira/browse/HIVE-6965
> Project: Hive
> Issue Type: Bug
> Components: Locking
> Affects Versions: 0.13.0
> Reporter: Alan Gates
> Assignee: Alan Gates
> Attachments: HIVE-6965.patch
>
>
> Current TxnHandler and CompactionTxnHandler use System.currentTimeMillis()
> when they need to determine the time (such as heartbeating transactions). In
> situations where there are multiple Thrift metastore services or users are
> using an embedded metastore this will lead to issues. We should instead be
> using time from the RDBMS, which is guaranteed to be the same for all users.
--
This message was sent by Atlassian JIRA
(v6.2#6252)