Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 23E131014C for ; Tue, 30 Jul 2013 23:37:50 +0000 (UTC) Received: (qmail 84430 invoked by uid 500); 30 Jul 2013 23:37:49 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 84389 invoked by uid 500); 30 Jul 2013 23:37:49 -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 84341 invoked by uid 99); 30 Jul 2013 23:37:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jul 2013 23:37:49 +0000 Date: Tue, 30 Jul 2013 23:37:49 +0000 (UTC) From: "Hari Shreedharan (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-9093) Hbase client API: Restore the writeToWal method MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-9093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hari Shreedharan updated HBASE-9093: ------------------------------------ Attachment: HBASE-9093.patch Made the change [~stack] suggested. Generated patch with --no-prefix > Hbase client API: Restore the writeToWal method > ----------------------------------------------- > > Key: HBASE-9093 > URL: https://issues.apache.org/jira/browse/HBASE-9093 > Project: HBase > Issue Type: Bug > Components: Client, Usability > Affects Versions: 0.95.0 > Reporter: Hari Shreedharan > Fix For: 0.98.0, 0.95.2 > > Attachments: HBASE-9093.patch, HBASE-9093.patch > > > The writeToWal is used by downstream projects like Flume to disable writes to WAL to improve performance when durability is not strictly required. But renaming this method to setDurability forces us to use reflection to support hbase versions < 95 - which in turn hits performance, as this method needs to be called on every single write. I recommend adding the old method back as deprecated and removing it once hbase-95/96 becomes the popular version used in prod. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira