Please sign in to comment.
CBSE-115 - bug in the very first multiget command
The 1.8.0 feature to enable event-based, asynchronous downstream connect()'ing (instead of the old synchronous downstream connect()'ing) apparently introduced a bug with multi-get. When the first request is a multi-get command that actually has multiple key parameters, that first request can sometimes fail, because an asynchronously connect()'ing downstream conn is left registered in libevent. So, libevent might sometimes inadvertently invoke the on_pause() callbacks which closes the downstream conns. An existing unit tests for STATS (which also uses a broadcast codepath like multiget) seems to sometimes catch this. ./t/issue-MB-3076.sh After this fix of unregistering the half connected downstream conn from libevent, test for MB-3076 passes. Change-Id: Ia197a033fc7fece39055cf4bf3ea23c1e576ebc6 Reviewed-on: http://review.couchbase.org/14129 Reviewed-by: Aliaksey Kandratsenka <firstname.lastname@example.org> Tested-by: Steve Yen <email@example.com>
- Loading branch information...