incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Michalski <>
Subject Re: Cassandra freezes
Date Thu, 21 Mar 2013 09:10:52 GMT
OK, I took a look at the source code and for now it seems to me that we 
both are partially right ( ;-) ), but changing index_interval does NOT 
require rebuilding SSTables:

Yes, index sample file can be persisted (see 
io/sstable/, serialize/deserialize methods + 
io/sstable/, loadSummary() method)


It will be rebuilt on startup if index_interval has changed 
(io/sstable/, loadSummary(), lines 422+ and load() 
method, line 371).



> it is ( very ) safe to assume the row index is re-built/updated when new
> sstables are built.
> Obviously the sample of this index will have to follow this process very
> closely.	
> It is possible however that the sample itself is not persisted and is
> built at startup as opposed to *only* when the index changes.( which is
> what I thought was happening )
> It shouldn't be too difficult to verify this, but I'd appreciate if
> someone who looked at this before could confirm if this is the case.

View raw message