From: Jérémie Galarneau Date: Mon, 18 Nov 2019 21:01:44 +0000 (-0500) Subject: Fix: sessiond: no rotation performed from null chunk to new chunk X-Git-Tag: v2.12.0-rc1~238 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=1f4962443f25c371e4b54e97f9eb867d67cbf88e;hp=1f4962443f25c371e4b54e97f9eb867d67cbf88e;p=lttng-tools.git Fix: sessiond: no rotation performed from null chunk to new chunk The session daemon must rotate from a null trace chunk to a new trace chunk when a session's current trace chunk is null. This situation happens when a session is stopped, rotated, and started again. This bug leaves existing streams in the "null" trace chunk and causes the relay daemon to report a protocol error on the reception of the first data packet following such a start. Signed-off-by: Jérémie Galarneau ---