Fix: relayd: make viewer streams consider metadata sent
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 3 Sep 2015 21:17:28 +0000 (17:17 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 8 Sep 2015 13:12:48 +0000 (09:12 -0400)
commit6b7ee9c9dc5d733a4fac260d3dcc9831bf09c620
tree298fc8053420e50fad3ccb49e45e386425edadc5
parent1b95be80706a2f046cf526825b9da1f87a94b1ec
Fix: relayd: make viewer streams consider metadata sent

The metadata stream does not use prev seq, and is therefore not sent to
viewers if we depend on prev seq. Use the metadata_received field
instead to achieve the same purpose: if a viewer try to attach to a
session that has not received metadata yet, it will get and error
(metadata stream cannot be found when attaching).

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