I seem to have found an incompatibility in the latest version of Couchbase I just installed (should be 2.2.0) and the php Memcached library (and I have PHP 5.3), and no one seems to have mentioned this anywhere on the net, so I just want to ask here to see if someone can confirm.
I was attempting to use the php Memcached library’s increment() and decrement() calls. They simply didn’t work with my Couchbase server. They returned nothing and did not increment or decrement the value in the specified key.
I then installed the php couchbase pecl library. I ran a test script testing increment() and decrement() using that and they worked perfectly.
(I don’t necessarily have an issue with using this library, it’s just new to me and I worry a little bit about things like performance, since it seem to does some magic/smart things on connect)
Is this an undocumented incompatibility with Couchbase server 2.2.0 and php Memcached’s increment() and decrement()?
If I only use the “key” param and the “offset” param, increment works correctly.
If I pass anything at all for “initial_value”, couchbase fails to handle it properly, and rather than ignoring it, the call itself fails out.
Hope this helps, not a high priority fix, I understand, but useful info regardless.