[ https://issues.apache.org/jira/browse/CASSANDRA-2879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-2879: -------------------------------------- Attachment: 2879-v3.txt v3 attached that cleans up some special cases. I also "fixed" serializedSizeForSSTable to not include the 4 bytes for the CF id, which is not written to disk. But, this change breaks the tests spectacularly, so clearly it is now undercounting for some reason I do not understand. > 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: 2879-v3.txt, > CASSANDRA-2879-DBConstants-names-refactoring.patch, CASSANDRA-2879-v2.patch, > 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