Skip to content
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

Corrected insertMany() ordered duplicate key thrown exception #2854

Closed
wants to merge 1 commit into from
Closed

Corrected insertMany() ordered duplicate key thrown exception #2854

wants to merge 1 commit into from

Conversation

maganap
Copy link

@maganap maganap commented Mar 15, 2017

The thrown exception did not match what is explained in the text above and below it.
It was showing an error while inserting the first document (_id:13), but actually the error is thrown while inserting the second document (_id:13 again). So, "index", "op" and "nInserted" were corrected, as well as the database and collection names in the "errmsg" to be consistent with the other examples in the same documentation.


This change is Reviewable

The thrown exception did not match what is explained in the text above and below it.
It was showing an error while inserting the first document (_id:13), but actually the error is thrown while inserting the second document (_id:13 again). So, "op" and "nInserted" were corrected, as well as the database and collection names in the "errmsg" to be consistent with the other examples in the same documentation.
@maganap maganap changed the title Corrected ordered duplicate key thrown exception Corrected insertMany() ordered duplicate key thrown exception Mar 15, 2017
Copy link

@bukkasamudram bukkasamudram left a comment

Choose a reason for hiding this comment

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

Hi,

Verified from my side, Changes looks good.

Venkat

@kay-kim
Copy link
Contributor

kay-kim commented Oct 2, 2019

Thank you for this pull request and apologies for the delay in response. During this long delay, the error you correctly pointed out and have kindly fixed through your pull request was fixed through a separate JIRA ticket. As such, will close this pull request, but we very much appreciate your taking the time to help us improve the docs. And once again, apologies on the delay.

Regards,

Kay Kim

@kay-kim kay-kim closed this Oct 2, 2019
mongo-cr-bot pushed a commit that referenced this pull request Mar 30, 2023
…yPath (#2753) (#2854)

* DOCSP-28680 Add Restart Warning for diagnosticDataCollectionDirectoryPath (#2753)

* DOCSP-28680 Add Restart Warning for diagnosticDataCollectionDirectoryPath

* copy cleanup

* IF feedback

* move warning message

* resolve build errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants