Skip to content

Commit 848423b

Browse files
committed
Updated docs to include logging (2.18) and corrected information about server monitoring (2.15 to 2.18).
1 parent 48266b8 commit 848423b

File tree

66 files changed

+6033
-506
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+6033
-506
lines changed

2.15/reference/driver_core/index.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3212,7 +3212,13 @@ <h3 id="connection-pooling">Connection Pooling</h3>
32123212

32133213
<h3 id="server-monitoring">Server Monitoring</h3>
32143214

3215-
<p>Each server that is discovered is monitored. By default, this monitoring happens every 10 seconds and consists of a <code>{ hello: 1 }</code> (or legacy hello) call followed by a <code>{ buildInfo: 1 }</code> call. When servers go down, the frequency of these calls will be increased to 500 milliseconds. See the <a href="https://github.com/mongodb/specifications/blob/master/source/server-discovery-and-monitoring/server-discovery-and-monitoring-summary.rst">Server Discovery and Monitoring Specification</a> for more information.</p>
3215+
<p>Each server that is discovered is monitored.</p>
3216+
3217+
<p>MongoDB 4.4 or later: The <code>MongoClient</code> establishes an exhaust cursor to each discovered cluster node using <code>{ hello: 1 }</code> (or legacy hello). Cluster nodes push topology updates to <code>MongoClient</code>.</p>
3218+
3219+
<p>MongoDB 4.2 or ealier: The <code>MongoClient</code> polls each discovered cluster node every <a href="https://www.mongodb.com/docs/manual/reference/connection-string/#mongodb-urioption-urioption.heartbeatFrequencyMS">heartbeatFrequencyMS</a> (default 10 seconds, MongoDB Atlas 5 seconds) using <code>{ hello: 1 }</code> (or legacy hello).</p>
3220+
3221+
<p>When servers go down, the frequency of these calls will be increased to 500 milliseconds. See the <a href="https://github.com/mongodb/specifications/blob/master/source/server-discovery-and-monitoring/server-discovery-and-monitoring-summary.rst">Server Discovery and Monitoring Specification</a> for more information.</p>
32163222

32173223
<h3 id="server-selection">Server Selection</h3>
32183224

2.16/reference/driver_core/index.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3212,7 +3212,13 @@ <h3 id="connection-pooling">Connection Pooling</h3>
32123212

32133213
<h3 id="server-monitoring">Server Monitoring</h3>
32143214

3215-
<p>Each server that is discovered is monitored. By default, this monitoring happens every 10 seconds and consists of a <code>{ hello: 1 }</code> (or legacy hello) call followed by a <code>{ buildInfo: 1 }</code> call. When servers go down, the frequency of these calls will be increased to 500 milliseconds. See the <a href="https://github.com/mongodb/specifications/blob/master/source/server-discovery-and-monitoring/server-discovery-and-monitoring-summary.rst">Server Discovery and Monitoring Specification</a> for more information.</p>
3215+
<p>Each server that is discovered is monitored.</p>
3216+
3217+
<p>MongoDB 4.4 or later: The <code>MongoClient</code> establishes an exhaust cursor to each discovered cluster node using <code>{ hello: 1 }</code> (or legacy hello). Cluster nodes push topology updates to <code>MongoClient</code>.</p>
3218+
3219+
<p>MongoDB 4.2 or ealier: The <code>MongoClient</code> polls each discovered cluster node every <a href="https://www.mongodb.com/docs/manual/reference/connection-string/#mongodb-urioption-urioption.heartbeatFrequencyMS">heartbeatFrequencyMS</a> (default 10 seconds, MongoDB Atlas 5 seconds) using <code>{ hello: 1 }</code> (or legacy hello).</p>
3220+
3221+
<p>When servers go down, the frequency of these calls will be increased to 500 milliseconds. See the <a href="https://github.com/mongodb/specifications/blob/master/source/server-discovery-and-monitoring/server-discovery-and-monitoring-summary.rst">Server Discovery and Monitoring Specification</a> for more information.</p>
32163222

32173223
<h3 id="server-selection">Server Selection</h3>
32183224

2.17/reference/driver_core/index.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3252,7 +3252,13 @@ <h3 id="connection-pooling">Connection Pooling</h3>
32523252

32533253
<h3 id="server-monitoring">Server Monitoring</h3>
32543254

3255-
<p>Each server that is discovered is monitored. By default, this monitoring happens every 10 seconds and consists of a <code>{ hello: 1 }</code> (or legacy hello) call followed by a <code>{ buildInfo: 1 }</code> call. When servers go down, the frequency of these calls will be increased to 500 milliseconds. See the <a href="https://github.com/mongodb/specifications/blob/master/source/server-discovery-and-monitoring/server-discovery-and-monitoring-summary.rst">Server Discovery and Monitoring Specification</a> for more information.</p>
3255+
<p>Each server that is discovered is monitored.</p>
3256+
3257+
<p>MongoDB 4.4 or later: The <code>MongoClient</code> establishes an exhaust cursor to each discovered cluster node using <code>{ hello: 1 }</code> (or legacy hello). Cluster nodes push topology updates to <code>MongoClient</code>.</p>
3258+
3259+
<p>MongoDB 4.2 or ealier: The <code>MongoClient</code> polls each discovered cluster node every <a href="https://www.mongodb.com/docs/manual/reference/connection-string/#mongodb-urioption-urioption.heartbeatFrequencyMS">heartbeatFrequencyMS</a> (default 10 seconds, MongoDB Atlas 5 seconds) using <code>{ hello: 1 }</code> (or legacy hello).</p>
3260+
3261+
<p>When servers go down, the frequency of these calls will be increased to 500 milliseconds. See the <a href="https://github.com/mongodb/specifications/blob/master/source/server-discovery-and-monitoring/server-discovery-and-monitoring-summary.rst">Server Discovery and Monitoring Specification</a> for more information.</p>
32563262

32573263
<h3 id="server-selection">Server Selection</h3>
32583264

2.18/examples/exporting_json/index.html

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -844,6 +844,33 @@ <h3>
844844

845845

846846

847+
848+
849+
850+
851+
852+
853+
854+
855+
856+
857+
858+
859+
860+
861+
862+
863+
864+
865+
866+
867+
868+
869+
870+
871+
872+
873+
847874

848875

849876

@@ -2445,6 +2472,35 @@ <h3>
24452472

24462473

24472474

2475+
2476+
2477+
2478+
<li class="toctree-l3">
2479+
<a href="/mongo-csharp-driver/2.18/reference/driver/logging/">
2480+
<i class='fa'></i>
2481+
Logging
2482+
</a>
2483+
</li>
2484+
2485+
2486+
2487+
2488+
2489+
2490+
2491+
2492+
2493+
2494+
2495+
2496+
2497+
2498+
2499+
2500+
2501+
2502+
2503+
24482504

24492505

24502506

2.18/examples/importing_json/index.html

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -844,6 +844,33 @@ <h3>
844844

845845

846846

847+
848+
849+
850+
851+
852+
853+
854+
855+
856+
857+
858+
859+
860+
861+
862+
863+
864+
865+
866+
867+
868+
869+
870+
871+
872+
873+
847874

848875

849876

@@ -2469,6 +2496,35 @@ <h3>
24692496

24702497

24712498

2499+
2500+
2501+
2502+
<li class="toctree-l3">
2503+
<a href="/mongo-csharp-driver/2.18/reference/driver/logging/">
2504+
<i class='fa'></i>
2505+
Logging
2506+
</a>
2507+
</li>
2508+
2509+
2510+
2511+
2512+
2513+
2514+
2515+
2516+
2517+
2518+
2519+
2520+
2521+
2522+
2523+
2524+
2525+
2526+
2527+
24722528

24732529

24742530

2.18/examples/index.html

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -844,6 +844,33 @@ <h3>
844844

845845

846846

847+
848+
849+
850+
851+
852+
853+
854+
855+
856+
857+
858+
859+
860+
861+
862+
863+
864+
865+
866+
867+
868+
869+
870+
871+
872+
873+
847874

848875

849876

@@ -2397,6 +2424,35 @@ <h3>
23972424

23982425

23992426

2427+
2428+
2429+
2430+
<li class="toctree-l3">
2431+
<a href="/mongo-csharp-driver/2.18/reference/driver/logging/">
2432+
<i class='fa'></i>
2433+
Logging
2434+
</a>
2435+
</li>
2436+
2437+
2438+
2439+
2440+
2441+
2442+
2443+
2444+
2445+
2446+
2447+
2448+
2449+
2450+
2451+
2452+
2453+
2454+
2455+
24002456

24012457

24022458

2.18/examples/mixing_static_and_dynamic/index.html

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -844,6 +844,33 @@ <h3>
844844

845845

846846

847+
848+
849+
850+
851+
852+
853+
854+
855+
856+
857+
858+
859+
860+
861+
862+
863+
864+
865+
866+
867+
868+
869+
870+
871+
872+
873+
847874

848875

849876

@@ -2493,6 +2520,35 @@ <h3>
24932520

24942521

24952522

2523+
2524+
2525+
2526+
<li class="toctree-l3">
2527+
<a href="/mongo-csharp-driver/2.18/reference/driver/logging/">
2528+
<i class='fa'></i>
2529+
Logging
2530+
</a>
2531+
</li>
2532+
2533+
2534+
2535+
2536+
2537+
2538+
2539+
2540+
2541+
2542+
2543+
2544+
2545+
2546+
2547+
2548+
2549+
2550+
2551+
24962552

24972553

24982554

2.18/examples/tailable_cursor/index.html

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -844,6 +844,33 @@ <h3>
844844

845845

846846

847+
848+
849+
850+
851+
852+
853+
854+
855+
856+
857+
858+
859+
860+
861+
862+
863+
864+
865+
866+
867+
868+
869+
870+
871+
872+
873+
847874

848875

849876

@@ -2517,6 +2544,35 @@ <h3>
25172544

25182545

25192546

2547+
2548+
2549+
2550+
<li class="toctree-l3">
2551+
<a href="/mongo-csharp-driver/2.18/reference/driver/logging/">
2552+
<i class='fa'></i>
2553+
Logging
2554+
</a>
2555+
</li>
2556+
2557+
2558+
2559+
2560+
2561+
2562+
2563+
2564+
2565+
2566+
2567+
2568+
2569+
2570+
2571+
2572+
2573+
2574+
2575+
25202576

25212577

25222578

0 commit comments

Comments
 (0)