File tree Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -295,15 +295,11 @@ relevant options.
295
295
readPreference=primaryPreferred
296
296
&maxStalenessSeconds=90
297
297
&readPreferenceTags=dc:ny,rack:1
298
-
299
- |
300
-
301
- .. tip::
302
-
303
- You can include the ``readPreferenceTags`` parameter in the connection URI more
304
- than once. If you do, the client treats each instance as a separate tag set.
305
- The order of the tags in the URI determines the order for read preference. You can
306
- use this parameter only if the read-preference mode is not ``primary``.
298
+
299
+ | You can include the ``readPreferenceTags`` parameter in the connection URI more
300
+ than once. If you do, the client treats each instance as a separate tag set.
301
+ The order of the tags in the URI determines the order for read preference. You can
302
+ use this parameter only if the read-preference mode is not ``primary``.
307
303
308
304
* - **ReplicaSetName**
309
305
- | The name of the replica set to connect to.
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ tabs to learn about the methods to manage your transaction:
103
103
learn more about this method, see the :manual:`withTransaction() page
104
104
</reference/method/Session.withTransaction/>` in the Server manual.
105
105
106
- .. warning :: Handling Exceptions
106
+ .. important :: Handling Exceptions
107
107
108
108
When catching exceptions within the callback function used by
109
109
``WithTransaction()``, you **must** rethrow the exception before
@@ -162,7 +162,7 @@ tabs to learn about the methods to manage your transaction:
162
162
learn more about this method, see the :manual:`withTransaction() page
163
163
</reference/method/Session.withTransaction/>` in the Server manual.
164
164
165
- .. warning :: Handling Exceptions
165
+ .. important :: Handling Exceptions
166
166
167
167
When catching exceptions within the callback function used by
168
168
``WithTransactionAsync()``, you **must** rethrow the exception
You can’t perform that action at this time.
0 commit comments