Fix: ust-consumer: metadata cache lock not taken when sampling max offset
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 8 Feb 2021 18:03:20 +0000 (13:03 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 19 Feb 2021 16:41:43 +0000 (11:41 -0500)
commitd5af2d078b527da9cbe7a0bf5ca9a2608802cd5c
treed0e96ece0b36ac922874bf21233862861d50b17a
parent0d2ff68f1830682b13e903690d6410262dad201e
Fix: ust-consumer: metadata cache lock not taken when sampling max offset

Found by inspecting the code while searching for an unrelated problem.
The 'max_offset' field is probably only accessed by the sessiond
poll thread, but this isn't a documented (nor reasonably maintainable)
guarantee.

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