diff options
Diffstat (limited to 'jstests/libs/retryable_writes_util.js')
-rw-r--r-- | jstests/libs/retryable_writes_util.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/jstests/libs/retryable_writes_util.js b/jstests/libs/retryable_writes_util.js index 6c5c244045f..795fc33c254 100644 --- a/jstests/libs/retryable_writes_util.js +++ b/jstests/libs/retryable_writes_util.js @@ -4,6 +4,9 @@ var RetryableWritesUtil = (function() { /** * Returns true if the error code is retryable, assuming the command is idempotent. + * + * TODO SERVER-34666: Expose the isRetryableCode() function that's defined in + * src/mongo/shell/session.js and use it here. */ function isRetryableCode(code) { return ErrorCodes.isNetworkError(code) || ErrorCodes.isNotMasterError(code) || |