Fix: Live tracing does not honor live timer after first tracefile with tracefile...
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 21 Nov 2014 17:31:39 +0000 (18:31 +0100)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 27 Nov 2014 20:58:23 +0000 (15:58 -0500)
commit977c4228c203f32bb15b250c2ddf213b15fa4be2
tree8fc09da2d692aa0af5b7114e2a754276c7f63560
parent1ab3bf054ba4bdcdfe9753bd2d62a45ab68b8770
Fix: Live tracing does not honor live timer after first tracefile with tracefile rotation

When we pass to the 2nd sub-file (or following sub-files) of a stream in
relayd, the live timer has no visible effect from a live reader
perspective, and then everything is flushed when we reach the following
sub-file.

This is caused by the reset of stream->total_index_received after each
tracefile rotation. It should keep on incrementing to match what is
expected by check in check_index_status():

  (rstream->total_index_received <= vstream->last_sent_index)

Fixes #863

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