File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed
Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -151,16 +151,18 @@ struct Transaction<SdkRequestType>::TransactionImpl
151151 */
152152 std::shared_ptr<Key> mBatchKey = nullptr ;
153153 /* *
154- *
155- * This flag is used to determine whether a Transaction's TransactionId
156- * should be regenerated if the Transaction expires.
157- *
158- * - If `mTransactionIdManualSet` is true, the TransactionId was set manually by the user,
159- * and it **must not be regenerated**, regardless of the client-wide or transaction-specific
160- * regeneration policies.
161- * - If `mTransactionIdManualSet` is false (default), the TransactionId may be regenerated
162- * based on the transaction's own `mTransactionIdRegenerationPolicy` or the client's policy.
163- */
154+ /**
155+ * This flag is used to determine whether a Transaction's TransactionId
156+ * should be regenerated if the Transaction expires.
157+ *
158+ * Rules:
159+ * 1. If `mTransactionIdManualSet` is `true`, the TransactionId was set manually by the user,
160+ * and it **must not be regenerated**, regardless of client-wide or transaction-specific
161+ * regeneration policies.
162+ * 2. If `mTransactionIdManualSet` is `false` (default), the TransactionId **may be regenerated**
163+ * based on the transaction's own `mTransactionIdRegenerationPolicy` or the client's policy.
164+ */
165+
164166 bool mTransactionIdManualSet = false ;
165167};
166168
You can’t perform that action at this time.
0 commit comments