Skip to content

Commit 025dc89

Browse files
committed
DOCSP-48763: Docker note (#114)
(cherry picked from commit c4ed87f)
1 parent fde3556 commit 025dc89

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

source/connect/connection-targets.txt

+10-8
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,17 @@ set ``myreplset``, which is running on port ``27017`` of three different hosts
101101
:end-before: end-connect-replica
102102
:dedent:
103103

104-
.. note::
105-
106-
The ``mongoc_client_new()`` function is *non-blocking*.
107-
When you connect to a replica set, the constructor returns immediately while the
108-
client uses background threads to connect to the replica set.
104+
The ``mongoc_client_new()`` function is *non-blocking*.
105+
When you connect to a replica set, the constructor returns immediately while the
106+
client uses background threads to connect to the replica set.
109107

110-
If you construct a ``mongoc_client_t`` object and immediately print the string representation
111-
of its ``nodes`` attribute, the list might be empty while the client connects to
112-
the replica-set members.
108+
If you construct a ``mongoc_client_t`` object and immediately print the string representation
109+
of its ``nodes`` attribute, the list might be empty while the client connects to
110+
the replica-set members.
111+
112+
.. note:: Replica Set in Docker
113+
114+
.. sharedinclude:: dbx/docker-replica-set.rst
113115

114116
API Documentation
115117
-----------------

0 commit comments

Comments
 (0)