You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jeremy Hanna (JIRA)" <ji...@apache.org> on 2011/06/12 05:35:51 UTC
[jira] [Created] (CASSANDRA-2763) When dropping a keyspace you're
currently authenticated to, might be nice to de-authenticate upon
completion
When dropping a keyspace you're currently authenticated to, might be nice to de-authenticate upon completion
------------------------------------------------------------------------------------------------------------
Key: CASSANDRA-2763
URL: https://issues.apache.org/jira/browse/CASSANDRA-2763
Project: Cassandra
Issue Type: Improvement
Reporter: Jeremy Hanna
Priority: Trivial
I found that when I'm authenticated to MyKeyspace, then do 'drop keyspace MyKeyspace;', I'm still authenticated to it. It's trivial I know, but seems reasonable to unauthenticate from it.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-2763) When dropping a keyspace you're
currently authenticated to, might be nice to de-authenticate upon
completion
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-2763:
--------------------------------------
Component/s: Tools
Labels: cli lhf (was: cli)
> When dropping a keyspace you're currently authenticated to, might be nice to de-authenticate upon completion
> ------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-2763
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2763
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Reporter: Jeremy Hanna
> Priority: Trivial
> Labels: cli, lhf
>
> I found that when I'm authenticated to MyKeyspace, then do 'drop keyspace MyKeyspace;', I'm still authenticated to it. It's trivial I know, but seems reasonable to unauthenticate from it.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-2763) When dropping a keyspace you're
currently authenticated to, might be nice to de-authenticate upon
completion
Posted by "Joe Stein (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Stein updated CASSANDRA-2763:
---------------------------------
Attachment: 2763.txt
I made the change to check we were in the keyspace we were deleting before setting it to null. This made the most sense to me putting things back in the state you are in when logging into the CLI and only when you have just deleted the keyspace you were in.
> When dropping a keyspace you're currently authenticated to, might be nice to de-authenticate upon completion
> ------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-2763
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2763
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Reporter: Jeremy Hanna
> Priority: Trivial
> Labels: cli, lhf
> Attachments: 2763.txt
>
>
> I found that when I'm authenticated to MyKeyspace, then do 'drop keyspace MyKeyspace;', I'm still authenticated to it. It's trivial I know, but seems reasonable to unauthenticate from it.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CASSANDRA-2763) When dropping a keyspace you're
currently authenticated to, might be nice to de-authenticate upon
completion
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis resolved CASSANDRA-2763.
---------------------------------------
Resolution: Fixed
Fix Version/s: 0.8.2
Reviewer: jbellis
Assignee: Joe Stein
Looks good to me. Thanks Joe! committed.
> When dropping a keyspace you're currently authenticated to, might be nice to de-authenticate upon completion
> ------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-2763
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2763
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Reporter: Jeremy Hanna
> Assignee: Joe Stein
> Priority: Trivial
> Labels: cli, lhf
> Fix For: 0.8.2
>
> Attachments: 2763.txt
>
>
> I found that when I'm authenticated to MyKeyspace, then do 'drop keyspace MyKeyspace;', I'm still authenticated to it. It's trivial I know, but seems reasonable to unauthenticate from it.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-2763) When dropping a keyspace you're
currently authenticated to, might be nice to de-authenticate upon
completion
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13062648#comment-13062648 ]
Hudson commented on CASSANDRA-2763:
-----------------------------------
Integrated in Cassandra-0.8 #212 (See [https://builds.apache.org/job/Cassandra-0.8/212/])
reset cli keyspace after dropping the current one
patch by Joe Stein; reviewed by jbellis for CASSANDRA-2763
jbellis : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1144754
Files :
* /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/cli/CliClient.java
* /cassandra/branches/cassandra-0.8/CHANGES.txt
> When dropping a keyspace you're currently authenticated to, might be nice to de-authenticate upon completion
> ------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-2763
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2763
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Reporter: Jeremy Hanna
> Assignee: Joe Stein
> Priority: Trivial
> Labels: cli, lhf
> Fix For: 0.8.2
>
> Attachments: 2763.txt
>
>
> I found that when I'm authenticated to MyKeyspace, then do 'drop keyspace MyKeyspace;', I'm still authenticated to it. It's trivial I know, but seems reasonable to unauthenticate from it.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira