Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-9571

Set HAS_MORE_PAGES flag when PagingState is null

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        1. 9571-2.0.txt
          1 kB
          Sam Tunnicliffe

        Activity

          People

            samt Sam Tunnicliffe
            samt Sam Tunnicliffe
            Sam Tunnicliffe
            Aleksey Yeschenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: