Skip to content

DOCSP-42256: leftover v2 migration items #377

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

Merged
merged 3 commits into from
Aug 14, 2024

Conversation

rustagir
Copy link
Collaborator

@rustagir rustagir commented Aug 8, 2024

Pull Request Info

PR Reviewing Guidelines

JIRA - https://jira.mongodb.org/browse/DOCSP-42256
Staging - https://preview-mongodbrustagir.gatsbyjs.io/golang/DOCSP-42256-v2-mig-items/whats-new/

Self-Review Checklist

  • Is this free of any warnings or errors in the RST?
  • Did you run a spell-check?
  • Did you run a grammar-check?
  • Are all the links working?
  • Are the facets and meta keywords accurate?

Sorry, something went wrong.

Copy link
Collaborator

@jordan-smith721 jordan-smith721 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM w/ a question and suggestion

Comment on lines 126 to 128
``Cursor.SetMaxAwaitTime()``. This method specifies the maximum time
that the server waits for new documents when you retrieve documents by
using a tailable cursor when querying a capped collection.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

S: This is a pretty wordy sentence. Can it be simplified to something like:

Suggested change
``Cursor.SetMaxAwaitTime()``. This method specifies the maximum time
that the server waits for new documents when you retrieve documents by
using a tailable cursor when querying a capped collection.
``Cursor.SetMaxAwaitTime()``. This method specifies the maximum time
that the server waits for new documents when retrieving documents with a tailable cursor on a capped collection.

@@ -122,6 +122,13 @@ The 2.0 {+driver-short+} release includes the following improvements and fixes:
``SessionOptions`` type. To learn more, see the
:ref:`golang-session-txn-options` section of the Transactions guide.

- The ``Cursor.SetMaxTime()`` method is renamed to
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Q: Is this a breaking change since it changes a method name?

@rustagir rustagir requested a review from prestonvasquez August 9, 2024 15:10
@rustagir
Copy link
Collaborator Author

@prestonvasquez reminder for you to review!

@rustagir rustagir merged commit f97c8cd into mongodb:master Aug 14, 2024
2 checks passed
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.

None yet

3 participants