[
https://issues.apache.org/jira/browse/HIVE-19893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16512677#comment-16512677
]
Jesus Camacho Rodriguez edited comment on HIVE-19893 at 6/14/18 4:17 PM:
-------------------------------------------------------------------------
I included the fix in HIVE-19876. Instead of changing comparison method, it
seemed to me more logical to change the method that generates the IDs, it does
not make sense to include the high watermark in the list of open txns.
was (Author: jcamachorodriguez):
I included the fix in HIVE-19876.
> TxnIdUtils.checkEquivalentWriteIds may return false negatives
> -------------------------------------------------------------
>
> Key: HIVE-19893
> URL: https://issues.apache.org/jira/browse/HIVE-19893
> Project: Hive
> Issue Type: Bug
> Components: Transactions
> Reporter: Jesus Camacho Rodriguez
> Priority: Major
>
> Observed while working on HIVE-19876.
> Following two lists are equivalent:
> {noformat}
> default.tbl:2:2:2: (hwm:2, minOpenId:2, openTxns:[2])
> default.tbl:2:9223372036854775807:: (hwm:2, minOpenId:none)
> {noformat}
> However, {{checkEquivalentWriteIds}} will return false, i.e., not equivalent.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)