mirror of
https://github.com/corda/corda.git
synced 2025-04-07 11:27:01 +00:00
Update the compatible flag in the DB if the flowstate cannot be deserialised. The most common cause of this problem is if a CorDapp has been upgraded without draining flows from the node. `RUNNABLE` and `HOSPITALISED` flows are restored on node startup so the flag is set for these then. The flag can also be set when a flow retries for some reason (see retryFlowFromSafePoint) in this case the problem has been caused by another reason.