Skip to content
Merged
Show file tree
Hide file tree
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
14 changes: 5 additions & 9 deletions source/fundamentals/connection/connection-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -306,15 +306,11 @@ relevant options.
readPreference=primaryPreferred
&maxStalenessSeconds=90
&readPreferenceTags=dc:ny,rack:1

|

.. tip::

You can include the ``readPreferenceTags`` parameter in the connection URI more
than once. If you do, the client treats each instance as a separate tag set.
The order of the tags in the URI determines the order for read preference. You can
use this parameter only if the read-preference mode is not ``primary``.

| You can include the ``readPreferenceTags`` parameter in the connection URI more
than once. If you do, the client treats each instance as a separate tag set.
The order of the tags in the URI determines the order for read preference. You can
use this parameter only if the read-preference mode is not ``primary``.

* - **ReplicaSetName**
- | The name of the replica set to connect to.
Expand Down
4 changes: 2 additions & 2 deletions source/fundamentals/transactions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ tabs to learn about the methods to manage your transaction:
learn more about this method, see the :manual:`withTransaction() page
</reference/method/Session.withTransaction/>` in the Server manual.

.. warning:: Handling Exceptions
.. important:: Handling Exceptions

When catching exceptions within the callback function used by
``WithTransaction()``, you **must** rethrow the exception before
Expand Down Expand Up @@ -162,7 +162,7 @@ tabs to learn about the methods to manage your transaction:
learn more about this method, see the :manual:`withTransaction() page
</reference/method/Session.withTransaction/>` in the Server manual.

.. warning:: Handling Exceptions
.. important:: Handling Exceptions

When catching exceptions within the callback function used by
``WithTransactionAsync()``, you **must** rethrow the exception
Expand Down