We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b048983 commit adcdc4fCopy full SHA for adcdc4f
1 file changed
src/operations/execute_operation.ts
@@ -390,7 +390,7 @@ async function executeOperationWithRetries<
390
391
// batch operations are only retryable if the batch is retryable
392
if (operation.hasAspect(Aspect.COMMAND_BATCHING)) {
393
- return operation.canRetryWrite;
+ return operation.canRetryWrite && isRetryableWriteError(error);
394
}
395
396
return (
0 commit comments