users@grizzly.java.net

CometEngine in 1.0.20 dropping packets

From: Jeffrey Kesselman <jeffpkworkfwd_at_gmail.com>
Date: Mon, 4 May 2009 11:20:57 -0400

Hey Guys,

I've run into what seems to be a clear race condition. I have two
calls to notify in a row in my code. (One is a READ type the other
is a Notify type).
When they occur immediately right after each other, the second packet
is silently dropped. if i put a 500 ms sleep between them, they work
fine.

is this a known race condition? Are there known work arounds other
then the evil sleep?

JK