From 63fc2906221a3cdb9bc086aba6f05ee407d2c13b Mon Sep 17 00:00:00 2001 From: Leonardo Lara Rodrigues Date: Sat, 5 Oct 2024 13:57:47 -0300 Subject: [PATCH] mongodb committransaction: Typo correction (#3831) --- reference/mongodb/mongodb/driver/session/committransaction.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/mongodb/mongodb/driver/session/committransaction.xml b/reference/mongodb/mongodb/driver/session/committransaction.xml index d2a0aaa85058..c29fedb1f295 100644 --- a/reference/mongodb/mongodb/driver/session/committransaction.xml +++ b/reference/mongodb/mongodb/driver/session/committransaction.xml @@ -43,7 +43,7 @@ MongoDB\Driver\Exception\CommandException::getResultDocument has a "errorLabels" element, and this array contains a "TransientTransactionError" or - "UnUnknownTransactionCommitResult" value, it is safe to re-try + "UnknownTransactionCommitResult" value, it is safe to re-try the whole transaction. In newer versions of the extension, MongoDB\Driver\Exception\RuntimeException::hasErrorLabel