Skip to content

Corrected double-negative #1019

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 1 commit into from
Closed

Conversation

joeytwiddle
Copy link

It looks to me like {$ne: t._id} specifies we can only perform this update if t._id is NOT already in the pendingTransactions array. The original description seemed to be saying the opposite (prevent if NOT, instead of perform if NOT)!

It looks to me like {$ne: t._id} specifies we can only perform this update if t._id is NOT already in the pendingTransactions array.  The original description seemed to be saying the opposite (prevent not perform)!
@joeytwiddle
Copy link
Author

I may have misunderstood, if "the transaction is not already pending" refers to the transactions collection, and not to the array inside the accounts documents. In which case, some clarification would be helpful.

@tychoish
Copy link
Contributor

tychoish commented May 9, 2014

Thanks for the contribution! First of all, sorry for the delay in getting back to you on this. I'd like to get this merged in an published, but first we need you to sign the MongoDB Contributor Agreement. Once we have the signature on file we can move forward.

Thanks so much for your effort, and sorry again for the delay!

Cheers,
sam

@kay-kim
Copy link
Contributor

kay-kim commented May 9, 2014

Hi Joey --
thanks again for your contribution and apologies again for the lateness of the response. I believe your original understanding was correct. In order to clarify the text, we have updated the explanation of that step to the following:

35aa2f0

As such, we will be closing your pull request. Thanks again for calling attention to this as well as your work.

Regards,

Kay Kim

@kay-kim kay-kim closed this May 9, 2014
mongo-cr-bot pushed a commit that referenced this pull request Apr 26, 2022
* DOCS-15267

* bump release in snooty.toml

* bump snooty toml release
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jun 26, 2025
* (DOCSP-24027) MEKO support for OM 6.0

* Copy review

* Reverted changes to upgrade mdb version as not needed for this PR

* Now ready for a tech review

* Adjust Kubernetes API version to 1.25 per review, ready to merge

* Some more feedback based on a related ticket from support

* (DOCSP-24802) changes to remove OM 4.4 altogether and fully, as per change of plans

* A few edits, ready for a copy review, finally, again
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jun 26, 2025
* (DOCSP-24027) MEKO support for OM 6.0

* Copy review

* Reverted changes to upgrade mdb version as not needed for this PR

* Now ready for a tech review

* Adjust Kubernetes API version to 1.25 per review, ready to merge

* Some more feedback based on a related ticket from support

* (DOCSP-24802) changes to remove OM 4.4 altogether and fully, as per change of plans

* A few edits, ready for a copy review, finally, again
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.

3 participants