-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
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? Sign in to your account
Fix for countDocument regression #1711
base: main
Are you sure you want to change the base?
Conversation
}) | ||
// Documents read until pageState available, max records read is deleteLimit + 1 TODO | ||
// COMMENTS | ||
.whilst(AsyncPagingIterable::hasMorePages) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quick question: where is the "max count" checked? Looks like this would read through all entries and not stop at specific count? (I am probably missing something)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this would be set in the CQL limit, the page size we tell the driver is how to chunk LIMIT number of rows.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks like the code we came up with for in memory sorting for tables
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah. Yes, since that's within SimpleStatement
being passed.
moving to draft due to last minute situation, the simple fix is #1715 |
What this PR does:
Count command fix
Which issue(s) this PR fixes:
Fixes #1708
Checklist