[ 
https://issues.apache.org/jira/browse/HIVE-23560?focusedWorklogId=460982&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-460982
 ]

ASF GitHub Bot logged work on HIVE-23560:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 20/Jul/20 09:31
            Start Date: 20/Jul/20 09:31
    Worklog Time Spent: 10m 
      Work Description: pvary commented on a change in pull request #1232:
URL: https://github.com/apache/hive/pull/1232#discussion_r457220034



##########
File path: 
standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift
##########
@@ -2066,6 +2066,10 @@ struct GetReplicationMetricsRequest {
   3: optional i64 dumpExecutionId
 }
 
+struct GetOpenTxnsRequest {
+  1: required list<TxnType> excludeTxnTypes;

Review comment:
       Could we make this optional? So if we later want to change the 
GetOpenTxnsRequest object we do not end up sending an empty list all the time? 
(as a general rule for new methods we create a Request object for them with all 
optional fields)
   Also this might need some checks later in the code, but we might want to 
merge the codepath for the original get_open_txns method with this new one as 
soon as possible.




----------------------------------------------------------------
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: 460982)
    Time Spent: 3h 10m  (was: 3h)

> Optimize bootstrap dump to abort only write Transactions
> --------------------------------------------------------
>
>                 Key: HIVE-23560
>                 URL: https://issues.apache.org/jira/browse/HIVE-23560
>             Project: Hive
>          Issue Type: Task
>            Reporter: Aasha Medhi
>            Assignee: Aasha Medhi
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-23560.01.patch, HIVE-23560.02.patch, 
> HIVE-23560.03.patch, HIVE-23560.04.patch, Optimize bootstrap dump to avoid 
> aborting all transactions.pdf
>
>          Time Spent: 3h 10m
>  Remaining Estimate: 0h
>
> Currently before doing a bootstrap dump, we abort all open transactions after 
> waiting for a configured time. We are proposing to abort only write 
> transactions for the db under replication and leave the read and repl created 
> transactions as is.
> This doc attached talks about it in detail



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

Reply via email to