cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Avi Kivity (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-14311) Allow Token-Aware drivers for range scans
Date Wed, 14 Mar 2018 08:00:00 GMT


Avi Kivity commented on CASSANDRA-14311:

{quote}Interesting. If the page border spans to another token, you'd still want to fill the
whole page, wouldn't you? I assume so.

You could, but you could also return a short page. In any case node-crossings are rare, so
it doesn't matter much.

{quote}Doesn't the driver already have an option to choose the next host in the ring if it
determines the paging state is beyond the original coordinator's boundary?

paging_state is opaque, the driver cannot interpret it.


> Allow Token-Aware drivers for range scans
> -----------------------------------------
>                 Key: CASSANDRA-14311
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Coordination
>            Reporter: Avi Kivity
>            Priority: Major
> Currently, range scans are not token aware. This means that an extra hop is needed for
most requests. Since range scans are usually data intensive, this causes significant extra
> Token awareness could be enabled by having the coordinator return the token for the next
(still unread) row in the response, so the driver can select a next coordinator that owns
this row.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message