incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jake Luciani <jak...@gmail.com>
Subject Re: Is the secondary index re-built under compaction?
Date Tue, 17 Apr 2012 13:53:43 GMT
No, the indexes are not rebuilt every compaction.  Only if you manually
rebuild or bootstrap a new node does it use compaction manager to rebuild.

On Tue, Apr 17, 2012 at 9:47 AM, Maxim Potekhin <potekhin@bnl.gov> wrote:

>  Thanks Aaaron. Just to be clear, every time I do a compaction,
> I rebuild all indexes from scratch. Right?
>
> Maxim
>
>
>
> On 4/17/2012 6:16 AM, aaron morton wrote:
>
> Yes secondary index builds are done via the compaction manager.
>
>  Cheers
>
>     -----------------
> Aaron Morton
> Freelance Developer
> @aaronmorton
> http://www.thelastpickle.com
>
>  On 17/04/2012, at 1:06 PM, Maxim Potekhin wrote:
>
>  I noticed that "nodetool compactionstats" shows the building of the
> secondary index while
> I initiate compaction. Is this to be expected? Cassandra version 0.8.8.
>
> Thank you
>
> Maxim
>
>
>
>


-- 
http://twitter.com/tjake

Mime
View raw message