Skip to content

Commit a17cac5

Browse files
committed
Fix typos.
1 parent 4087dbb commit a17cac5

7 files changed

+10
-10
lines changed

docs/build_system.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ using.
174174
#### Adding tests to a suite
175175
#### Running individual tests
176176

177-
## Modifying the buid system
177+
## Modifying the build system
178178
### What is SCons?
179179
#### `SConstruct` and `SConscripts`
180180
#### `Environments `and their `Clone`s

docs/evergreen-testing/configuration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ section of the Evergreen wiki.
1313
### `mongodb-mongo-master`
1414
The main project for testing MongoDB's dev environments with a number build variants,
1515
each one corresponding to a particular compile or testing environment to support development.
16-
Each build variant runs a set of tasks; each task ususally runs one or more tests.
16+
Each build variant runs a set of tasks; each task usually runs one or more tests.
1717

1818
### `mongodb-mongo-master-nightly
1919
Tracks the same branch as `mongodb-mongo-master`, each build variant corresponds to a

docs/futures_and_promises.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ a high level, but we've left out some important details about how they work.
8888
### How Are Futures Fulfilled With Values?
8989
In our example, we looked at how some code that needs to wait for results can use `Future`s to be
9090
written in an asynchronous, performant way. But some thread running elsewhere needs to actually
91-
"fulfill" those futures with a value or error. Threads can fulfull the core "promise" of a
91+
"fulfill" those futures with a value or error. Threads can fulfill the core "promise" of a
9292
`Future<T>` - that it will eventually contain a `T` or an error - by using the appropriately named
9393
`Promise<T>` type. Every pending `Future<T>` is associated with exactly one corresponding
9494
`Promise<T>` that can be used to ready the `Future<T>`, providing it with a value. (Note that a
@@ -266,7 +266,7 @@ continuation-chaining member functions in [future.h][future], starting above the
266266
At some point, we may have no more continuations to add to a future chain, and will want to either
267267
synchronously extract the value or error held in the last future of the chain, or add a callback to
268268
asynchronously consume this value. The `.get()` and `.getAsync()` members of future-like types
269-
provide these facilities for terminating a future chain by extracting or asynchronouslyunsly
269+
provide these facilities for terminating a future chain by extracting or asynchronously
270270
consuming the result of the chain. The `.getAsync()` function works much like `.onCompletion()`,
271271
taking a `Status` or `StatusWith<T>` and running regardless of whether or not the previous link in
272272
the chain resolved with error or success, and running asynchronously when the previous results are

docs/golden_data_test_framework.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ be included in the diff.
6161
* When resolving merge conflicts on the expected output files, one of the approaches below SHOULD be
6262
used:
6363
* "Accept theirs", rerun the tests and verify new outputs. This doesn't require knowledge of
64-
production/test code changes in "theirs" branch, but requires re-review and re-acceptance of c
65-
hanges done by local branch.
64+
production/test code changes in "theirs" branch, but requires re-review and re-acceptance of
65+
changes done by local branch.
6666
* "Accept yours", rerun the tests and verify the new outputs. This approach requires knowledge of
6767
production/test code changes in "theirs" branch. However, if such changes resulted in
6868
straightforward and repetitive output changes, like due to printing code change or fixture change,

docs/load_balancer_support.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ protocol standard.
1414
e.g., when connecting to a local `mongos` instance, if the `loadBalancerPort` server parameter was set to 20100, the
1515
connection string must be of the form `"mongodb://localhost:20100/?loadBalanced=true"`.
1616

17-
`mongos` will emit appropiate error messages on connection attempts if these requirements are not
17+
`mongos` will emit appropriate error messages on connection attempts if these requirements are not
1818
met.
1919

2020
There are some subtle behavioral differences that these configuration options enable, chief of

docs/logging.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ Fatal level log statements using `LOGV2_FATAL` perform `fassert` after logging,
222222
using the provided ID as assert id. `LOGV2_FATAL_NOTRACE` perform
223223
`fassertNoTrace` and `LOGV2_FATAL_CONTINUE` does not `fassert` allowing for
224224
continued execution. `LOGV2_FATAL_CONTINUE` is meant to be used when a fatal
225-
error has occured but a different way of halting execution is desired such as
225+
error has occurred but a different way of halting execution is desired such as
226226
`std::terminate` or `fassertFailedWithStatus`.
227227

228228
`LOGV2_FATAL_OPTIONS` performs `fassert` by default like `LOGV2_FATAL` but this
@@ -520,7 +520,7 @@ implemented as a friend function in a class with the following signature:
520520

521521
In some cases a loggable type might be composed as a hierarchy in the C++ type
522522
system which would lead to a very verbose structured log output as every level
523-
in the hierarcy needs a name when outputted as JSON. The attribute naming
523+
in the hierarchy needs a name when outputted as JSON. The attribute naming
524524
abstraction system can also be used to collapse such hierarchies. Instead of
525525
making a type loggable it can instead return one or more attributes from its
526526
members by using `multipleAttrs` in `logAttrs` functions.

docs/thread_pools.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ A thread pool ([Wikipedia][thread_pools_wikipedia]) accepts and executes
44
lightweight work items called "tasks", using a carefully managed group
55
of dedicated long-running worker threads. The worker threads perform
66
the work items in parallel without forcing each work item to assume the
7-
burden of starting and destroying a dedicated thead.
7+
burden of starting and destroying a dedicated thread.
88

99
## Classes
1010

0 commit comments

Comments
 (0)