summaryrefslogtreecommitdiff
path: root/src/mongo/db/transaction_participant.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/transaction_participant.h')
-rw-r--r--src/mongo/db/transaction_participant.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mongo/db/transaction_participant.h b/src/mongo/db/transaction_participant.h
index a2dece48562..e3f1af55099 100644
--- a/src/mongo/db/transaction_participant.h
+++ b/src/mongo/db/transaction_participant.h
@@ -221,10 +221,12 @@ public:
};
/**
- * An RAII object that stashes the recovery unit from the `opCtx` onto the stack and keeps
- * using the same locker of `opCtx`. The locker opts out of two-phase locking of the
- * current WUOW. At destruction it unstashes the recovery unit back onto the `opCtx` and
- * restores the locker state relevant to the original WUOW.
+ * An RAII object that will allow the current transaction to be set aside so that a separate
+ * transaction can be created. It stashes the recovery unit from the `opCtx` onto the stack and
+ * keeps using the same locker of `opCtx`. The locker opts out of two-phase locking of the
+ * current WUOW. At destruction the original transaction will be restored by unstashing the
+ * recovery unit back onto the `opCtx` and restoring the locker state relevant to the original
+ * WUOW.
*/
class SideTransactionBlock {
public: