Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed May 30, 2024
1 parent f243b1d commit 68db819
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ repos:
rev: "v2.3.0"
hooks:
- id: codespell
args: ["-L", "fle,re-use,merchantibility,synching,crate,nin,infinit,te"]
args: ["-L", "fle,re-use,merchantibility,synching,crate,nin,infinit,te,checkin"]
exclude: |
(?x)^(.*\.rst
)$
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ class Monitor(Thread):
wait()

def setUpConnection():
# Take the mutex to avoid a data race becauase this code writes to the connection field and a concurrent
# Take the mutex to avoid a data race because this code writes to the connection field and a concurrent
# cancelCheck call could be reading from it.
with lock:
# Server API versioning implies that the server supports hello.
Expand Down
2 changes: 1 addition & 1 deletion source/transactions/transactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ Drivers MUST unpin a ClientSession in the following situations:
1. The transaction is aborted. The session MUST be unpinned regardless of whether or the `abortTransaction` command
succeeds or fails, or was executed at all. If the operation fails with a retryable error, the session MUST be
unpinned before performing server selection for the retry.
2. Any operation in the transcation, including `commitTransaction` fails with a TransientTransactionError. Transient
2. Any operation in the transaction, including `commitTransaction` fails with a TransientTransactionError. Transient
errors indicate that the transaction in question has already been aborted or that the pinnned mongos is
down/unavailable. Unpinning the session ensures that a subsequent `abortTransaction` (or `commitTransaction`) does
not block waiting on a server that is unreachable.
Expand Down
2 changes: 1 addition & 1 deletion source/unified-test-format/unified-test-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ The structure of this object is as follows:

- `ignoreResultAndError`: Optional boolean. If true, both the error and result for the operation MUST be ignored.

This field is mutally exclusive with [expectResult](#operation_expectResult), [expectError](#operation_expectError),
This field is mutually exclusive with [expectResult](#operation_expectResult), [expectError](#operation_expectError),
and [saveResultAsEntity](#operation_saveResultAsEntity).

This field SHOULD NOT be used for [Special Test Operations](#special-test-operations) (i.e. `object: testRunner`).
Expand Down

0 comments on commit 68db819

Please sign in to comment.