Skip to content

Commit c5656c7

Browse files
committed
HIVE-26704: Addendum: Use minHistoryWriteId by default
1 parent 94874ff commit c5656c7

File tree

1 file changed

+3
-2
lines changed
  • standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf

1 file changed

+3
-2
lines changed

standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1675,10 +1675,11 @@ public enum ConfVars {
16751675
"time after which transactions are declared aborted if the client has not sent a heartbeat."),
16761676
TXN_OPENTXN_TIMEOUT("metastore.txn.opentxn.timeout", "hive.txn.opentxn.timeout", 1000, TimeUnit.MILLISECONDS,
16771677
"Time before an open transaction operation should persist, otherwise it is considered invalid and rolled back"),
1678-
TXN_USE_MIN_HISTORY_LEVEL("metastore.txn.use.minhistorylevel", "hive.txn.use.minhistorylevel", true,
1678+
@Deprecated
1679+
TXN_USE_MIN_HISTORY_LEVEL("metastore.txn.use.minhistorylevel", "hive.txn.use.minhistorylevel", false,
16791680
"Set this to false, for the TxnHandler and Cleaner to not use MIN_HISTORY_LEVEL table and take advantage of openTxn optimisation.\n"
16801681
+ "If the table is dropped HMS will switch this flag to false, any other value changes need a restart to take effect."),
1681-
TXN_USE_MIN_HISTORY_WRITE_ID("metastore.txn.use.minhistorywriteid", "hive.txn.use.minhistorywriteid", false,
1682+
TXN_USE_MIN_HISTORY_WRITE_ID("metastore.txn.use.minhistorywriteid", "hive.txn.use.minhistorywriteid", true,
16821683
"Set this to true, to avoid global minOpenTxn check in Cleaner.\n"
16831684
+ "If the table is dropped HMS will switch this flag to false."),
16841685
LOCK_NUMRETRIES("metastore.lock.numretries", "hive.lock.numretries", 100,

0 commit comments

Comments
 (0)