Fix: chunk state is not set when relayd does not support trace chunks
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Wed, 4 Sep 2019 22:29:58 +0000 (18:29 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 5 Sep 2019 21:51:18 +0000 (17:51 -0400)
commitcaa15afd11d8545ea2cae5650947386fbc07af64
tree55983a57602ead8ea100283dee204c8defec7bb6
parent5cfcab67c300abcc2dabe8891525572dfc42ff1d
Fix: chunk state is not set when relayd does not support trace chunks

Being explicit here enforces that for a lttng-relayd that does not
support chunks, the queried chunk will never exist.

This caused a lttng destroy command to hang during backward
compatibility testing with older lttng-relayd.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/relayd/relayd.c
This page took 0.025035 seconds and 4 git commands to generate.