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 87CED2009C6 for ; Mon, 2 May 2016 06:20:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8672B1609AF; Mon, 2 May 2016 06:20:15 +0200 (CEST) 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 09F0B1609AE for ; Mon, 2 May 2016 06:20:14 +0200 (CEST) Received: (qmail 93160 invoked by uid 500); 2 May 2016 04:20:13 -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 92646 invoked by uid 99); 2 May 2016 04:20:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 May 2016 04:20:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 241472C1F5C for ; Mon, 2 May 2016 04:20:13 +0000 (UTC) Date: Mon, 2 May 2016 04:20:13 +0000 (UTC) From: "Anoop Sam John (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-15735) Tightening of the CP contract MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 02 May 2016 04:20:15 -0000 [ https://issues.apache.org/jira/browse/HBASE-15735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anoop Sam John updated HBASE-15735: ----------------------------------- Resolution: Fixed Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Pushed to master. Thanks for the reviews. > Tightening of the CP contract > ------------------------------ > > Key: HBASE-15735 > URL: https://issues.apache.org/jira/browse/HBASE-15735 > Project: HBase > Issue Type: Sub-task > Components: regionserver, Scanners > Reporter: Anoop Sam John > Assignee: Anoop Sam John > Fix For: 2.0.0 > > Attachments: HBASE-15735.patch, HBASE-15735.patch > > > This is after the discussion in dev@ under 'DISCUSSION: A tightening of the CP contract in hbase 2.0.0' > "CPs can read Cells passed them on a CP hook invocation but > they must not retain references beyond the life of the invocation; they > must copy Cells if they intend to retain them beyond the invocation, pass > the Cells off to upper tiers, or return them otherwise to clients." > Also this Jira will cleanup some code which was doing the copy of the Cells while passing to CP hooks assuming it might keep cell refs. Now as we say it explicitly in CP APIs, we dont need this copy. -- This message was sent by Atlassian JIRA (v6.3.4#6332)