cherrylzhao created SCB-1276:
--------------------------------

             Summary: Make saga-actuator execute SQL one by one while 
integrating with ShardingSphere
                 Key: SCB-1276
                 URL: https://issues.apache.org/jira/browse/SCB-1276
             Project: Apache ServiceComb
          Issue Type: Improvement
          Components: Saga
            Reporter: cherrylzhao
             Fix For: saga-0.4.0


currently, we have integrated with saga using graph based engine in 
shardingsphere
it need us to collect all participated actual SQL, then submit to saga actuator 
in commit/rollback phase.
if application crashed before invoking saga actuator, undo log of branch 
transaction SQL will not be saved, 
so recovery thread will not be executed correctly.

it's better that encapsulating every actual SQL as a saga task in 
shardingsphere side, 
then submit to saga actuator realtime instead of batch processing all the SQLs 
at commit/rollback phase. 
this architecture will make the boundary more clear between shardingsphre and 
saga, currently we have done some additional works for integrating saga.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to