Fix: sessiond: no rotation performed from null chunk to new chunk
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 18 Nov 2019 21:01:44 +0000 (16:01 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 20 Nov 2019 21:16:30 +0000 (16:16 -0500)
commit1f4962443f25c371e4b54e97f9eb867d67cbf88e
tree584606f3f6e41327ef762fb157fb82e8996a361e
parent0186592a67a28417f1dabbb1790560d8cd1033d4
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 <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/cmd.c
This page took 0.03302 seconds and 4 git commands to generate.