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 BFED71096B for ; Tue, 11 Feb 2014 15:29:33 +0000 (UTC) Received: (qmail 80537 invoked by uid 500); 11 Feb 2014 15:29:32 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 80034 invoked by uid 500); 11 Feb 2014 15:29:23 -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 79999 invoked by uid 99); 11 Feb 2014 15:29:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Feb 2014 15:29:20 +0000 Date: Tue, 11 Feb 2014 15:29:20 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-10487) Avoid allocating new KeyValue and according bytes-copying for appended kvs which don't have existing values 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-10487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-10487: --------------------------- Fix Version/s: 0.99.0 > Avoid allocating new KeyValue and according bytes-copying for appended kvs which don't have existing values > ----------------------------------------------------------------------------------------------------------- > > Key: HBASE-10487 > URL: https://issues.apache.org/jira/browse/HBASE-10487 > Project: HBase > Issue Type: Improvement > Components: regionserver > Reporter: Feng Honghua > Assignee: Feng Honghua > Fix For: 0.99.0 > > Attachments: HBASE-10487-trunk_v1.patch > > > in HRegion.append, new KeyValues will be allocated and do according bytes-copying no matter whether there are existing kv for the appended cells, we can improve here by avoiding the allocating of new KeyValue and according bytes-copying for kv which don't have existing(old) values by reusing the passed-in kv and only updating its timestamp to 'now'(its original timestamp is latest, so can be updated) -- This message was sent by Atlassian JIRA (v6.1.5#6160)