Fix: streaming and snapshot backward compat for relayd < 2.11
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 18 Aug 2019 18:53:33 +0000 (14:53 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 5 Sep 2019 20:39:16 +0000 (16:39 -0400)
commitc3ceb5e4f833dacbbe06abee8134de1d91a93bca
treed153c5e86633d1ae2c5b340b0436679e6a6b9e02
parentac67824cc4d4e2defaf88f34cc2518ca8dd5ce34
Fix: streaming and snapshot backward compat for relayd < 2.11

Fix backward compatibility of session daemon 2.11 with relayd versions
prior to 2.11.

Session daemon and consumer daemon 2.11 use the "chunk" object to
represent the current output directory. However, both sessiond and
consumerd need to ensure they do not send chunk and rotation commands
to a relayd older than 2.11, and tweak the stream paths accordingly.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/cmd.c
src/bin/lttng-sessiond/session.c
src/common/relayd/relayd.c
This page took 0.03908 seconds and 4 git commands to generate.