hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-15735) Tightening of the CP contract
Date Fri, 29 Apr 2016 07:30:13 GMT
Anoop Sam John created HBASE-15735:

             Summary: Tightening of the CP contract 
                 Key: HBASE-15735
                 URL: https://issues.apache.org/jira/browse/HBASE-15735
             Project: HBase
          Issue Type: Sub-task
            Reporter: Anoop Sam John
            Assignee: Anoop Sam John

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

View raw message