[ https://issues.apache.org/jira/browse/CASSANDRA-10898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17438881#comment-17438881 ]
developthou commented on CASSANDRA-10898: ----------------------------------------- I wanted to try this but I am running into the following error {code:java} ALTER TABLE mytable1 with compaction = {'class' : 'SizeTieredCompaction', 'exceptions' : { 10.1.1.1 : {'class' : 'TimeWindowCompactionStrategy'} } }; SyntaxException: line 1:103 no viable alternative at input '.' (...'SizeTieredCompaction', 'exceptions' : { 10.1[.]...){code} I am not able to find any documentation. Can you please help? I am in Cassandra {noformat} 3.11.5{noformat} > Migrate Compaction Strategy Node by Node > ---------------------------------------- > > Key: CASSANDRA-10898 > URL: https://issues.apache.org/jira/browse/CASSANDRA-10898 > Project: Cassandra > Issue Type: Improvement > Components: Legacy/Tools, Local/Compaction > Reporter: Andrew From > Priority: Normal > > It would be a great feature to be able to slowly change the compaction > strategy of a ColumnFamily node-by-node instead of cluster wide. Currently if > you change it cluster wide there's no good way to predict how long it will > take. Thus the process could run for days while you still need the live data, > but the cluster responds much more slowly due to the compaction strategy > migration. > I stumbled across > http://blog.alteroot.org/articles/2015-04-20/change-cassandra-compaction-strategy-on-production-cluster.html > which gave me the idea. I was thinking this would be a nice feature to add > to NodeTool, provided that the strategy in the blog is sound I wouldn't mind > going ahead with the dev work to automate it. If not I would love to hear > other ideas on how to best make this happen. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org