[ 
https://issues.apache.org/jira/browse/CASSANDRA-5289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jackson Chung updated CASSANDRA-5289:
-------------------------------------

    Attachment: 5289.diff

patch to add check the name not equal to Table.SYSTEM_KS

patch based on 1.1 branch

note for trunk, Table.SYSTEM_KS is changed to Table.SYSTEM_TABLE

                
> DatabaseDescriptor.hasExistingNoSystemTables return true even with only 
> system keyspace
> ---------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-5289
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5289
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jackson Chung
>            Priority: Minor
>         Attachments: 5289.diff
>
>
> The hasExistingNoSystemTables method in DatabaseDescriptor checks for 
> directory only. 
> On a new start, system KS would be created. This method current return true 
> because of it, resulting incorrect/confusing log:
>  logger.info("Found table data in data directories. Consider using the CLI to 
> define your schema.")     ;

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to