Fix: use stream's current tracefile count rather than the max
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 31 Jul 2019 03:37:39 +0000 (23:37 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 5 Sep 2019 20:39:14 +0000 (16:39 -0400)
commit13d934a50a935591277a182b930603ec8284bdc6
tree27f53165cb0d70cf65b9e75228c4ec64aee63392
parentc45331c54adddb0fee9e829f620cc289ab93a744
Fix: use stream's current tracefile count rather than the max

consumer_stream_create_output_files() formats the file name of a
stream's data file by passing the tracefile count setting rather than
using `tracefile_count_current`, the current "index" within the
on-disk ring buffer. This broke the trace file rotation functionality
as the same file would be overwritten continuously.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/consumer/consumer-stream.c
This page took 0.025898 seconds and 4 git commands to generate.