cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-13) fix the EndPointState time bookmarking in Gossiper
Date Wed, 22 Apr 2009 16:03:47 GMT

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


Mime
View raw message