Skip to content

Commit

Permalink
optimize: optimize for *RetryPeriod configuration items (#941)
Browse files Browse the repository at this point in the history
Signed-off-by: slievrly <[email protected]>
  • Loading branch information
slievrly authored Feb 28, 2025
1 parent 879cf97 commit ca34b46
Show file tree
Hide file tree
Showing 10 changed files with 333 additions and 333 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,17 @@ description: Seata parameter configuration.
### Server side

| key | desc | remark | change record |
| ------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| ------------------------------------------ |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| transport.rpcTcRequestTimeout | TC sending request timeout | 30 seconds by default | new in 1.5.1 version |
| transport.enableTcServerBatchSendResponse | TC Batch Send Reply Message Switch | Default false | new in 1.5.1 version |
| server.undo.logSaveDays | undo retention days | 7 days by default, log\_ Status=1 (Appendix 3) and undo not normally cleaned |
| server.undo.logDeletePeriod | undo Cleanup Thread Interval | 86,400,000 by default, in milliseconds |
| server.maxCommitRetryTimeout | Timeout duration of two-phase commit retry | Unit: ms, s, m, h, d, corresponding to ms, s, min, h, day, default ms. The default value of - 1 means unlimited retries. Formula: timeout>=now globalTransactionBeginTime, true means no more retries after timeout (Note: no retries will be made after the timeout is reached, and there is a risk of data inconsistency, unless the business can calibrate the data itself, otherwise use with caution) |
| server.maxRollbackRetryTimeout | Phase2 rollback retry timeout duration | Same as commit |
| server.recovery.committingRetryPeriod | Phase2 commit unfinished status Global transaction retry commit thread interval | 1000 by default, in milliseconds |
| server.recovery.asyncCommittingRetryPeriod | Phase2 asynchronous submission status Retry submission thread interval | 1000 by default, in milliseconds |
| server.recovery.rollbackRetryPeriod | Phase2 rollback status Retry rollback thread interval | 1000 by default, in milliseconds |
| server.recovery.timeoutRetryPeriod | Timeout status detection retry thread interval | 1000 by default, in milliseconds. If timeout is detected, put the global transaction into the rollback session manager |
| server.recovery.committingRetryPeriod | Phase2 commit unfinished status Global transaction retry commit thread interval. A single server scope isn't global. | 1000 by default, in milliseconds |
| server.recovery.asyncCommittingRetryPeriod | Phase2 asynchronous submission status Retry submission thread interval. A single server scope isn't global. | 1000 by default, in milliseconds |
| server.recovery.rollbackRetryPeriod | Phase2 rollback status Retry rollback thread interval. A single server scope isn't global. | 1000 by default, in milliseconds |
| server.recovery.timeoutRetryPeriod | Timeout status detection retry thread interval. A single server scope isn't global. | 1000 by default, in milliseconds. If timeout is detected, put the global transaction into the rollback session manager |
| server.rollbackRetryTimeoutUnlockEnable | Whether to release the lock after the two-phase rollback timeout | False by default |
| server.distributedLockExpireTime | Server side transaction management global lock timeout | 10000 by default, in milliseconds | new in 1.5.1 version |
| server.server.xaerNotaRetryTimeout | Retry timeout to prevent XA branch transactions from hanging | 60000 by default, in milliseconds | new in 1.5.1 version |
Expand Down
Loading

0 comments on commit ca34b46

Please sign in to comment.