cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-2662) Nodes get ignored by dynamic snitch when read repair chance is zero
Date Wed, 18 May 2011 19:48:47 GMT

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

Brandon Williams commented on CASSANDRA-2662:
---------------------------------------------

There is one problem with this patch, rather that initializing the score to zero, it needs
to create an empty AdaptiveLatencyTracker for them before checking the scores, otherwise DES.reset()
will never have an affect on those hosts.

> Nodes get ignored by dynamic snitch when read repair chance is zero
> -------------------------------------------------------------------
>
>                 Key: CASSANDRA-2662
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2662
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7.6
>            Reporter: Daniel Doubleday
>            Assignee: Brandon Williams
>            Priority: Trivial
>         Attachments: dynsnitch.patch
>
>
> DynamicEndpointSnitch falls back to subsnitch when one of the scores of the endpoints
being compared is missing.
> This leads to a stable order of hosts until reads will lead to recorded scores. 
> If setting read repair chance to 0 and reads are performed with quorum then (rf - # quorum
nodes) will never get reads.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message