-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Eliminate unnecessary killCursors command when batchSize == limit #1656
Conversation
5e93b0c
to
f8b7b2d
Compare
f8b7b2d
to
c0b36c5
Compare
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.
There's a lot of apparent code duplication here. I suggest you have a look at the FindOperation
class and see if you can consolidate all the logic there, at the point where the action command document is created.
15c017b
to
84a175b
Compare
driver-core/src/main/com/mongodb/internal/client/model/FindOptions.java
Outdated
Show resolved
Hide resolved
...streams/src/test/unit/com/mongodb/reactivestreams/client/internal/FindPublisherImplTest.java
Outdated
Show resolved
Hide resolved
7df698b
to
05c59d2
Compare
05c59d2
to
7ea08de
Compare
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.
LGTM
When you create the squashed commit, please observe the driver practice of putting the issue number on a separate line, e.g.
This is the description
JAVA-XXXX
https://jira.mongodb.org/browse/JAVA-5667