Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

best way to run nodetool upgradesstables after update?

I'm currently in the process of upgrading a 21 node cluster from 0.8 to version 1.0.11. The cassandra upgrade process requires that sstables are updated to the latest format after an upgrade of the software (via nodetool upgradesstables). This process seems to take a very long time. I have one node that's been running it for 48 hours and still isn't done.

I would like to know if it's advisable to do this in parallel on all the nodes. Specifically, what would be the performance implications? This cluster is under fairly heavy r/w use and needs to be available 24/7.

like image 959
user2567697 Avatar asked Jul 10 '13 09:07

user2567697


1 Answers

During compaction, your nodes will be re-writing every sstable at the speed of "compaction_throughput_mb_per_sec".

My guess is that the performance implications are directly linked to the value of this setting. A low value (default is 16Mb, you can go lower) should allow you to upgrade your cluster without slowing it down.

like image 153
Florent Avatar answered Oct 19 '22 06:10

Florent