You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Lenni Kuff (JIRA)" <ji...@apache.org> on 2016/10/07 02:00:27 UTC

[jira] [Created] (HIVE-14907) Hive Metastore should use repeatable-read consistency level

Lenni Kuff created HIVE-14907:
---------------------------------

             Summary: Hive Metastore should use repeatable-read consistency level
                 Key: HIVE-14907
                 URL: https://issues.apache.org/jira/browse/HIVE-14907
             Project: Hive
          Issue Type: Bug
          Components: Metastore
    Affects Versions: 2.2.0
            Reporter: Lenni Kuff


Currently HMS uses the "read-committed" consistency level which is the default for DataNucleus. This could cause potential problems since the state visible to each transaction can actually see updates from other transactions,  so it is very difficult to reason about any code that reads multiple pieces of data.

Instead it should use "repeatable-read" consistency which guarantees that any transaction only sees the state at the beginning of a transaction plus any updates done within a transaction.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)