You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "ryan rawson (JIRA)" <ji...@apache.org> on 2011/01/31 23:05:29 UTC

[jira] Updated: (HBASE-3494) checkAndPut implementation doesnt verify row param and writable row are the same

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

ryan rawson updated HBASE-3494:
-------------------------------

    Attachment: HBASE-3494.txt

> checkAndPut implementation doesnt verify row param and writable row are the same
> --------------------------------------------------------------------------------
>
>                 Key: HBASE-3494
>                 URL: https://issues.apache.org/jira/browse/HBASE-3494
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.90.0
>            Reporter: ryan rawson
>         Attachments: HBASE-3494.txt
>
>
> the API checkAndPut, and on the server side checkAndMutate doesn't enforce that the row in the API call and the row in the passed writable that should be executed if the check passes, are the same row!  Looking at the code, if someone were to 'fool' us, we'd probably end up with rows in the wrong region in the worst case.  Or we'd end up with non-locked puts/deletes to different rows since the checkAndMutate grabs the row lock and calls put/delete methods that do not grab row locks.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira