I was growing a LAB single node cluster to a two node cluster and inadvertently altered system_traces replication factor from local:
DESC keyspace system_traces; CREATE KEYSPACE system_traces WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '0'} AND durable_writes = true;
Now I cannot change it back to local neither drop the keyspace and recreate correctly.
cassandra@cqlsh> alter KEYSPACE system_traces WITH replication = {'class': 'LocalStrategy'} AND durable_writes = true; ConfigurationException: <ErrorMessage code=2300 [Query invalid because of configuration issue] message="Unable to use given strategy class: LocalStrategy is reserved for internal use.">
cassandra@cqlsh> drop keyspace system_traces; Unauthorized: code=2100 [Unauthorized] message="Cannot DROP <keyspace system_traces>"
How to revert/ reset this ?