You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2011/07/12 20:05:00 UTC

[jira] [Commented] (CASSANDRA-2879) Make SSTableWriter.append(...) methods seekless.

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

Jonathan Ellis commented on CASSANDRA-2879:
-------------------------------------------

where is the -1 coming from in BF.serializedSize?

> Make SSTableWriter.append(...) methods seekless.
> ------------------------------------------------
>
>                 Key: CASSANDRA-2879
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2879
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Pavel Yaskevich
>            Assignee: Pavel Yaskevich
>             Fix For: 1.0
>
>         Attachments: CASSANDRA-2879.patch
>
>
> as we already have a CF.serializedSize() method we don't need to reserve a place to store data size when we write data to SSTable. Compaction should be seekless too because we calculate data size before we write actual content.

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