incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Lebresne <sylv...@datastax.com>
Subject Re: is "upgradesstables" required (or recommended) upon "update column family" ?
Date Sat, 28 Jul 2012 09:49:11 GMT
On Thu, Jul 26, 2012 at 6:00 PM, Илья Шипицин <chipitsine@gmail.com> wrote:
> is "upgradesstables" required upon "update column family with
> compression_options" (or "compaction_strategy") ?

It is not required, no. If you change compression_options, the new
settings will only apply to newly created sstables. upgradesstables is
just a way to force "recreating" all sstables and so to force the new
compression settings for existing sstables. If you don't run it, you
will have to wait for your "old" sstables to get compacted to be
compressed (which might be perfectly fine for you).

As for changing compaction_strategy, upgradesstables has no impact
whatsoever on that, so there is no reason to run it in that case.

--
Sylvain

Mime
View raw message