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 2015/06/09 19:07:01 UTC
[jira] [Created] (CASSANDRA-9571) Set HAS_MORE_PAGES flag when
PagingState is null
Sam Tunnicliffe created CASSANDRA-9571:
------------------------------------------
Summary: Set HAS_MORE_PAGES flag when PagingState is null
Key: CASSANDRA-9571
URL: https://issues.apache.org/jira/browse/CASSANDRA-9571
Project: Cassandra
Issue Type: Improvement
Reporter: Sam Tunnicliffe
Assignee: Sam Tunnicliffe
Priority: Minor
Fix For: 2.1.x, 2.0.x, 3.0.x
If {{ResultSet.Metadata#setHasMorePages}} is called with a null {{PagingState}}, indicating that there are no more available results, we should explicitly unset the {{HAS_MORE_PAGES}} flag. This can be necessary where a custom {{QueryHandler}} implements its own {{LIMIT}} logic and wishes to send the signal to the client that the results are exhausted before the storage engine would normally do so.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)