hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10964) Delete mutation is not consistent with Put wrt timestamp
Date Fri, 11 Apr 2014 20:42:17 GMT

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

Lars Hofhansl commented on HBASE-10964:

I filed an issue about this for 0.94 a looong time ago :)
Decided then not to change it to keep API consistent.
That said, this is confusing, I think we you should fix it (that was my stance back then).

> Delete mutation is not consistent with Put wrt timestamp
> --------------------------------------------------------
>                 Key: HBASE-10964
>                 URL: https://issues.apache.org/jira/browse/HBASE-10964
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>         Attachments: HBASE-10964.patch
> We have	Put constructors which take ts param
> eg: Put(byte[] row, long ts)
> When one creates a Put this way and add columns to it, without giving a specific TS,
these individual cells will honour this Put object's TS. One can use add API which takes a
TS and so can override TS for this Cell.
> For delete also we have similar constructors with and without TS params and delete***()
APIs same way as add(). But delete***() APIs (without taking a specific TS) is not honouring
the Delete object's TS.

This message was sent by Atlassian JIRA

View raw message