From: Jérémie Galarneau Date: Wed, 6 Jul 2022 16:09:41 +0000 (-0400) Subject: Fix: sessiond: handle empty scheduled rotations X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;ds=sidebyside;h=2545db87957d24f43e2e2d5c49bb56b31bb9180a;hp=2545db87957d24f43e2e2d5c49bb56b31bb9180a;p=lttng-tools.git Fix: sessiond: handle empty scheduled rotations A number of error codes were added to cmd_rotate_session since the implementation of size-based rotations. The rotation thread doesn't expect LTTNG_ERR_ROTATION_MULTIPLE_AFTER_STOP and LTTNG_ERR_ROTATION_AFTER_STOP_CLEAR which are not fatal failures. These rotations would simply result in an empty trace archive and are, therefore, not produced. In both cases, it is safe to wait for the next size cycle. Signed-off-by: Jérémie Galarneau Change-Id: Ib90526b586de17c0b14d16970c862d9f981ed464 ---