You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stu Hood (JIRA)" <ji...@apache.org> on 2009/06/17 10:38:07 UTC

[jira] Updated: (CASSANDRA-236) Bug in Range.contains(Token)

     [ https://issues.apache.org/jira/browse/CASSANDRA-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stu Hood updated CASSANDRA-236:
-------------------------------

    Attachment: range.patch

Fixes the issue and test.

> Bug in Range.contains(Token)
> ----------------------------
>
>                 Key: CASSANDRA-236
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-236
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: trunk
>            Reporter: Stu Hood
>            Priority: Minor
>         Attachments: range.patch
>
>
> There is an off-by-one error in Range.contains(Token): the endpoint (right) of the range is always supposed to be exclusive, but it was inclusive in the non-wrapping case.

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