cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Tunnicliffe (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-13222) Paging with reverse queries and static columns may return incorrectly sized pages
Date Wed, 15 Feb 2017 13:58:42 GMT

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

Sam Tunnicliffe updated CASSANDRA-13222:
----------------------------------------
    Reproduced In: 2.2.8, 2.1.16  (was: 2.1.16, 2.2.8)
           Status: Patch Available  (was: In Progress)

As expected, this doesn't repro on 3.0+ so I've haven't pushed branches for 3.11 or trunk
as like the 3.0 branch they'll only contain the new test.

||branch||testall||dtest||
|[13222-2.1|https://github.com/beobal/cassandra/tree/13222-2.1]|[testall|http://cassci.datastax.com/view/Dev/view/beobal/job/beobal-13222-2.1-testall]|[dtest|http://cassci.datastax.com/view/Dev/view/beobal/job/beobal-13222-2.1-dtest]|
|[13222-2.2|https://github.com/beobal/cassandra/tree/13222-2.2]|[testall|http://cassci.datastax.com/view/Dev/view/beobal/job/beobal-13222-2.2-testall]|[dtest|http://cassci.datastax.com/view/Dev/view/beobal/job/beobal-13222-2.2-dtest]|
|[13222-3.0|https://github.com/beobal/cassandra/tree/13222-3.0]|[testall|http://cassci.datastax.com/view/Dev/view/beobal/job/beobal-13222-3.0-testall]|[dtest|http://cassci.datastax.com/view/Dev/view/beobal/job/beobal-13222-3.0-dtest]|


> Paging with reverse queries and static columns may return incorrectly sized pages
> ---------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-13222
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13222
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CQL, Local Write-Read Paths
>            Reporter: Sam Tunnicliffe
>            Assignee: Sam Tunnicliffe
>
> There are 2 specialisations of {{ColumnCounter}} that deal with static columns differently
depending on the order of iteration through the column family and which impl is used generally
depends on whether or not the {{ColumnFilter}} in use is reversed. However, the base method
{{ColumnCounter::countAll}} always uses forward iteration, which can result in overcounting
when the query is reversed and there are statics involved. In turn, this leads to incorrectly
sized pages being returned to the client.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message