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 23:39:24 +0000 (19:39 -0400)
commitb04180f959e0785dda603a1699469bae80da009d
tree31c57977e26f58b373b014e64b88d65f460119c3
parent54793f59f3772b63d70d6c841a844c79521fddaa
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.025549 seconds and 4 git commands to generate.