Skip to content
This repository has been archived by the owner on Apr 30, 2023. It is now read-only.

Handle rollback failure #1

Open
2 tasks
lysu opened this issue Apr 26, 2016 · 1 comment
Open
2 tasks

Handle rollback failure #1

lysu opened this issue Apr 26, 2016 · 1 comment

Comments

@lysu
Copy link
Owner

lysu commented Apr 26, 2016

When error occur, log a abort record and start a rollback for all executed action(included failure action that trigger rollback), but rollback still can failure

  • retry some times in current goroutine
  • if retry still failure, use SEC managed goroutine read log and retry rollback
@lysu lysu changed the title Rollback failure situation Handle rollback failure Apr 26, 2016
@liangyang001
Copy link

It may enter infiinite loop when subDef.compensate.call() failed.
Because when this happens, saga.Abort() is triggered again, and the last failed compensate handler will
be called again since it is still in the appended log array.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants