From e1b8b28d4debea9d9b14f4a9d07948f70410d988 Mon Sep 17 00:00:00 2001 From: Michael Morisi Date: Mon, 14 Apr 2025 11:46:47 -0400 Subject: [PATCH 1/2] DOCSP-48763: Docker note --- source/connect/connection-targets.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/connect/connection-targets.txt b/source/connect/connection-targets.txt index 9ef68a26..cc74e043 100644 --- a/source/connect/connection-targets.txt +++ b/source/connect/connection-targets.txt @@ -111,6 +111,10 @@ set ``myreplset``, which is running on port ``27017`` of three different hosts of its ``nodes`` attribute, the list might be empty while the client connects to the replica-set members. +.. note:: Replica Set in Docker + + .. sharedinclude:: dbx/docker-replica-set.rst + API Documentation ----------------- From af21145b3832a6e154e0461f5f276e20ab92e36d Mon Sep 17 00:00:00 2001 From: Michael Morisi Date: Mon, 14 Apr 2025 11:54:20 -0400 Subject: [PATCH 2/2] JS feedback --- source/connect/connection-targets.txt | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/source/connect/connection-targets.txt b/source/connect/connection-targets.txt index cc74e043..c9f3063f 100644 --- a/source/connect/connection-targets.txt +++ b/source/connect/connection-targets.txt @@ -101,15 +101,13 @@ 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