You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Folke Behrens (JIRA)" <ji...@apache.org> on 2010/07/02 22:32:50 UTC

[jira] Commented: (CASSANDRA-1022) separate assignment of current keyspace from login()

    [ https://issues.apache.org/jira/browse/CASSANDRA-1022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12884799#action_12884799 ] 

Folke Behrens commented on CASSANDRA-1022:
------------------------------------------

Commit #940127 introduced a bug in CassandraServer (line 889 in trunk): if statement is empty because of semicolon.

> separate assignment of current keyspace from login()
> ----------------------------------------------------
>
>                 Key: CASSANDRA-1022
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1022
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Eric Evans
>            Assignee: Todd Blose
>            Priority: Minor
>             Fix For: 0.7
>
>         Attachments: CASSANDRA-1022.patch
>
>
> With the completion of CASSANDRA-714, it is now a requirement that login() be called, even when using the AllowAllAuthenticator (effectively disabling auth), since this is how the current/connected keyspace is set. These two disparate functions (assigning keyspace and authentication) should be disentangled.
> I propose that the keyspace argument be removed from calls to {{login()}}, and that a new method ({{use_keyspace(string)}}?), be added.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.