cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vijay (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-4115) UNREACHABLE schema after decommissioning a non-seed node
Date Mon, 21 May 2012 22:25:41 GMT

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

Vijay commented on CASSANDRA-4115:
----------------------------------

I think we will have a problem in handleMajorStateChange

{code}
        if (!isDeadState(epState))
            markAlive(ep, epState);
        else
        {
            logger.debug("Not marking " + ep + " alive due to dead state");
            markDead(ep, epState);
        }
{code}

but in markDead we have the following so it will never be marked dead.

{code}

        if (isDeadState(localState))
            return;
{code}
                
> UNREACHABLE schema after decommissioning a non-seed node
> --------------------------------------------------------
>
>                 Key: CASSANDRA-4115
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4115
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.1
>         Environment: ccm using the following unavailable_schema_test.py dtest.
>            Reporter: Tyler Patterson
>            Assignee: Brandon Williams
>            Priority: Blocker
>             Fix For: 1.1.1
>
>         Attachments: 4115.txt
>
>
> decommission a non-seed node, sleep 30 seconds, then use thrift to check the schema.
UNREACHABLE is listed:
> {'75dc4c07-3c1a-3013-ad7d-11fb34208465': ['127.0.0.1'],
>  'UNREACHABLE': ['127.0.0.2']}

--
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