mirror of
https://github.com/corda/corda.git
synced 2024-12-19 04:57:58 +00:00
268d129838
* CORDA-3194 Replay start flow events when responding flow fails initial checkpoint commit Logic has already been added to recover from initial checkpoint commit failures on the initiating flow side but this did not suffice for the same failure occurring on the responding flow's side. The same idea has been added to resolve the responding flow's issue. `ExternalMessageEvent` now has a `flowId` that is maintained on the event. Messages can then be replayed to start/restart the flow, while the event provides the flow id to each flow start. Each `ExternalMessageEvent` implementation generates a random `flowId` when constructed. Events are stored in Artemis. This allows the solution to recover across node restarts as the events will be pulled from artemis again when restarting. In the future `flowId`s will probably moved off of the events and generated purely on the responding flow's node. * CORDA-3194 Add test to verify that errors removing a responding flow are recoverable |
||
---|---|---|
.. | ||
src | ||
build.gradle |