Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-14535 add insert-only ACID tables to Hive
  3. HIVE-17661

DBTxnManager.acquireLocks() - MM tables should use shared lock for Insert

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • Transactions

    Description

              case INSERT:
                assert t != null;
                if(AcidUtils.isFullAcidTable(t)) {
                  compBuilder.setShared();
                }
                else {
                  if (conf.getBoolVar(HiveConf.ConfVars.HIVE_TXN_STRICT_LOCKING_MODE)) {
      

      if(AcidUtils.isFullAcidTable(t)) {
      should probably be
      if(AcidUtils.isAcidTable(t)) {

      Attachments

        1. HIVE-17661.patch
          0.6 kB
          Sergey Shelukhin
        2. HIVE-17661.01.patch
          2 kB
          Sergey Shelukhin

        Activity

          People

            sershe Sergey Shelukhin
            ekoifman Eugene Koifman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: