[
https://issues.apache.org/jira/browse/HBASE-12082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14147246#comment-14147246
]
Anoop Sam John commented on HBASE-12082:
----------------------------------------
One diff is the seqId stamping is needed both in write and read paths while the
ts stamping is needed only during writes. (I could not see any places in read
where we have to stamp ts and no need for that also) What do you say Stack?
A non KV Cell impl which we already have is the ClonedSeekerState class which
is used in read path. Same interface for both stamping means,
ClonedSeekerState to implement an API which it never uses (May be ok as we can
give a dummy impl which do noop on setTimestamp)
How do we name this interface which having setter for both ts and seqId! - more
or less it is coming like a server side cell which is not immutable.
> Find a way to set timestamp on Cells on the server
> --------------------------------------------------
>
> Key: HBASE-12082
> URL: https://issues.apache.org/jira/browse/HBASE-12082
> Project: HBase
> Issue Type: Sub-task
> Components: regionserver
> Affects Versions: 0.99.0
> Reporter: Anoop Sam John
> Assignee: Anoop Sam John
> Fix For: 2.0.0, 0.99.1
>
>
> On write path, we have to replace the ts on cells when the coming in ts is
> HConstants.LATEST_TIMESTAMP. Also on delete version cells we have to adjust
> the ts. All these places, now we do Cell to KV convert.
> We can provide a similar way as we have given for setting seqId
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)