Skip to content

5.0 Removals #510

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

Closed
wants to merge 7 commits into from
Closed

5.0 Removals #510

wants to merge 7 commits into from

Conversation

mongoKart
Copy link
Contributor

@mongoKart mongoKart commented Jan 23, 2024

@mongoKart mongoKart marked this pull request as ready for review January 23, 2024 19:19
Copy link
Contributor

@rachel-mack rachel-mack left a comment

Choose a reason for hiding this comment

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

A couple notes and one suggestion

@stIncMale stIncMale requested review from a team, rozza and stIncMale and removed request for a team and rozza January 25, 2024 20:22
Copy link
Member

@stIncMale stIncMale left a comment

Choose a reason for hiding this comment

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

@mongoKart The PR description says that DOCSP-34117 (redirects to https://jira.mongodb.org/browse/CLOUDP-211220) is included here, but that can't be right. Did you mean to specify DOCSP-34317, which is indeed included in this PR?

@mongoKart
Copy link
Contributor Author

@mongoKart The PR description says that DOCSP-34117 (redirects to https://jira.mongodb.org/browse/CLOUDP-211220) is included here, but that can't be right. Did you mean to specify DOCSP-34317, which is indeed included in this PR?

Yep! Updated.

Comment on lines +66 to +73
- Changes the data type of the timeout duration parameter in the
``SocketSettings.Builder.connectTimeout()`` and ``SocketSettings.Builder.readTimeout()``
methods. The data type of this parameter is now ``long`` instead of ``int``.
To view an
example that shows how to instantiate a ``SocketSettings`` instance by using
these methods, see the :ref:`SocketSettings Example
<java-socketsettings-example>` in the Specify MongoClient Settings
guide.
Copy link
Member

Choose a reason for hiding this comment

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

This text effectively duplicates the text below (search for connectTimeout, readTimeout, java-socketsettings-example). The latter was reviewed in #507.

Suggested change
- Changes the data type of the timeout duration parameter in the
``SocketSettings.Builder.connectTimeout()`` and ``SocketSettings.Builder.readTimeout()``
methods. The data type of this parameter is now ``long`` instead of ``int``.
To view an
example that shows how to instantiate a ``SocketSettings`` instance by using
these methods, see the :ref:`SocketSettings Example
<java-socketsettings-example>` in the Specify MongoClient Settings
guide.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry, I'm not seeing the duplicate text; could you specify where it is?

Copy link
Member

@stIncMale stIncMale Feb 5, 2024

Choose a reason for hiding this comment

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

Apologies, that text wasn't duplicated, it was removed and replaced with the text I quoted originally. The removed text has already been reviewed and updated in #507, more specifically, in the following commit: 7e55ff2.

The fact that this PR does not have those modifications, yet also updates that text suggests that something went wrong (fortunately, Git complains about the conflict in source/upgrade.txt, as expected). Anyway, I am asking to incorporate the changes made in the commit 7e55ff2 to files source/includes/fundamentals/code-snippets/mcs.java and source/upgrade.txt into the current PR (the list below gives an overview of the changes I am talking about, the linked commit contains all of these changes):

  1. The L suffixes in the example are not needed.
  2. The example does not show how to instantiate SocketSettings.
  3. We need to inform users that this change breaks binary compatibility.

@mongoKart mongoKart requested a review from stIncMale February 1, 2024 19:42
Comment on lines +66 to +73
- Changes the data type of the timeout duration parameter in the
``SocketSettings.Builder.connectTimeout()`` and ``SocketSettings.Builder.readTimeout()``
methods. The data type of this parameter is now ``long`` instead of ``int``.
To view an
example that shows how to instantiate a ``SocketSettings`` instance by using
these methods, see the :ref:`SocketSettings Example
<java-socketsettings-example>` in the Specify MongoClient Settings
guide.
Copy link
Member

@stIncMale stIncMale Feb 5, 2024

Choose a reason for hiding this comment

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

Apologies, that text wasn't duplicated, it was removed and replaced with the text I quoted originally. The removed text has already been reviewed and updated in #507, more specifically, in the following commit: 7e55ff2.

The fact that this PR does not have those modifications, yet also updates that text suggests that something went wrong (fortunately, Git complains about the conflict in source/upgrade.txt, as expected). Anyway, I am asking to incorporate the changes made in the commit 7e55ff2 to files source/includes/fundamentals/code-snippets/mcs.java and source/upgrade.txt into the current PR (the list below gives an overview of the changes I am talking about, the linked commit contains all of these changes):

  1. The L suffixes in the example are not needed.
  2. The example does not show how to instantiate SocketSettings.
  3. We need to inform users that this change breaks binary compatibility.

@rachel-mack rachel-mack mentioned this pull request Feb 8, 2024
5 tasks
@stIncMale
Copy link
Member

@rachel-mack, could you please close this PR, given that it was superseded by #521?

@rachel-mack
Copy link
Contributor

Replaced by #521

@rachel-mack rachel-mack closed this Feb 9, 2024
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.

4 participants