Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D141C200C08 for ; Thu, 26 Jan 2017 08:10:31 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id CFF97160B58; Thu, 26 Jan 2017 07:10:31 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2F7D2160B40 for ; Thu, 26 Jan 2017 08:10:31 +0100 (CET) Received: (qmail 23561 invoked by uid 500); 26 Jan 2017 07:10:30 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 23536 invoked by uid 99); 26 Jan 2017 07:10:30 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jan 2017 07:10:30 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id AE87FC0741 for ; Thu, 26 Jan 2017 07:10:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id di52E_YtVz9T for ; Thu, 26 Jan 2017 07:10:29 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 6BC6F5F1F4 for ; Thu, 26 Jan 2017 07:10:28 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id CA5A9E02A9 for ; Thu, 26 Jan 2017 07:10:26 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 3A83625290 for ; Thu, 26 Jan 2017 07:10:25 +0000 (UTC) Date: Thu, 26 Jan 2017 07:10:25 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-16812) Clean up the locks in MOB MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 26 Jan 2017 07:10:32 -0000 [ https://issues.apache.org/jira/browse/HBASE-16812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15839351#comment-15839351 ] stack commented on HBASE-16812: ------------------------------- bq. A new tag is not necessary? I am thinking of using the existing ref tag for the delete marker to implement this. How do you think? Thanks. This sounds good [~jingcheng.du]. And thanks for clarification on comment in code. Makes sense now. Patch looks good to me. Defer to [~huaxiang] on whether to bring back the lock around cleaner... Might be cleaner... failed compactions might distress the poor old operator. Nit: Do you want to write the Cell with the tag to the delFile? Or maybe it doesn't matter? 205 delFileWriter.append(c); Is this change right? 232 @Override 232 @Override 233 public ScanType getScanType(CompactionRequest request) { 233 public ScanType getScanType(CompactionRequest request) { 234 return request.isRetainDeleteMarkers() ? ScanType.COMPACT_RETAIN_DELETES 235 : ScanType.COMPACT_DROP_DELETES; 234 return request.isAllFiles() ? ScanType.COMPACT_DROP_DELETES 235 : ScanType.COMPACT_RETAIN_DELETES; I like all the cleanup [~jingcheng.du] Thanks for working on this. > Clean up the locks in MOB > ------------------------- > > Key: HBASE-16812 > URL: https://issues.apache.org/jira/browse/HBASE-16812 > Project: HBase > Issue Type: Task > Reporter: Appy > Assignee: Jingcheng Du > Priority: Minor > Attachments: HBASE-16812.master.001.patch, HBASE-16812.patch, HBASE-16812-V2.patch > > > Clean up the locks in MOB. > # Retain all the delete markers in mob-enabled columns until they are expired. > # Remove the locks from major compaction of mob-enabled columns. -- This message was sent by Atlassian JIRA (v6.3.4#6332)