Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
Jeremy GUEGAN opened DATACASS-700 and commented
When i use Pagination with cassandra, i have to iterate over the slices.
When doing this, an exception appears:
com.datastax.driver.core.exceptions.PagingStateException: Paging state mismatch, this means that either the paging state contents were altered, or you're trying to apply it to a different statement
after analysis, i have discovered that CassandraPagingRequest lose Sort when i get it from the slice (An example is shown on the stackOverflow issue referenced).
i used a workaround to achieve the request and the pagination, it's seems to work and sort the results (again, the workaround is shown in the stackOverflow issue).
If a developer needs to have a full example of code to reproduce the issue, i'll be glad to communicate (by private message) a link to the code.
Affects: 2.1.12 (Lovelace SR12), 2.2.1 (Moore SR1)
Reference URL: https://stackoverflow.com/questions/58792760/pagination-and-sorting-in-cassandra-using-spring-data-cassandra
Referenced from: commits 287f9d2, 34ad06d, afebb7c
Backported to: 2.2.2 (Moore SR2), 2.1.13 (Lovelace SR13)
The text was updated successfully, but these errors were encountered:
Mark Paluch commented
That's fixed now
Sorry, something went wrong.
Successfully merging a pull request may close this issue.