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>
Fri, 9 Aug 2019 15:28:43 +0000 (11:28 -0400)
commit3b16476a9b2015e59bb869cdeb07975b8d1ec6c5
treef3c0de14ae0556dc84d615aeaad78f4a7d0b3bd8
parent819cb727e58804e7baa0066a48a233ea6bb41baa
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.025516 seconds and 4 git commands to generate.