From: Jérémie Galarneau Date: Fri, 12 Oct 2018 22:22:35 +0000 (-0400) Subject: Fix: take index sequence number into account for data pending check X-Git-Tag: v2.12.0-rc1~783 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=298a25cae73bda8d8ad6fa986f7d0b822645559b;hp=298a25cae73bda8d8ad6fa986f7d0b822645559b 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 ---