You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by Apache Wiki <wi...@apache.org> on 2012/02/13 04:10:54 UTC

[Cassandra Wiki] Update of "ArchitectureSSTable" by DaveBrosius

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.

The "ArchitectureSSTable" page has been changed by DaveBrosius:
http://wiki.apache.org/cassandra/ArchitectureSSTable?action=diff&rev1=3&rev2=4

Comment:
doc where getColumnIndexSize comes from

     1. Write serialized bytes of bloom filter
    1. Start indexing based on column family comparator
     1. If columns empty write integer zero, return
-    1. Iterate over columns until getColumnIndexSize() is exceeded (default is 64KB)
+    1. Iterate over columns until getColumnIndexSize() is exceeded (default is 64KB: Value from yaml's column_index_size_in_kb)
      1. Construct new !IndexInfo that consists of last column before exceeded, existing column name, startPosition and endPosition - startPosition
     1. Write size of indexSizeInBytes (int)
-    1. Serialize each !IndexInfo object - (firstname is last colum name before exceeded, and lastname is the existing column name)
+    1. Serialize each !IndexInfo object - (firstname is last column name before exceeded, and lastname is the existing column name)
      1. Write byte firstname - (length >> 8) & 0xFF
      1. Write byte firstname - (length & 0xFF)
      1. Write byte firstname