hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Work logged] (HIVE-23560) Optimize bootstrap dump to abort only write Transactions
Date Mon, 20 Jul 2020 08:28:00 GMT

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

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

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



##########
File path: standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift
##########
@@ -2802,6 +2806,7 @@ PartitionsResponse get_partitions_req(1:PartitionsRequest req)
 
   void add_replication_metrics(1: ReplicationMetricList replicationMetricList) throws(1:MetaException
o1)
   ReplicationMetricList get_replication_metrics(1: GetReplicationMetricsRequest rqst) throws(1:MetaException
o1)
+  GetOpenTxnsResponse get_open_txns_req(1: GetOpenTxnsRequest getOpenTxnsRequest)

Review comment:
       get_open_txns_info doesn't take any input params. We needed to exclude certain type
of txns and only return the other open txns.
   The other way could have been add a new field in TxnInfo with the TxnType and still return
all the open txns, but filter on the client side.
   Currently get_open_txns_info filters out the read txns without informing the client. So
we thought it might be better to expose an explicit call to exclude specific txn types.




----------------------------------------------------------------
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:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 460959)
    Time Spent: 2h 50m  (was: 2h 40m)

> 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: 2h 50m
>  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)

Mime
View raw message