mirror of
https://github.com/corda/corda.git
synced 2024-12-20 21:43:14 +00:00
64dc94bd18
* ENT-5666 Extract shutdown events when retrying a flow When a flow is retrying, only a select set of events are transferred over to the new fiber. Shutdown events were not included in this set. This meant that if a flow retries when an `Event.SoftShutdown` is in its queue, it will never process it. This causes the node to hang, as the node awaits `liveFibers`, which never reaches 0 because the shutdown event is never processed. To resolve this, `Event.SoftShutdown` is added to the set of events to extract and reschedule. * ENT-5666 Don't schedule extra shutdown event When a flow is stopped by an `Event.SoftShutdown` it will eventually reschedule another shutdown even when it reaches `SMM.removeFlow`. It won't actually be processed because the flow returns an abort continuation. But, it does look odd. Therefore, it now does nothing instead since that is what it was implicitly doing. |
||
---|---|---|
.. | ||
capsule | ||
djvm | ||
src | ||
build.gradle |