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>
Mon, 8 Feb 2021 18:03:30 +0000 (13:03 -0500)
commit934ba8fdfbe546a25a9df61b6292bdb3d28e4ab1
tree6b54933c4edab62cfdc76855471e7e24071acfdf
parent3bdc49f3a50993ea65256e539027cfa55fbd16b0
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.025322 seconds and 4 git commands to generate.