cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cassandra Wiki] Update of "ArchitectureSSTable" by DaveBrosius
Date Mon, 13 Feb 2012 03:10:54 GMT
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

Mime
View raw message