diff options
Diffstat (limited to 'src/mongo/s/client/shard.h')
-rw-r--r-- | src/mongo/s/client/shard.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/s/client/shard.h b/src/mongo/s/client/shard.h index 1f3866e84e3..723a66d8ca9 100644 --- a/src/mongo/s/client/shard.h +++ b/src/mongo/s/client/shard.h @@ -138,8 +138,9 @@ public: /** * Runs the specified command returns the BSON command response plus parsed out Status of this - * response and write concern error (if present). Waits for up to the deadline for the - * OperationContext. Retries failed operations according to the given "retryPolicy". + * response and write concern error (if present). Retries failed operations according to the + * given "retryPolicy". Retries indefinitely until/unless a non-retriable error is encountered, + * the maxTimeMs on the OperationContext expires, or the operation is interrupted. */ StatusWith<CommandResponse> runCommand(OperationContext* txn, const ReadPreferenceSetting& readPref, |