Fix: close indexes when rotating the trace files in splice mode
authorJulien Desfossez <jdesfossez@efficios.com>
Fri, 27 Nov 2015 17:12:44 +0000 (12:12 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 27 Nov 2015 20:48:53 +0000 (15:48 -0500)
commitad77215839fa5fd769217a0a74d3134ed85158e0
treeb86116ec5fcbfd4daa5c7d7b8011ccbecb545021
parentab87d60a4e97571d947f42b45d76f4682e0f8a89
Fix: close indexes when rotating the trace files in splice mode

The consumer needs to close the old index file when doing a file
rotation before opening a new one.
The relay does not have this problem (handled with refcounts).

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