feat(workflow): add exponential backoff support#573
feat(workflow): add exponential backoff support#573conan8737 wants to merge 5 commits intodtm-labs:mainfrom
Conversation
|
@conan8737 there is test failure. Can you fix it? |
|
@yedf2 please try again I can't reproduce this issue because I don't have a local MySQL environment, so I tested it on Redis instead. I suspect it's a problem with this piece of code, so I deleted it. Because for Workflow, this is the end of the entire transaction (maybe one of the sub-transactions encountered an error), while in Saga, each sub-transaction is processed individually, so I thik this logic is unnecessary for Workflow. |
|
@yedf2 please try again redis dtm/dtmsvr/storage/redis/redis.go Line 360 in 18146ee sql Line 161 in 18146ee boltdb dtm/dtmsvr/storage/boltdb/boltdb.go Line 419 in 18146ee |
This PR implements exponential backoff support for workflows. The core logic follows the same pattern as the existing saga transaction handler, as referenced in issue #572.