Fix: rotation error may leave session in "ONGOING" state
The errors that can occur during the launch of a rotation may
leave a session's rotation state in the "ONGOING" state.
This means that clients polling for the rotation's state (or using the
notification channel) will never see the rotation enter the ERROR
or COMPLETED states, resulting in a hang.
This change introduces session_reset_rotation_state() which
implements the logic needed to reset a session's rotation state
and populate the result of the last rotation.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
This page took 0.025936 seconds and 4 git commands to generate.