You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "zhu han (JIRA)" <ji...@apache.org> on 2009/03/26 15:49:55 UTC

[jira] Created: (CASSANDRA-13) fix the EndPointState time bookmarking in Gossiper

fix the EndPointState time bookmarking in Gossiper 
---------------------------------------------------

                 Key: CASSANDRA-13
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13
             Project: Cassandra
          Issue Type: Bug
            Reporter: zhu han


In Gossiper#doStatusCheck(line 485 to line 489)
The code is
                long l = now - epState.getUpdateTimestamp(); --> should be : "long l = epState.getUpdateTimestamp();"
                long duration = now - l;
                if ( !epState.isAlive() && (duration > aVeryLongTime_) )
                {
                    evictFromMembership(endpoint);
                }


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


[jira] Assigned: (CASSANDRA-13) fix the EndPointState time bookmarking in Gossiper

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

Jonathan Ellis reassigned CASSANDRA-13:
---------------------------------------

    Assignee: Jonathan Ellis  (was: Avinash Lakshman)

> fix the EndPointState time bookmarking in Gossiper 
> ---------------------------------------------------
>
>                 Key: CASSANDRA-13
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: zhu han
>            Assignee: Jonathan Ellis
>             Fix For: 0.3
>
>         Attachments: 13.patch
>
>   Original Estimate: 0.02h
>  Remaining Estimate: 0.02h
>
> In Gossiper#doStatusCheck(line 485 to line 489)
> The code is
>                 long l = now - epState.getUpdateTimestamp(); --> should be : "long l = epState.getUpdateTimestamp();"
>                 long duration = now - l;
>                 if ( !epState.isAlive() && (duration > aVeryLongTime_) )
>                 {
>                     evictFromMembership(endpoint);
>                 }

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


[jira] Updated: (CASSANDRA-13) fix the EndPointState time bookmarking in Gossiper

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

Jonathan Ellis updated CASSANDRA-13:
------------------------------------

    Attachment: 13.patch

fix duration calculation to avoid evicting dead endpoints instantly

> fix the EndPointState time bookmarking in Gossiper 
> ---------------------------------------------------
>
>                 Key: CASSANDRA-13
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: zhu han
>            Assignee: Avinash Lakshman
>             Fix For: 0.3
>
>         Attachments: 13.patch
>
>   Original Estimate: 0.02h
>  Remaining Estimate: 0.02h
>
> In Gossiper#doStatusCheck(line 485 to line 489)
> The code is
>                 long l = now - epState.getUpdateTimestamp(); --> should be : "long l = epState.getUpdateTimestamp();"
>                 long duration = now - l;
>                 if ( !epState.isAlive() && (duration > aVeryLongTime_) )
>                 {
>                     evictFromMembership(endpoint);
>                 }

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


[jira] Commented: (CASSANDRA-13) fix the EndPointState time bookmarking in Gossiper

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

Jonathan Ellis commented on CASSANDRA-13:
-----------------------------------------

Hi Zhu,

You should join us on #cassandra on freenode IRC.  If you don't have an irc client, this web-based one is ok: http://www.mibbit.com/?server=irc.freenode.net&channel=%23cassandra&nick=yournamehere

> fix the EndPointState time bookmarking in Gossiper 
> ---------------------------------------------------
>
>                 Key: CASSANDRA-13
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: zhu han
>   Original Estimate: 0.02h
>  Remaining Estimate: 0.02h
>
> In Gossiper#doStatusCheck(line 485 to line 489)
> The code is
>                 long l = now - epState.getUpdateTimestamp(); --> should be : "long l = epState.getUpdateTimestamp();"
>                 long duration = now - l;
>                 if ( !epState.isAlive() && (duration > aVeryLongTime_) )
>                 {
>                     evictFromMembership(endpoint);
>                 }

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


[jira] Assigned: (CASSANDRA-13) fix the EndPointState time bookmarking in Gossiper

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

Jonathan Ellis reassigned CASSANDRA-13:
---------------------------------------

    Assignee: Avinash Lakshman

> fix the EndPointState time bookmarking in Gossiper 
> ---------------------------------------------------
>
>                 Key: CASSANDRA-13
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: zhu han
>            Assignee: Avinash Lakshman
>   Original Estimate: 0.02h
>  Remaining Estimate: 0.02h
>
> In Gossiper#doStatusCheck(line 485 to line 489)
> The code is
>                 long l = now - epState.getUpdateTimestamp(); --> should be : "long l = epState.getUpdateTimestamp();"
>                 long duration = now - l;
>                 if ( !epState.isAlive() && (duration > aVeryLongTime_) )
>                 {
>                     evictFromMembership(endpoint);
>                 }

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