Skip to content

DOCSP-45883 - Parallelism in transactions #135

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 4 commits into from
Dec 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion source/write/transactions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,11 @@ following steps:

If you require more control over your transactions, you can use the ``start_transaction()``
method. You can use this method with the ``commit_transaction()`` and ``abort_transaction()``
methods described in the preceding section to manually manage the transaction lifecycle.
methods described in the preceding section to manually manage the transaction lifecycle.

.. note:: Parallel Operations Not Supported
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

need to add note manually because {+driver-short+} = 'PyMongo'


{+driver-short+} does not support running parallel operations within a single transaction.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Q: does PyMongo not support bulk operations on multiple namespaces? If so, I'd add that to the admonition and link to the Bulk Write guide

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Versions 4.9+ do, but we haven't documented it yet, so there's nothing to link to. (Could link to the old docs domain, but that seems like it could be confusing for people...?)

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah okay! then I think not linking is fine


Additional Information
----------------------
Expand Down
Loading