[英]How to rename keyspace in Cassandra?
How do you rename a live Cassandra keyspace through the cassandra-cli? 如何通过cassandra-cli重命名活着的Cassandra键空间? Previous versions had an option in cassandra-cli ("rename keyspace").
以前的版本在cassandra-cli中有一个选项(“重命名键空间”)。 However, that option has been dropped in recent releases.
但是,该选项在最近的版本中已被删除。
Renaming keyspaces (and column families) is no longer supported, since it was prone to race conditions. 不再支持重命名键空间(和列族),因为它很容易出现竞争条件。 See https://issues.apache.org/jira/browse/CASSANDRA-1585 .
请参阅https://issues.apache.org/jira/browse/CASSANDRA-1585 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.