Implement the RELAYD_ROTATE_STREAM relay daemon command
authorJulien Desfossez <jdesfossez@efficios.com>
Thu, 14 Dec 2017 15:05:19 +0000 (10:05 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 13 Mar 2018 19:55:50 +0000 (15:55 -0400)
commitd3ecc5503007bc81faa8049fac945f163b6356f3
tree856f858dce764aa0c2f0a91b79576cfba41b8eaa
parent62c43103c60bd704cd8ed7acaaa22465802f5673
Implement the RELAYD_ROTATE_STREAM relay daemon command

Support for the RELAYD_ROTATE_STREAM command on the relay. This
command informs the relay that the current stream must rotate after it
has written the data and index for the net_seq_num passed. After each
data and index written on disk we check if it is time to rotate (in
case it was in flight when the rotate command was received). On the
other hand, if too much data has been written when we receive the
rotate command, we move the excess data to a new tracefile and
truncate the current one.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-relayd/index.c
src/bin/lttng-relayd/index.h
src/bin/lttng-relayd/main.c
src/bin/lttng-relayd/stream.c
src/bin/lttng-relayd/stream.h
src/common/sessiond-comm/relayd.h
src/common/sessiond-comm/sessiond-comm.h
src/common/utils.c
This page took 0.025144 seconds and 4 git commands to generate.