Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOCSP-30911: Add server lifecycle support callout #290

Merged
merged 4 commits into from
Sep 21, 2023
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
4 changes: 3 additions & 1 deletion source/compatibility.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ The following compatibility table specifies the recommended version of the

The first column lists the driver version.

.. sharedinclude:: dbx/lifecycle-schedule-callout.rst

.. sharedinclude:: dbx/compatibility-table-legend.rst

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

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

For more information on how to read the compatibility tables, see our guide on
For more information on how to read the compatibility tables, see our guide on
:ref:`MongoDB Compatibility Tables. <about-driver-compatibility>`
12 changes: 6 additions & 6 deletions source/fundamentals/connection.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ Connection Guide
.. default-domain:: mongodb

.. facet::
:type: genre
:values: tutorial
:name: genre
:values: tutorial

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

.. tip:: Reuse Your Client

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

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

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

If you pass a Context into an operation with a deadline, the driver uses
that Context deadline for the operation. If the context does not have a
Expand Down Expand Up @@ -323,4 +323,4 @@ URI option and execute an operation that inherits this setting:
will be deprecated in an upcoming release. The driver ignores ``MaxTime`` and
``MaxCommitTime`` if you set ``Timeout``. The driver still honors
``SocketTimeout`` and ``wTimeout``, but these settings may result in
undefined behavior. Consider using only the single timeout option instead.
undefined behavior. Consider using only the single timeout option instead.
10 changes: 5 additions & 5 deletions source/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
.. default-domain:: mongodb

.. facet::
:type: genre
:values: reference
:name: genre
:values: reference

.. toctree::
:titlesonly:
Expand All @@ -30,9 +30,9 @@
Introduction
------------

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

Quick Start
Expand Down
Loading