GitHub user zsp419 added a comment to the discussion: 求助:get global lock fail

> Set `client.rm.lock.retryPolicyBranchRollbackOnConflict=false` in file.conf 
> (or `seata.client.rm.lock.retry-policy-branch-rollback-on-conflict=false` in 
> application.yml).
> 
> When this is `true` (default) and multiple branches compete for the same 
> lock, Seata returns `LockKeyConflictFailFast` which bypasses retry logic (see 
> `ConnectionProxy.java:356-364`) and immediately throws timeout.
> 
> Setting it to `false` enables the standard retry mechanism (30 retries × 10ms 
> by default). You can also adjust `client.rm.lock.retryTimes` and 
> `client.rm.lock.retryInterval` in `/script/client/conf/file.conf`.

而且一般会发生在xid过长的时候

GitHub link: 
https://github.com/apache/incubator-seata/discussions/7838#discussioncomment-15191510

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to