cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "paul cannon (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-3612) CQL inserting blank key.
Date Tue, 27 Mar 2012 16:24:25 GMT

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

paul cannon updated CASSANDRA-3612:
-----------------------------------

    Reviewer: xedin
    
> CQL inserting blank key.
> ------------------------
>
>                 Key: CASSANDRA-3612
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3612
>             Project: Cassandra
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 1.0.0
>         Environment: Linux ubuntu 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25
UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: samal
>            Assignee: paul cannon
>            Priority: Minor
>              Labels: cql
>             Fix For: 1.0.9
>
>
> One of our application bug inserted blank key into cluster causing assertion error on
key. After checking the root cause, I found it is the bug with CQL and reproducible. Client
cassandra-node and cqlsh-1.0.6.
> Blank key only work when one column provided.
>  
> {}
> cqlsh> insert into login (KEY,email)values('','');
> cqlsh> select * from login;
> u'' | u'email',u'' 
> cqlsh> insert into login (KEY,email,verified)values('','','');
> Request did not complete within rpc_timeout.
> cqlsh> insert into login (KEY,verified)values('','');
> Request did not complete within rpc_timeout.
> cqlsh> insert into login (KEY,email)values('','');
> cqlsh> 
> cqlsh> select * from login;
> u'' | u'email',u'' | u'uid',None
> cqlsh> select * from login;
> u'' | u'email',u'' | u'uid',None
> cqlsh> select * from login;
> u'' | u'email',u'' | u'uid',None
> cqlsh> 
> cqlsh> select * from login;
> u'' | u'email',u'' | u'uid',None
> u'samalgorai@gmail.com' | u'email',u'samalgorai@gmail.com' | u'password',u'388ad1c312a488ee9e12998fe097f2258fa8d5ee'
| u'uid',UUID('05ea41dc-241f-11e1-8521-3da59237b189') | u'verified',u'0'
> cqlsh> quit;
> {/}
> http://pastebin.com/HJn5fHhH

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message