Fix: don't steal key when adding a metadata stream
authorDavid Goulet <dgoulet@efficios.com>
Tue, 4 Dec 2012 23:17:55 +0000 (18:17 -0500)
committerDavid Goulet <dgoulet@ev0ke.net>
Thu, 6 Dec 2012 14:29:50 +0000 (09:29 -0500)
This was causing a stream corruption of the node key if the stream->key
of the metadata was matching a stream wait_fd making the stream not
findable and asserting when getting out of the metadata poll wait.

Now we lookup the stream before adding it to make sure it's unique and
don't try to steal the key anymore since wait_fd is unique to the
consumer.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>

No differences found
This page took 0.029131 seconds and 5 git commands to generate.