Skip to content

Commit 17adc59

Browse files
committed
formatting fix
1 parent b901b44 commit 17adc59

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

src/sdk/main/src/Transaction.cc

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)