Fix: destroy command: put consumer output after destroy notifier
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 20 Sep 2019 21:41:14 +0000 (17:41 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 20 Sep 2019 21:52:18 +0000 (17:52 -0400)
commit5b9d726b0ae2082905e7c56ab662e0717689d1ce
tree30bb3398892f344eeb3cd45f3fb989c673b436fd
parente170a371b81f0b5d1bddcf862982063f964b19b0
Fix: destroy command: put consumer output after destroy notifier

The destroy notifier needs to access the consumer output to format
the absolute path to the last chunk.

The observed problematic behavior can be observed by doing a
rotate and a destroy command in quick succession. Sometimes,
the resulting path printed by the destroy command is incomplete:

e.g. /archives/20190920T163616-0400-20190920T163618-0400-1

when we would expect:

/home/efficios/lttng-traces/auto-20190920-164425/archives/20190920T164437-0400-20190920T164439-0400-1

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/session.c
This page took 0.027158 seconds and 4 git commands to generate.