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 D9563200C06 for ; Fri, 27 Jan 2017 14:58:29 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D8243160B5B; Fri, 27 Jan 2017 13:58:29 +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 2BBCD160B47 for ; Fri, 27 Jan 2017 14:58:29 +0100 (CET) Received: (qmail 56636 invoked by uid 500); 27 Jan 2017 13:58:28 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 56624 invoked by uid 99); 27 Jan 2017 13:58:28 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jan 2017 13:58:28 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id E84DB1A05A1 for ; Fri, 27 Jan 2017 13:58:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.199 X-Spam-Level: X-Spam-Status: No, score=-1.199 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id L0LUNPiqys4E for ; Fri, 27 Jan 2017 13:58:25 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 645055FBCE for ; Fri, 27 Jan 2017 13:58:25 +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 CD225E036B for ; Fri, 27 Jan 2017 13:58:24 +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 766FA2528B for ; Fri, 27 Jan 2017 13:58:24 +0000 (UTC) Date: Fri, 27 Jan 2017 13:58:24 +0000 (UTC) From: "Keith Turner (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-4574) Modify TableOperations online to check for table online before executing fate operation. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 27 Jan 2017 13:58:30 -0000 [ https://issues.apache.org/jira/browse/ACCUMULO-4574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15842892#comment-15842892 ] Keith Turner commented on ACCUMULO-4574: ---------------------------------------- [~etcoleman] I refactored the new FATE code some more in [PR #209|https://github.com/apache/accumulo/pull/209] so I could call it from other ITs. Hopefully, these changes should make it easier to use in your test. > Modify TableOperations online to check for table online before executing fate operation. > ---------------------------------------------------------------------------------------- > > Key: ACCUMULO-4574 > URL: https://issues.apache.org/jira/browse/ACCUMULO-4574 > Project: Accumulo > Issue Type: Improvement > Affects Versions: 1.7.2 > Reporter: Ed Coleman > Assignee: Ed Coleman > Priority: Minor > Fix For: 1.7.3, 1.8.1, 2.0.0 > > Original Estimate: 24h > Time Spent: 3h > Remaining Estimate: 21h > > The table operations online operation executes as a fate operation. If a transaction lock for the table is currently held (say by table compactions) the online operation will block. > This modification essentially changes the behavior of the online operation to a NOOP if the table is currently online. If the current table state is online, then the operation returns immediately without queuing a fate operation to set the online table to online. This eliminates the blocking behavior of the operation if the table is already online. -- This message was sent by Atlassian JIRA (v6.3.4#6332)