[
https://issues.apache.org/jira/browse/HIVE-24881?focusedWorklogId=570246&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-570246
]
ASF GitHub Bot logged work on HIVE-24881:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 23/Mar/21 05:52
Start Date: 23/Mar/21 05:52
Worklog Time Spent: 10m
Work Description: aasha commented on a change in pull request #2068:
URL: https://github.com/apache/hive/pull/2068#discussion_r599287490
##########
File path:
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java
##########
@@ -377,6 +377,8 @@ public void setConf(Configuration conf){
numOpenTxns = Metrics.getOrCreateGauge(MetricsConstants.NUM_OPEN_TXNS);
timeout = MetastoreConf.getTimeVar(conf, ConfVars.TXN_TIMEOUT,
TimeUnit.MILLISECONDS);
+ replicationTxnTimeout = MetastoreConf.getTimeVar(conf,
ConfVars.REPL_EVENT_DB_LISTENER_TTL, TimeUnit.MILLISECONDS) +
Review comment:
REPL_EVENT_DB_LISTENER_TTL value should be picked from source cluster.
If the value is different in source and target cluster, we can't automatically
determine this. Instead we should update the timeout config description and
provide this as a guideline.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 570246)
Time Spent: 4h 10m (was: 4h)
> Abort old open replication txns
> -------------------------------
>
> Key: HIVE-24881
> URL: https://issues.apache.org/jira/browse/HIVE-24881
> Project: Hive
> Issue Type: Bug
> Reporter: Karen Coppage
> Assignee: Karen Coppage
> Priority: Major
> Labels: pull-request-available
> Time Spent: 4h 10m
> Remaining Estimate: 0h
>
> We should auto-abort/remove open replication txns that are older than a time
> threshold (default: 24h).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)