You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2009/09/11 17:50:57 UTC

[jira] Created: (CASSANDRA-441) Verify that quorum reads throw UnavailableException if insufficient live nodes are present

Verify that quorum reads throw UnavailableException if insufficient live nodes are present
------------------------------------------------------------------------------------------

                 Key: CASSANDRA-441
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-441
             Project: Cassandra
          Issue Type: Task
            Reporter: Jonathan Ellis
            Priority: Minor
             Fix For: 0.5




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


[jira] Commented: (CASSANDRA-441) Verify that quorum reads throw UnavailableException if insufficient live nodes are present

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

Hudson commented on CASSANDRA-441:
----------------------------------

Integrated in Cassandra #254 (See [http://hudson.zones.apache.org/hudson/job/Cassandra/254/])
    check for live-ness and throw UnavailableException if quorum is unsatisfyable.
patch by jbellis; reviewed by Ray Slakinski for 


> Verify that quorum reads throw UnavailableException if insufficient live nodes are present
> ------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-441
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-441
>             Project: Cassandra
>          Issue Type: Task
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.5
>
>         Attachments: 441.patch, 441.patch
>
>


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


[jira] Assigned: (CASSANDRA-441) Verify that quorum reads throw UnavailableException if insufficient live nodes are present

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

Chris Goffinet reassigned CASSANDRA-441:
----------------------------------------

    Assignee: Chris Goffinet

> Verify that quorum reads throw UnavailableException if insufficient live nodes are present
> ------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-441
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-441
>             Project: Cassandra
>          Issue Type: Task
>            Reporter: Jonathan Ellis
>            Assignee: Chris Goffinet
>            Priority: Minor
>             Fix For: 0.5
>
>


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


[jira] Assigned: (CASSANDRA-441) Verify that quorum reads throw UnavailableException if insufficient live nodes are present

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

Jonathan Ellis reassigned CASSANDRA-441:
----------------------------------------

    Assignee: Jonathan Ellis  (was: Chris Goffinet)

Looks like what is going on is, we never check for node live-ness before the send, so it will end up timing out.

This is unavoidable if a node died so recently that the failure detector hasn't noticed (a few seconds), but we should definitely check and throw an error if there aren't enough live nodes to satisfy the consistency requirements.


> Verify that quorum reads throw UnavailableException if insufficient live nodes are present
> ------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-441
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-441
>             Project: Cassandra
>          Issue Type: Task
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.5
>
>


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


[jira] Commented: (CASSANDRA-441) Verify that quorum reads throw UnavailableException if insufficient live nodes are present

Posted by "Chris Goffinet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771006#action_12771006 ] 

Chris Goffinet commented on CASSANDRA-441:
------------------------------------------

its still not passing the exception down to thrift.

thrift.transport.TTransport.TTransportException: TSocket read 0 bytes

> Verify that quorum reads throw UnavailableException if insufficient live nodes are present
> ------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-441
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-441
>             Project: Cassandra
>          Issue Type: Task
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.5
>
>         Attachments: 441.patch, 441.patch
>
>


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


[jira] Updated: (CASSANDRA-441) Verify that quorum reads throw UnavailableException if insufficient live nodes are present

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

Jonathan Ellis updated CASSANDRA-441:
-------------------------------------

    Attachment: 441.patch

> Verify that quorum reads throw UnavailableException if insufficient live nodes are present
> ------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-441
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-441
>             Project: Cassandra
>          Issue Type: Task
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.5
>
>         Attachments: 441.patch
>
>


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


[jira] Commented: (CASSANDRA-441) Verify that quorum reads throw UnavailableException if insufficient live nodes are present

Posted by "Ray Slakinski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12775041#action_12775041 ] 

Ray Slakinski commented on CASSANDRA-441:
-----------------------------------------

Confirmed to be now passing UnavailableException to thrift.  I tested with 5 nodes and shut down 3 of them.

> Verify that quorum reads throw UnavailableException if insufficient live nodes are present
> ------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-441
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-441
>             Project: Cassandra
>          Issue Type: Task
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.5
>
>         Attachments: 441.patch, 441.patch
>
>


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


[jira] Commented: (CASSANDRA-441) Verify that quorum reads throw UnavailableException if insufficient live nodes are present

Posted by "Chris Goffinet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768797#action_12768797 ] 

Chris Goffinet commented on CASSANDRA-441:
------------------------------------------

Tested using get, on 3 nodes, with replication factor of 3. I shutdown two nodes, and did quorum read, does not look like its trickled down to Thriftclient.

> Verify that quorum reads throw UnavailableException if insufficient live nodes are present
> ------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-441
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-441
>             Project: Cassandra
>          Issue Type: Task
>            Reporter: Jonathan Ellis
>            Assignee: Chris Goffinet
>            Priority: Minor
>             Fix For: 0.5
>
>


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


[jira] Updated: (CASSANDRA-441) Verify that quorum reads throw UnavailableException if insufficient live nodes are present

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

Jonathan Ellis updated CASSANDRA-441:
-------------------------------------

    Attachment: 441.patch

rebased

> Verify that quorum reads throw UnavailableException if insufficient live nodes are present
> ------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-441
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-441
>             Project: Cassandra
>          Issue Type: Task
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.5
>
>         Attachments: 441.patch, 441.patch
>
>


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


[jira] Assigned: (CASSANDRA-441) Verify that quorum reads throw UnavailableException if insufficient live nodes are present

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

Jonathan Ellis reassigned CASSANDRA-441:
----------------------------------------

    Assignee: Chris Goffinet  (was: Jonathan Ellis)

> Verify that quorum reads throw UnavailableException if insufficient live nodes are present
> ------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-441
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-441
>             Project: Cassandra
>          Issue Type: Task
>            Reporter: Jonathan Ellis
>            Assignee: Chris Goffinet
>            Priority: Minor
>             Fix For: 0.5
>
>         Attachments: 441.patch, 441.patch
>
>


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


[jira] Commented: (CASSANDRA-441) Verify that quorum reads throw UnavailableException if insufficient live nodes are present

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771749#action_12771749 ] 

Jonathan Ellis commented on CASSANDRA-441:
------------------------------------------

should be fixed by CASSANDRA-524

> Verify that quorum reads throw UnavailableException if insufficient live nodes are present
> ------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-441
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-441
>             Project: Cassandra
>          Issue Type: Task
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.5
>
>         Attachments: 441.patch, 441.patch
>
>


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


[jira] Assigned: (CASSANDRA-441) Verify that quorum reads throw UnavailableException if insufficient live nodes are present

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

Jonathan Ellis reassigned CASSANDRA-441:
----------------------------------------

    Assignee: Jonathan Ellis  (was: Chris Goffinet)

> Verify that quorum reads throw UnavailableException if insufficient live nodes are present
> ------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-441
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-441
>             Project: Cassandra
>          Issue Type: Task
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.5
>
>         Attachments: 441.patch, 441.patch
>
>


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