Details
-
Bug
-
Resolution: Fixed
-
Critical
-
1.6.4.1
-
Security Level: Public
-
None
Description
A user ran tap.py against a memcached-type bucket (default-engine), in membase 1.6.4.1. The memcached version at that point was github.com/membase/memcached engine branch: 1.4.4-359-g06c7d3b
> Logs are in \\supportcases\<clipped>\20110504
> Multiple asserts in the logs (they are running 1.6.4.1):
> memcached: items.c:266: item_unlink_q: Assertion `it>next != it' failed.
> -memcached: memcached.c:6130: count_eviction: Assertion `nkey > 0' failed.
The items.c:266 assertion happens when there's a tiny cycle or loop in the LRU lists, which might be possible around the tricky areas at the head or tail of the lists or with empty lists.
If a TAP cursor gets evicted for whatever reason, that would lead to the memcached.c:6130 assertion, as default-engine TAP cursors have zero length keys.