Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Statemachine should handle timeout dynamically
  • Statemachine should support message(event) persistent
  • Support to the states of transaction from outside
  • Statemachine should have cluster support


Saga States:

SagaTransaction 

   → LocalTransaction ...

   → SagaTransaction

        → LocalTransaction ...


Actor could send message to its parent to notify the state change of transactions, we just need to trace the "SagaStarted",  "SagaAborted", "SagaEnded", "SagaComponsited","TxStarted","TxFailed","TxEnded", "TxComponsited".  

We could also add "SagaSuspended" if we need that.


more details https://github.com/apache/servicecomb-pack/blob/SCB-1321/docs/fsm/design_fsm_zh.md


JIRA: 

Jira
serverASF JIRA
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keySCB-1258