Skip to content

DOCSP-49096: Causal Consistency note #579

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

Open
wants to merge 4 commits into
base: docsp-45382-comp-cvg
Choose a base branch
from
Open
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
30 changes: 30 additions & 0 deletions source/crud/transactions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,35 @@ instantiating a new client each time.
``IClientSession`` with a different ``MongoClient`` results in operation
errors.

Causal Consistency
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

To the tech reviewer – in addition to the new content on this page, could you do a quick pass on the page as a whole to ensure that we've comprehensively covered both Causal Consistency as well as Transactions?

~~~~~~~~~~~~~~~~~~

.. sharedinclude:: dbx/causal-consistency.rst

.. replacement:: insert-one-method

``InsertOne()``

.. replacement:: update-one-method

``UpdateOne()``

.. replacement:: find-one-method

``Find()``

.. replacement:: delete-one-method

``DeleteOne()``

.. replacement:: majority-rc

``ReadConcern.Majority``

.. replacement:: majority-wc

``WriteConcern.WMajority``

Methods
-------

Expand Down Expand Up @@ -231,3 +260,4 @@ guide, see the following API Documentation:
- `CommitTransaction() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IClientSession.CommitTransaction.html>`__ / `CommitTransactionAsync() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IClientSession.CommitTransactionAsync.html>`__
- `WithTransaction() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IClientSession.WithTransaction.html>`__ / `WithTransactionAsync() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IClientSession.WithTransactionAsync.html>`__
- `TransactionOptions <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.TransactionOptions.html>`__
- `CausalConsistency <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.ClientSessionOptions.CausalConsistency.html>`__
Loading