mirror of
https://github.com/corda/corda.git
synced 2024-12-19 04:57:58 +00:00
ad61d7b3f4
Making statemachine not remove COMPLETED flows' checkpoints from the database if they are started with a clientId, instead they are getting persisted and retained within the database along with their result (`DBFlowResult`). On flow start with a client id (`startFlowDynamicWithClientId`), if the client id maps to a flow that was previously started with the same client id and the flow is now finished, then fetch the `DBFlowResult` from the database to construct a `FlowStateMachineHandle` done future and return it back to the client. Object stored as results must abide by the storage serializer rules. If they fail to do so the result will not be stored and an exception is thrown to the client to indicate this. |
||
---|---|---|
.. | ||
src | ||
build.gradle |