Skip to content

DOCSP-48763: Docker note #114

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

Merged
merged 2 commits into from
Apr 14, 2025
Merged
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
18 changes: 10 additions & 8 deletions source/connect/connection-targets.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,17 @@ set ``myreplset``, which is running on port ``27017`` of three different hosts
:end-before: end-connect-replica
:dedent:

.. note::

The ``mongoc_client_new()`` function is *non-blocking*.
When you connect to a replica set, the constructor returns immediately while the
client uses background threads to connect to the replica set.
The ``mongoc_client_new()`` function is *non-blocking*.
When you connect to a replica set, the constructor returns immediately while the
client uses background threads to connect to the replica set.

If you construct a ``mongoc_client_t`` object and immediately print the string representation
of its ``nodes`` attribute, the list might be empty while the client connects to
the replica-set members.
If you construct a ``mongoc_client_t`` object and immediately print the string representation
of its ``nodes`` attribute, the list might be empty while the client connects to
the replica-set members.

.. note:: Replica Set in Docker
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is resulting in stacked note boxes which we should avoid, can the paragraph above this be taken out of an admonition? I think it works just as well without being in a note box


.. sharedinclude:: dbx/docker-replica-set.rst

API Documentation
-----------------
Expand Down
Loading