git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alter table


This is safe (and normal, and good) in all versions except those impacted by https://issues.apache.org/jira/browse/CASSANDRA-13004 

So if you're on 2.1, 2.2, or 3.11 you're fine

If you're on 3.0 between 3.0.0 and 3.0.13, you should upgrade first (to newest 3.0, probably 3.0.17)
If you're on a version between 3.1 and 3.10, you should upgrade first (to newest 3.11, probably 3.11.3)

- Jeff


On Mon, Jul 30, 2018 at 10:16 PM, Visa <liguilin2015@xxxxxxxxx> wrote:
Hi all,

I have one question about altering schema. If we only add columns, is it ok to alter the schema while the writes to the table are happening at the same time? We can control that the writes will not touch the new columns until the schema change is done. Or better to stop the writes to that table first.

Thanks!

Li
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@cassandra.apache.org
For additional commands, e-mail: user-help@xxxxxxxxxxxxxxxxxxxx