@@ -49,7 +49,7 @@ public interface IChannel : IDisposable
49
49
/// <param name="command">The command.</param>
50
50
/// <param name="commandValidator">The command validator.</param>
51
51
/// <param name="responseHandling">The response handling.</param>
52
- /// <param name="slaveOk ">if set to <c>true</c> sets the SlaveOk bit to true in the command message sent to the server.</param>
52
+ /// <param name="secondaryOk ">if set to <c>true</c> sets the SecondaryOk bit to true in the command message sent to the server.</param>
53
53
/// <param name="resultSerializer">The result serializer.</param>
54
54
/// <param name="messageEncoderSettings">The message encoder settings.</param>
55
55
/// <param name="cancellationToken">The cancellation token.</param>
@@ -60,7 +60,7 @@ TResult Command<TResult>(
60
60
BsonDocument command ,
61
61
IElementNameValidator commandValidator ,
62
62
Func < CommandResponseHandling > responseHandling ,
63
- bool slaveOk ,
63
+ bool secondaryOk ,
64
64
IBsonSerializer < TResult > resultSerializer ,
65
65
MessageEncoderSettings messageEncoderSettings ,
66
66
CancellationToken cancellationToken ) ;
@@ -76,7 +76,7 @@ TResult Command<TResult>(
76
76
/// <param name="commandValidator">The command validator.</param>
77
77
/// <param name="additionalOptions">The additional options.</param>
78
78
/// <param name="responseHandling">The response handling.</param>
79
- /// <param name="slaveOk ">if set to <c>true</c> sets the SlaveOk bit to true in the command message sent to the server.</param>
79
+ /// <param name="secondaryOk ">if set to <c>true</c> sets the SecondaryOk bit to true in the command message sent to the server.</param>
80
80
/// <param name="resultSerializer">The result serializer.</param>
81
81
/// <param name="messageEncoderSettings">The message encoder settings.</param>
82
82
/// <param name="cancellationToken">The cancellation token.</param>
@@ -92,7 +92,7 @@ TResult Command<TResult>(
92
92
IElementNameValidator commandValidator ,
93
93
BsonDocument additionalOptions ,
94
94
Func < CommandResponseHandling > responseHandling ,
95
- bool slaveOk ,
95
+ bool secondaryOk ,
96
96
IBsonSerializer < TResult > resultSerializer ,
97
97
MessageEncoderSettings messageEncoderSettings ,
98
98
CancellationToken cancellationToken ) ;
@@ -138,7 +138,7 @@ TResult Command<TResult>(
138
138
/// <param name="command">The command.</param>
139
139
/// <param name="commandValidator">The command validator.</param>
140
140
/// <param name="responseHandling">The response handling.</param>
141
- /// <param name="slaveOk ">if set to <c>true</c> sets the SlaveOk bit to true in the command message sent to the server.</param>
141
+ /// <param name="secondaryOk ">if set to <c>true</c> sets the SecondaryOk bit to true in the command message sent to the server.</param>
142
142
/// <param name="resultSerializer">The result serializer.</param>
143
143
/// <param name="messageEncoderSettings">The message encoder settings.</param>
144
144
/// <param name="cancellationToken">The cancellation token.</param>
@@ -149,7 +149,7 @@ Task<TResult> CommandAsync<TResult>(
149
149
BsonDocument command ,
150
150
IElementNameValidator commandValidator ,
151
151
Func < CommandResponseHandling > responseHandling ,
152
- bool slaveOk ,
152
+ bool secondaryOk ,
153
153
IBsonSerializer < TResult > resultSerializer ,
154
154
MessageEncoderSettings messageEncoderSettings ,
155
155
CancellationToken cancellationToken ) ;
@@ -165,7 +165,7 @@ Task<TResult> CommandAsync<TResult>(
165
165
/// <param name="commandValidator">The command validator.</param>
166
166
/// <param name="additionalOptions">The additional options.</param>
167
167
/// <param name="responseHandling">The response handling.</param>
168
- /// <param name="slaveOk ">if set to <c>true</c> sets the SlaveOk bit to true in the command message sent to the server.</param>
168
+ /// <param name="secondaryOk ">if set to <c>true</c> sets the SecondaryOk bit to true in the command message sent to the server.</param>
169
169
/// <param name="resultSerializer">The result serializer.</param>
170
170
/// <param name="messageEncoderSettings">The message encoder settings.</param>
171
171
/// <param name="cancellationToken">The cancellation token.</param>
@@ -181,7 +181,7 @@ Task<TResult> CommandAsync<TResult>(
181
181
IElementNameValidator commandValidator ,
182
182
BsonDocument additionalOptions ,
183
183
Func < CommandResponseHandling > responseHandling ,
184
- bool slaveOk ,
184
+ bool secondaryOk ,
185
185
IBsonSerializer < TResult > resultSerializer ,
186
186
MessageEncoderSettings messageEncoderSettings ,
187
187
CancellationToken cancellationToken ) ;
@@ -384,7 +384,7 @@ Task KillCursorsAsync(
384
384
/// <param name="queryValidator">The query validator.</param>
385
385
/// <param name="skip">The number of documents to skip.</param>
386
386
/// <param name="batchSize">The size of a batch.</param>
387
- /// <param name="slaveOk ">if set to <c>true</c> sets the SlaveOk bit to true in the query message sent to the server.</param>
387
+ /// <param name="secondaryOk ">if set to <c>true</c> sets the SecondaryOk bit to true in the query message sent to the server.</param>
388
388
/// <param name="partialOk">if set to <c>true</c> the server is allowed to return partial results if any shards are unavailable.</param>
389
389
/// <param name="noCursorTimeout">if set to <c>true</c> the server will not timeout the cursor.</param>
390
390
/// <param name="tailableCursor">if set to <c>true</c> the query should return a tailable cursor.</param>
@@ -400,7 +400,7 @@ CursorBatch<TDocument> Query<TDocument>(
400
400
IElementNameValidator queryValidator ,
401
401
int skip ,
402
402
int batchSize ,
403
- bool slaveOk ,
403
+ bool secondaryOk ,
404
404
bool partialOk ,
405
405
bool noCursorTimeout ,
406
406
bool tailableCursor ,
@@ -419,7 +419,7 @@ CursorBatch<TDocument> Query<TDocument>(
419
419
/// <param name="queryValidator">The query validator.</param>
420
420
/// <param name="skip">The number of documents to skip.</param>
421
421
/// <param name="batchSize">The size of a batch.</param>
422
- /// <param name="slaveOk ">if set to <c>true</c> sets the SlaveOk bit to true in the query message sent to the server.</param>
422
+ /// <param name="secondaryOk ">if set to <c>true</c> sets the SecondaryOk bit to true in the query message sent to the server.</param>
423
423
/// <param name="partialOk">if set to <c>true</c> the server is allowed to return partial results if any shards are unavailable.</param>
424
424
/// <param name="noCursorTimeout">if set to <c>true</c> the server will not timeout the cursor.</param>
425
425
/// <param name="oplogReplay">if set to <c>true</c> the OplogReplay bit will be set.</param>
@@ -437,7 +437,7 @@ CursorBatch<TDocument> Query<TDocument>(
437
437
IElementNameValidator queryValidator ,
438
438
int skip ,
439
439
int batchSize ,
440
- bool slaveOk ,
440
+ bool secondaryOk ,
441
441
bool partialOk ,
442
442
bool noCursorTimeout ,
443
443
bool oplogReplay , // obsolete: OplogReplay is ignored by server versions 4.4.0 and newer
@@ -457,7 +457,7 @@ CursorBatch<TDocument> Query<TDocument>(
457
457
/// <param name="queryValidator">The query validator.</param>
458
458
/// <param name="skip">The number of documents to skip.</param>
459
459
/// <param name="batchSize">The size of a batch.</param>
460
- /// <param name="slaveOk ">if set to <c>true</c> sets the SlaveOk bit to true in the query message sent to the server.</param>
460
+ /// <param name="secondaryOk ">if set to <c>true</c> sets the SecondaryOk bit to true in the query message sent to the server.</param>
461
461
/// <param name="partialOk">if set to <c>true</c> the server is allowed to return partial results if any shards are unavailable.</param>
462
462
/// <param name="noCursorTimeout">if set to <c>true</c> the server will not timeout the cursor.</param>
463
463
/// <param name="tailableCursor">if set to <c>true</c> the query should return a tailable cursor.</param>
@@ -473,7 +473,7 @@ Task<CursorBatch<TDocument>> QueryAsync<TDocument>(
473
473
IElementNameValidator queryValidator ,
474
474
int skip ,
475
475
int batchSize ,
476
- bool slaveOk ,
476
+ bool secondaryOk ,
477
477
bool partialOk ,
478
478
bool noCursorTimeout ,
479
479
bool tailableCursor ,
@@ -492,7 +492,7 @@ Task<CursorBatch<TDocument>> QueryAsync<TDocument>(
492
492
/// <param name="queryValidator">The query validator.</param>
493
493
/// <param name="skip">The number of documents to skip.</param>
494
494
/// <param name="batchSize">The size of a batch.</param>
495
- /// <param name="slaveOk ">if set to <c>true</c> sets the SlaveOk bit to true in the query message sent to the server.</param>
495
+ /// <param name="secondaryOk ">if set to <c>true</c> sets the SecondaryOk bit to true in the query message sent to the server.</param>
496
496
/// <param name="partialOk">if set to <c>true</c> the server is allowed to return partial results if any shards are unavailable.</param>
497
497
/// <param name="noCursorTimeout">if set to <c>true</c> the server will not timeout the cursor.</param>
498
498
/// <param name="oplogReplay">if set to <c>true</c> the OplogReplay bit will be set.</param>
@@ -510,7 +510,7 @@ Task<CursorBatch<TDocument>> QueryAsync<TDocument>(
510
510
IElementNameValidator queryValidator ,
511
511
int skip ,
512
512
int batchSize ,
513
- bool slaveOk ,
513
+ bool secondaryOk ,
514
514
bool partialOk ,
515
515
bool noCursorTimeout ,
516
516
bool oplogReplay , // obsolete: OplogReplay is ignored by server versions 4.4.0 and newer
0 commit comments