Skip to content

Commit 332a3ca

Browse files
author
Chris Cho
authored
Merge pull request #290 from ccho-mongodb/DOCSP-30911-server-support
DOCSP-30911: Add server lifecycle support callout
2 parents 48d9ba1 + 54adbde commit 332a3ca

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

source/compatibility.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ The following compatibility table specifies the recommended version of the
1818

1919
The first column lists the driver version.
2020

21+
.. sharedinclude:: dbx/lifecycle-schedule-callout.rst
22+
2123
.. sharedinclude:: dbx/compatibility-table-legend.rst
2224

2325
.. include:: /includes/mongodb-compatibility-table-go.rst
@@ -27,5 +29,5 @@ Language Compatibility
2729

2830
.. include:: /includes/language-compatibility-table-go.rst
2931

30-
For more information on how to read the compatibility tables, see our guide on
32+
For more information on how to read the compatibility tables, see our guide on
3133
:ref:`MongoDB Compatibility Tables. <about-driver-compatibility>`

source/fundamentals/connection.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Connection Guide
77
.. default-domain:: mongodb
88

99
.. facet::
10-
:type: genre
11-
:values: tutorial
10+
:name: genre
11+
:values: tutorial
1212

1313
.. contents:: On this page
1414
:local:
@@ -67,7 +67,7 @@ To connect to MongoDB, you need to create a client. A client manages
6767
your connections and runs database commands.
6868

6969
.. tip:: Reuse Your Client
70-
70+
7171
We recommend that you reuse your client across sessions and operations.
7272
You can use the same ``Client`` instance to perform multiple tasks, instead of
7373
creating a new one each time. The ``Client`` type is safe for
@@ -89,7 +89,7 @@ more about creating a client, see the API documentation for `Client
8989
<{+api+}/mongo#Client>`__ and `Connect() <{+api+}/mongo#Connect>`__.
9090

9191
You can set the {+stable-api+} version as an option to avoid
92-
breaking changes when you upgrade to a new server version. To
92+
breaking changes when you upgrade to a new server version. To
9393
learn more about the {+stable-api+} feature, see the :ref:`{+stable-api+} page
9494
<golang-stable-api>`.
9595

@@ -282,7 +282,7 @@ amount of time that a single operation can take to execute using the
282282
connection URI string. ``Database``, ``Collection``,
283283
``Session``, ``ChangeStream``, and ``Bucket`` instances elsewhere in
284284
your code inherit the ``Timeout`` option from ``Client`` if you do not set a
285-
Context for operations against the same entity.
285+
Context for operations against the same entity.
286286

287287
If you pass a Context into an operation with a deadline, the driver uses
288288
that Context deadline for the operation. If the context does not have a
@@ -323,4 +323,4 @@ URI option and execute an operation that inherits this setting:
323323
will be deprecated in an upcoming release. The driver ignores ``MaxTime`` and
324324
``MaxCommitTime`` if you set ``Timeout``. The driver still honors
325325
``SocketTimeout`` and ``wTimeout``, but these settings may result in
326-
undefined behavior. Consider using only the single timeout option instead.
326+
undefined behavior. Consider using only the single timeout option instead.

source/index.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
.. default-domain:: mongodb
66

77
.. facet::
8-
:type: genre
9-
:values: reference
8+
:name: genre
9+
:values: reference
1010

1111
.. toctree::
1212
:titlesonly:
@@ -30,9 +30,9 @@
3030
Introduction
3131
------------
3232

33-
Welcome to the documentation site for the official {+driver-long+}.
34-
You can add the driver to your application to work with MongoDB in Go.
35-
Download it using `go get <https://pkg.go.dev/cmd/go/internal/get>`__
33+
Welcome to the documentation site for the official {+driver-long+}.
34+
You can add the driver to your application to work with MongoDB in Go.
35+
Download it using `go get <https://pkg.go.dev/cmd/go/internal/get>`__
3636
or set up a runnable project by following our Quick Start guide.
3737

3838
Quick Start

0 commit comments

Comments
 (0)