Fix: take index sequence number into account for data pending check
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 12 Oct 2018 22:22:35 +0000 (18:22 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 30 Oct 2018 10:09:50 +0000 (11:09 +0100)
commit01921b6d5206ed0f4f2427b565e49807084439be
tree9dc5ed8f49081a3e7d08b9a145119499692a1f69
parent1d3365cb3074a6dfac9648a65f10457a8c5d5d5b
Fix: take index sequence number into account for data pending check

The data pending checks are only performed on the sequence number of
the received data. However, it is expected that the index of the
stream (when applicable) has been written to disk by the time this
check returns that no data is pending.

This patch ensures that the minimum between the data and index
sequence numbers are used to perform this check.

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