hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sai Teja Ranuva (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HBASE-16504) Replication is not preserving the timestamp of the cell
Date Fri, 26 Aug 2016 05:54:22 GMT

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

Sai Teja Ranuva edited comment on HBASE-16504 at 8/26/16 5:53 AM:
------------------------------------------------------------------

Okay.. I think I got your point.
So, what is the purpose of the Put timestamp ?


was (Author: saitejar):
Okay.. I think got your point.
So, what is the purpose of the Put timestamp ?

> Replication is not preserving the timestamp of the cell
> -------------------------------------------------------
>
>                 Key: HBASE-16504
>                 URL: https://issues.apache.org/jira/browse/HBASE-16504
>             Project: HBase
>          Issue Type: Bug
>          Components: Replication
>            Reporter: Sai Teja Ranuva
>              Labels: replication, replication-testing
>
> The Replication procedure in ReplicationSink.replicateEntries() method is not preserving
the timestamp of the cell. 
> Pointer to the code:
> m = CellUtil.isDelete(cell) ? new Delete(cell.getRowArray(), cell.getRowOffset(),cell.getRowLength())
: new Put(cell.getRowArray(), cell.getRowOffset(),cell.getRowLength());
> The Put and Delete constructors called here assign the timestamp with HConstants.LATEST_TIMESTAMP.
Instead we need to keep the timestamp of the cell here.
> Also there doesn't seem to be a test which checks if replication is preserving the timestamp.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message