Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.24
-
None
Description
E.g. run
drain "q; {create:always, link:{selector:\"colour = 'red'\"}}" -f
and in another terminal:
drain "q; {create:always, link:{selector:\"colour = 'blue'\"}}" -f
then:
for i in `seq 1 5`; do spout --content "red-$i" -P colour=red q; done for i in `seq 1 5`; do spout --content "blue-$i" -P colour=blue q; done for i in `seq 6 10`; do spout --content "red-$i" -P colour=red q; done
Expect first drain to see all 10 'red' messages, second drain to see all 5 'blue' messages but in practice this doesn't (always) happen. The message are on the queue but the consumers are not always notified of their existence.