X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fmain.c;h=de14cdb432d977c6fb1fa2cf982e435a5c0063d5;hb=7ebbba65d65972cc4305dd94864825cc5dee7e5b;hp=09aeb33e0120b4be549a44934efb2f104b4474a9;hpb=e6a80fabeb598ea6265f5101bdfc5bd588d78784;p=lttng-tools.git diff --git a/src/bin/lttng-relayd/main.c b/src/bin/lttng-relayd/main.c index 09aeb33e0..de14cdb43 100644 --- a/src/bin/lttng-relayd/main.c +++ b/src/bin/lttng-relayd/main.c @@ -2973,7 +2973,7 @@ int relay_rotate_pending(const struct lttcomm_relayd_hdr *recv_hdr, rotate_pending = true; DBG("Stream %" PRIu64 " is still rotating", stream->stream_handle); - } else if (stream->current_chunk_id.value < chunk_id) { + } else if (stream->current_chunk_id.value <= chunk_id) { /* * Stream closed on the consumer but still active on the * relay.