You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sam Tunnicliffe (JIRA)" <ji...@apache.org> on 2016/02/01 22:00:41 UTC

[jira] [Created] (CASSANDRA-11104) KeysSearcher doesn't filter results by key range

Sam Tunnicliffe created CASSANDRA-11104:
-------------------------------------------

             Summary: KeysSearcher doesn't filter results by key range
                 Key: CASSANDRA-11104
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11104
             Project: Cassandra
          Issue Type: Bug
          Components: Local Write-Read Paths
            Reporter: Sam Tunnicliffe
            Assignee: Sam Tunnicliffe
             Fix For: 3.0.x, 3.x


In 3.0 the check in {{KeysSearcher}} to validate that a hit from the index is falls within the key range of command being executed was ommitted. The effect of this can be observed in a vnode cluster with > 1 node where nodes contain non-contiguous ranges. 

Because of the lack of range checking, each range command sent to a given replica will return all matching rows, resulting in duplicates in the result set (i.e. one duplicate per merged range).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)