From: Julien Desfossez Date: Mon, 18 Dec 2017 21:04:44 +0000 (-0500) Subject: Relay rotate pending command X-Git-Tag: v2.11.0-rc1~343 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=d88744a44aa5f2ca90ab87946692b9eed3120641;hp=d88744a44aa5f2ca90ab87946692b9eed3120641;p=lttng-tools.git Relay rotate pending command When a session rotation completes and the session is configured to send its traces to a relay, we have to poll the relay to know when all the chunk's data are written on its disk. To do that, we define a timer in the sessiond and arm it when the rotation is complete. When the rotation is complete on the relay, we clear the "rotate_pending" flag in the session and the client can access the chunk safely. Signed-off-by: Julien Desfossez Signed-off-by: Jérémie Galarneau ---