Fix: add more conditions and a lock to metadata cache flushed
authorDavid Goulet <dgoulet@efficios.com>
Mon, 3 Jun 2013 17:24:10 +0000 (13:24 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Mon, 3 Jun 2013 20:52:45 +0000 (16:52 -0400)
commitfe81e5c901c1dd23495620c8efd9e1ed6df86c8b
treed1d6ff275438cfd6173102389333376f08331479
parent1b532a6039fbcdb02f698c23e79ee3f607a9790c
Fix: add more conditions and a lock to metadata cache flushed

Some more conditions applies to return if the metadata cache is indeed
flushed. If no metadata stream is found or the endpoint status is set to
something other than ACTIVE, this means the channel is being (or will
be) destroyed thus the metadata cache can't be updated so is indeed
"flushed".

Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Acked-by: Julien Desfossez <julien.desfossez@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/consumer-metadata-cache.c
This page took 0.025626 seconds and 4 git commands to generate.