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>
Fri, 22 Nov 2019 21:22:14 +0000 (16:22 -0500)
commitca2176bbef52d1396739a8abbec51af1c4da6a29
treee7e422d4f9e3f851766e849ffaa8628b7d6bb872
parentb7912f944d7f9548ea811fd81c7df321b829efd5
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.025244 seconds and 4 git commands to generate.