You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jonathan Gray (JIRA)" <ji...@apache.org> on 2009/07/28 21:42:14 UTC

[jira] Updated: (HBASE-1717) Put on client-side uses passed-in byte[]s rather than always using copies

     [ https://issues.apache.org/jira/browse/HBASE-1717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Gray updated HBASE-1717:
---------------------------------

    Attachment: HBASE-1717-v1.patch

Uses local copy when using put(byte[], ...).  Makes a clone of KV when using put(KV).

> Put on client-side uses passed-in byte[]s rather than always using copies
> -------------------------------------------------------------------------
>
>                 Key: HBASE-1717
>                 URL: https://issues.apache.org/jira/browse/HBASE-1717
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.20.0
>            Reporter: Jonathan Gray
>            Assignee: Jonathan Gray
>            Priority: Critical
>             Fix For: 0.20.0
>
>         Attachments: HBASE-1717-v1.patch
>
>
> During review of Put with ryan, found that we are using a passed in reference to family in add() rather than a local copy.  If the backing array changed values, this could cause trouble.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.