You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (JIRA)" <ji...@apache.org> on 2010/04/29 21:34:54 UTC

[jira] Created: (CASSANDRA-1036) Attempting to mutate a non-existant CF does not propagate an error to the client

Attempting to mutate a non-existant CF does not propagate an error to the client
--------------------------------------------------------------------------------

                 Key: CASSANDRA-1036
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1036
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.7
            Reporter: Brandon Williams
            Priority: Minor
             Fix For: 0.7


An error gets logged on the server:

ERROR 15:23:21,035 Attempting to mutate non-existant column family Standard1

But nothing is raised on the client side, so it appears the request succeeded.

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


[jira] Commented: (CASSANDRA-1036) Attempting to mutate a non-existant CF does not propagate an error to the client

Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12865147#action_12865147 ] 

Gary Dusbabek commented on CASSANDRA-1036:
------------------------------------------

My apologies.  For some reason I was expecting a git-style patch with a  listing of the modified files at the top.  I see the system test now.

> Attempting to mutate a non-existant CF does not propagate an error to the client
> --------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1036
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1036
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Brandon Williams
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>             Fix For: 0.7
>
>         Attachments: 1036-v2-Validate-CF-for-deletion-in-mutation-map.patch, 1036-Validate-CF-for-deletion-in-mutation-map.patch
>
>
> An error gets logged on the server:
> ERROR 15:23:21,035 Attempting to mutate non-existant column family Standard1
> But nothing is raised on the client side, so it appears the request succeeded.

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


[jira] Commented: (CASSANDRA-1036) Attempting to mutate a non-existant CF does not propagate an error to the client

Posted by "Sylvain Lebresne (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12865143#action_12865143 ] 

Sylvain Lebresne commented on CASSANDRA-1036:
---------------------------------------------

The patch includes system tests for thrift. Or are those included not the ones you had in mind ?

> Attempting to mutate a non-existant CF does not propagate an error to the client
> --------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1036
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1036
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Brandon Williams
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>             Fix For: 0.7
>
>         Attachments: 1036-v2-Validate-CF-for-deletion-in-mutation-map.patch, 1036-Validate-CF-for-deletion-in-mutation-map.patch
>
>
> An error gets logged on the server:
> ERROR 15:23:21,035 Attempting to mutate non-existant column family Standard1
> But nothing is raised on the client side, so it appears the request succeeded.

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


[jira] Commented: (CASSANDRA-1036) Attempting to mutate a non-existant CF does not propagate an error to the client

Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12865139#action_12865139 ] 

Gary Dusbabek commented on CASSANDRA-1036:
------------------------------------------

No.  I'm referring to test/system/test_thrift_server.py.  There are a few examples in there where a call is made and we expect an exception.  We should have a call like that where we attempt to mutate a non-existent CF and check to make sure an exception is received by the client.

See the usages of "_expect_exception".

> Attempting to mutate a non-existant CF does not propagate an error to the client
> --------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1036
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1036
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Brandon Williams
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>             Fix For: 0.7
>
>         Attachments: 1036-v2-Validate-CF-for-deletion-in-mutation-map.patch, 1036-Validate-CF-for-deletion-in-mutation-map.patch
>
>
> An error gets logged on the server:
> ERROR 15:23:21,035 Attempting to mutate non-existant column family Standard1
> But nothing is raised on the client side, so it appears the request succeeded.

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


[jira] Commented: (CASSANDRA-1036) Attempting to mutate a non-existant CF does not propagate an error to the client

Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12865156#action_12865156 ] 

Gary Dusbabek commented on CASSANDRA-1036:
------------------------------------------

+1.

> Attempting to mutate a non-existant CF does not propagate an error to the client
> --------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1036
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1036
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Brandon Williams
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>             Fix For: 0.7
>
>         Attachments: 1036-v2-Validate-CF-for-deletion-in-mutation-map.patch, 1036-Validate-CF-for-deletion-in-mutation-map.patch
>
>
> An error gets logged on the server:
> ERROR 15:23:21,035 Attempting to mutate non-existant column family Standard1
> But nothing is raised on the client side, so it appears the request succeeded.

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


[jira] Updated: (CASSANDRA-1036) Attempting to mutate a non-existant CF does not propagate an error to the client

Posted by "Sylvain Lebresne (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sylvain Lebresne updated CASSANDRA-1036:
----------------------------------------

    Attachment: 1036-v2-Validate-CF-for-deletion-in-mutation-map.patch

Oups. Figured that I could add the validation to Avro too. Patch v2 attached.

> Attempting to mutate a non-existant CF does not propagate an error to the client
> --------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1036
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1036
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Brandon Williams
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>             Fix For: 0.7
>
>         Attachments: 1036-v2-Validate-CF-for-deletion-in-mutation-map.patch, 1036-Validate-CF-for-deletion-in-mutation-map.patch
>
>
> An error gets logged on the server:
> ERROR 15:23:21,035 Attempting to mutate non-existant column family Standard1
> But nothing is raised on the client side, so it appears the request succeeded.

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


[jira] Updated: (CASSANDRA-1036) Attempting to mutate a non-existant CF does not propagate an error to the client

Posted by "Sylvain Lebresne (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sylvain Lebresne updated CASSANDRA-1036:
----------------------------------------

    Attachment: 1036-Validate-CF-for-deletion-in-mutation-map.patch

Attached patch should correct the problem.

> Attempting to mutate a non-existant CF does not propagate an error to the client
> --------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1036
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1036
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Brandon Williams
>            Priority: Minor
>             Fix For: 0.7
>
>         Attachments: 1036-Validate-CF-for-deletion-in-mutation-map.patch
>
>
> An error gets logged on the server:
> ERROR 15:23:21,035 Attempting to mutate non-existant column family Standard1
> But nothing is raised on the client side, so it appears the request succeeded.

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


[jira] Commented: (CASSANDRA-1036) Attempting to mutate a non-existant CF does not propagate an error to the client

Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12865131#action_12865131 ] 

Gary Dusbabek commented on CASSANDRA-1036:
------------------------------------------

Should we include a system test to verify?

> Attempting to mutate a non-existant CF does not propagate an error to the client
> --------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1036
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1036
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Brandon Williams
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>             Fix For: 0.7
>
>         Attachments: 1036-v2-Validate-CF-for-deletion-in-mutation-map.patch, 1036-Validate-CF-for-deletion-in-mutation-map.patch
>
>
> An error gets logged on the server:
> ERROR 15:23:21,035 Attempting to mutate non-existant column family Standard1
> But nothing is raised on the client side, so it appears the request succeeded.

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


[jira] Assigned: (CASSANDRA-1036) Attempting to mutate a non-existant CF does not propagate an error to the client

Posted by "Sylvain Lebresne (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sylvain Lebresne reassigned CASSANDRA-1036:
-------------------------------------------

    Assignee: Sylvain Lebresne

> Attempting to mutate a non-existant CF does not propagate an error to the client
> --------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1036
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1036
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Brandon Williams
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>             Fix For: 0.7
>
>         Attachments: 1036-Validate-CF-for-deletion-in-mutation-map.patch
>
>
> An error gets logged on the server:
> ERROR 15:23:21,035 Attempting to mutate non-existant column family Standard1
> But nothing is raised on the client side, so it appears the request succeeded.

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


[jira] Commented: (CASSANDRA-1036) Attempting to mutate a non-existant CF does not propagate an error to the client

Posted by "Sylvain Lebresne (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12865132#action_12865132 ] 

Sylvain Lebresne commented on CASSANDRA-1036:
---------------------------------------------

You mean, for the avro part ? I'll have to admit that I'm not up to date on the avro part, 
but the avro system test for batch_mutate has a 
        # FIXME: still need to apply a mutation that deletes
so I was figuring that maybe that wasn't working yet. But I can have a look.

> Attempting to mutate a non-existant CF does not propagate an error to the client
> --------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1036
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1036
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Brandon Williams
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>             Fix For: 0.7
>
>         Attachments: 1036-v2-Validate-CF-for-deletion-in-mutation-map.patch, 1036-Validate-CF-for-deletion-in-mutation-map.patch
>
>
> An error gets logged on the server:
> ERROR 15:23:21,035 Attempting to mutate non-existant column family Standard1
> But nothing is raised on the client side, so it appears the request succeeded.

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