You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Peter Varga (Jira)" <ji...@apache.org> on 2020/06/19 09:31:00 UTC

[jira] [Created] (HIVE-23725) ValidTxnManager snapshot outdating causing partial reads in merge inserst

Peter Varga created HIVE-23725:
----------------------------------

             Summary: ValidTxnManager snapshot outdating causing partial reads in merge inserst
                 Key: HIVE-23725
                 URL: https://issues.apache.org/jira/browse/HIVE-23725
             Project: Hive
          Issue Type: Bug
            Reporter: Peter Varga
            Assignee: Peter Varga


When the ValidTxnManager invalidates the snapshot during merge insert and starts to read committed transactions that were not committed when the query compilation happened, it can cause partial read problems if the committed transaction created new partition in the source or target table.

The solution should be not only fix the snapshot but also recompile the query and acquire the locks again



--
This message was sent by Atlassian Jira
(v8.3.4#803005)