mirror of https://github.com/apache/cassandra
fix DatabaseDescriptor.hasExistingNoSystemTables to skip system table correctly
patch by Jackson Chung; reviewed by jbellis for CASSANDRA-5289
This commit is contained in:
parent
ea08e01a09
commit
3a6125db87
|
|
@ -1,4 +1,6 @@
|
|||
1.1.11
|
||||
* fix logging of "Found table data in data directories" when only system tables
|
||||
are present (CASSANDRA-5289)
|
||||
* cli: Add JMX authentication support (CASSANDRA-5080)
|
||||
* nodetool: ability to repair specific range (CASSANDRA-5280)
|
||||
* Fix possible assertion triggered in SliceFromReadCommand (CASSANDRA-5284)
|
||||
|
|
|
|||
|
|
@ -550,7 +550,7 @@ public class DatabaseDescriptor
|
|||
{
|
||||
public boolean accept(File pathname)
|
||||
{
|
||||
return pathname.isDirectory();
|
||||
return (pathname.isDirectory() && !Table.SYSTEM_KS.equals(pathname.getName()));
|
||||
}
|
||||
}).length;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue