Fix: do not flag consumer as disabled on relayd comm failure
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Thu, 25 Jan 2018 23:57:27 +0000 (18:57 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 5 Feb 2018 19:58:11 +0000 (14:58 -0500)
commitaecac544b3bb511042c76c0e460c35dd765816e6
tree51ad17415a0581dd3b494d28ce28ad5be736d10d
parent3b4a46a4284f7d8a3ab12871cea143bc90d7121f
Fix: do not flag consumer as disabled on relayd comm failure

A relay daemon may be temporarily unavailable (e.g. not launched yet,
or simply a network error). In such a case, it is not necessary to
mark the consumer as bad since the error is not related to the
consumer daemon itself.

This change lets the user try to create a channel later without
having to restart the session and consumer daemons.

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