Perform retry of branch status reporting using random delay and exponential backoff #308
Closed
iSuperCoder
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
https://github.com/seata/seata-go/blob/c272389452b323182f64e22c4c00c244b2fd0a58/pkg/datasource/sql/tx.go#L240
When the TC cannot receive status report requests normally, for example, network congestion. A large number of status report requests will cause a stampede effect ,make the network more congested.
retry=1
maxCount=3
t = Pow(2, Min(retry, maxCount)) * 10
t is waiting time for next retry.The waiting time sequence is: 20ms 40ms 80ms.
Beta Was this translation helpful? Give feedback.
All reactions