Lei Zhang created SCB-1505:
------------------------------
Summary: Add transaction children fields to @SagaStart
Key: SCB-1505
URL: https://issues.apache.org/jira/browse/SCB-1505
Project: Apache ServiceComb
Issue Type: New Feature
Components: Saga
Affects Versions: pack-0.6.0
Reporter: Lei Zhang
Transaction children are the number of sub-transactions in the global
transaction, This is useful if the user clearly knows the number of
sub-transactions.
We don't care about the concurrency of global transactions and
sub-transactions. After receiving the @SagaEndedEvent event, the state machine
only needs to judge whether the sub-transactions have been completed. If all
the sub-transactions have been completed, they can end otherwise, they will
wait.
Of course, in order to avoid endless waits, I recommend using the @sagaStart
timeout property together.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)