Fix: relayd: live: some listed sessions are not attacheable
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 29 Oct 2019 03:29:53 +0000 (23:29 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 5 Nov 2019 03:28:55 +0000 (22:28 -0500)
commit3c42c3ed6dcfd89b1a41074c01e4b21ab8c599ae
treed421ddedd3e77140d6347272c016b77434fc4914
parentae7530efe70c28f341cc6b03835e658408103f70
Fix: relayd: live: some listed sessions are not attacheable

The list sessions command currently returns sessions that do not
have a current trace chunk. This can be caused by the session
either being destroyed or being so young that it hasn't had a
trace chunk created against it yet.

In both cases, such sessions would not be attacheable in their
current condition. This fix omits them from from the listing
to reduce the number of failures at the "attach session" and
"attach stream" step.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-relayd/live.c
This page took 0.026305 seconds and 4 git commands to generate.