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

Jonathan Ellis commented on CASSANDRA-2753:
-------------------------------------------

CFSerializer is the wrong place for this; serializers should serialize with 
(ideally) no other side effects.

We can do the tracking inside SSTableWriter and only one method needs to update 
it:
{code}
    public void append(DecoratedKey decoratedKey, ColumnFamily cf) throws 
IOException
{code}

(The other append method used by compaction doesn't need to do this because for 
we can treat a compacted sstabel's max timestamp as max(source sstable 
timestamps) without loss of correctness.)

> Capture the max client timestamp for an SSTable
> -----------------------------------------------
>
>                 Key: CASSANDRA-2753
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2753
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Alan Liang
>            Assignee: Alan Liang
>            Priority: Minor
>         Attachments: 
> 0003-capture-max-timestamp-for-sstable-and-introduced-SST.patch
>
>


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

Reply via email to