Skip to content

Conversation

@christophstrobl
Copy link
Member

We now directly set the offset to use instead of creating a new Pageable. This asserts that every single element is read from the store.
Prior to this change the altered pageSize lead to an unintended increase of elements to skip.

We now directly set the offset to use instead of reading it from the used pageable.  This asserts that every single element is read from the store. 
Prior to this change the altered pageSize lead to an unintended increase of the number of elements to skip.
christophstrobl added a commit that referenced this pull request Oct 8, 2014
We now directly set the offset to use instead of reading it from the used pageable. This asserts that every single element is read from the store.
Prior to this change the altered pageSize lead to an unintended increase of the number of elements to skip.

Original pull request: #226.
odrotbohm added a commit that referenced this pull request Oct 8, 2014
Slightly tweaked the changes in SlicedExecution to simplify the implementation. We now apply the given pageable but tweak the limit the query uses to peek into the next page.

Original pull request: #226.
christophstrobl added a commit that referenced this pull request Oct 8, 2014
We now directly set the offset to use instead of reading it from the used pageable. This asserts that every single element is read from the store.
Prior to this change the altered pageSize lead to an unintended increase of the number of elements to skip.

Original pull request: #226.
odrotbohm added a commit that referenced this pull request Oct 8, 2014
Slightly tweaked the changes in SlicedExecution to simplify the implementation. We now apply the given pageable but tweak the limit the query uses to peek into the next page.

Original pull request: #226.
@odrotbohm odrotbohm closed this Oct 8, 2014
@odrotbohm odrotbohm deleted the issue/DATAMONGO-1057 branch October 8, 2014 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants