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 00:00:57 +0000 (20:00 -0400)
commit070b6a86970c981e8f79cbd3dc199008b25cc0dc
tree103ac76c2b382c2af8740cab58f9a9014fa2cda8
parent3a735fa767e8cd922c638a25e93876e37f7f66b1
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.024939 seconds and 4 git commands to generate.