From issues-return-184534-archive-asf-public=cust-asf.ponee.io@hive.apache.org Mon Apr 6 07:10:03 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 27967180647 for ; Mon, 6 Apr 2020 09:10:03 +0200 (CEST) Received: (qmail 72307 invoked by uid 500); 6 Apr 2020 07:10:02 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 72294 invoked by uid 99); 6 Apr 2020 07:10:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Apr 2020 07:10:02 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A653CE30CF for ; Mon, 6 Apr 2020 07:10:01 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 9879F78227F for ; Mon, 6 Apr 2020 07:10:00 +0000 (UTC) Date: Mon, 6 Apr 2020 07:10:00 +0000 (UTC) From: =?utf-8?Q?L=C3=A1szl=C3=B3_Pint=C3=A9r_=28Jira=29?= To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-23107) Remove MIN_HISTORY_LEVEL table MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-23107?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] L=C3=A1szl=C3=B3 Pint=C3=A9r updated HIVE-23107: --------------------------------- Attachment: HIVE-23107.04.patch > Remove MIN_HISTORY_LEVEL table > ------------------------------ > > Key: HIVE-23107 > URL: https://issues.apache.org/jira/browse/HIVE-23107 > Project: Hive > Issue Type: Improvement > Components: Hive > Reporter: L=C3=A1szl=C3=B3 Pint=C3=A9r > Assignee: L=C3=A1szl=C3=B3 Pint=C3=A9r > Priority: Major > Attachments: HIVE-23107.01.patch, HIVE-23107.02.patch, HIVE-23107= .03.patch, HIVE-23107.04.patch > > > MIN_HISTORY_LEVEL table is used in two places: > * Cleaner uses it to decide if the files can be removed - this could be = replaced by adding a new column to compaction_queue storing the next_txn_id= when the change was committed, and before cleaning checking the minimum op= en transaction id in the TXNS table > * Initiator uses it=C2=A0to decide if some items from TXN_TO_WRITE_ID ta= ble can be removed. This could be replaced by using the WRITE_SET.WS_COMMIT= _ID. -- This message was sent by Atlassian Jira (v8.3.4#803005)