mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-2.1.0' into cassandra-2.1
This commit is contained in:
commit
1c1a40e10b
|
|
@ -15,6 +15,7 @@ Merged from 2.0:
|
|||
|
||||
|
||||
2.1.0-final
|
||||
* cqlsh DESC CLUSTER fails retrieving ring information (CASSANDRA-7687)
|
||||
Merged from 2.0:
|
||||
* Support connecting to ipv6 jmx with nodetool (CASSANDRA-7669)
|
||||
|
||||
|
|
|
|||
|
|
@ -678,6 +678,7 @@ class Shell(cmd.Cmd):
|
|||
def get_ring(self):
|
||||
if self.current_keyspace is None or self.current_keyspace == 'system':
|
||||
raise NoKeyspaceError("Ring view requires a current non-system keyspace")
|
||||
self.conn.metadata.token_map.rebuild_keyspace(self.current_keyspace, build_if_absent=True)
|
||||
return self.conn.metadata.token_map.tokens_to_hosts_by_ks[self.current_keyspace]
|
||||
|
||||
def get_table_meta(self, ksname, tablename):
|
||||
|
|
|
|||
Loading…
Reference in New Issue