Skip to content

Commit ad5e280

Browse files
committed
CDRIVER-3351 remaining retryable reads docs
1 parent 79b766b commit ad5e280

File tree

44 files changed

+96
-0
lines changed

Some content is hidden

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

44 files changed

+96
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This function is not considered a retryable read operation.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
This function is considered a retryable read operation unless the pipeline contains a write stage like $out or $merge.
2+
Upon a transient error (a network error, errors due to replica set failover, etc.) the operation is safely retried once.
3+
If ``retryreads`` is false in the URI (see :symbol:`mongoc_uri_t`) the retry behavior does not apply.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Retry logic occurs regardless of the underlying command. Retrying ``mapReduce`` has the potential for degraded performance.
2+
Retrying a ``getMore`` command has the potential to miss results. For those commands, use generic command helpers (like |generic-cmd|) instead.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
This function is considered a retryable read operation.
2+
Upon a transient error (a network error, errors due to replica set failover, etc.) the operation is safely retried once.
3+
If ``retryreads`` is false in the URI (see :symbol:`mongoc_uri_t`) the retry behavior does not apply.

src/libmongoc/doc/mongoc_client_command.rst

Lines changed: 2 additions & 0 deletions

src/libmongoc/doc/mongoc_client_command_simple.rst

Lines changed: 2 additions & 0 deletions

src/libmongoc/doc/mongoc_client_command_simple_with_server_id.rst

Lines changed: 2 additions & 0 deletions

src/libmongoc/doc/mongoc_client_command_with_opts.rst

Lines changed: 2 additions & 0 deletions

src/libmongoc/doc/mongoc_client_find_databases_with_opts.rst

Lines changed: 2 additions & 0 deletions

src/libmongoc/doc/mongoc_client_get_database_names.rst

Lines changed: 2 additions & 0 deletions

0 commit comments

Comments
 (0)