hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9874) Append and Increment operation drops Tags
Date Sat, 02 Nov 2013 15:47:19 GMT

    [ https://issues.apache.org/jira/browse/HBASE-9874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13812033#comment-13812033
] 

Andrew Purtell commented on HBASE-9874:
---------------------------------------

In the cell ACL patch I add a CP hook for deciding what to do and handle this for cell ACLs.


Let's extract that hook and add it here. 

An increment can actually add up multiple cells, so a naive merge may produce a resulting
cell with several duplicate tags (or even tags with internal details that conflict). No problem
to do the naive thing by default and just carry all tags found attached to the old cell(s)
forward onto the new one. But then give a CP a chance to optionally clean up the result. 

Also, for cell ACLs, sometimes we don't want to carry old tags forward - if the operation
has a new ACL specified for the result. So again we need a hook to override default behavior.


> Append and Increment operation drops Tags
> -----------------------------------------
>
>                 Key: HBASE-9874
>                 URL: https://issues.apache.org/jira/browse/HBASE-9874
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.98.0
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>             Fix For: 0.98.0
>
>         Attachments: HBASE-9874.patch, HBASE-9874_V2.patch
>
>
> We should consider tags in the existing cells as well as tags coming in the cells within
Increment/Append



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message