Erlang + PHP Sharing a Couchbase bucket
I have a brand new Couchbase install running and I've done quite a bit of work on client side integrations but I have some issues to deal with.
The system is Ubuntu 12.04 with the latest couchbase and the latest couchbase-php client plus the latest cberl client.
We have 2 applications APP1 and APP2 both sharing a couchbase bucket. APP1 (built with erlang) does writes while APP2 (built with php) just reads. On paper this should just work as we are talking "Couchbase/Memcache" on both sides with the cberl and the php sdk. APP1 is an erlang application and it writes to couchbase with cberl. I can confirm the keys exists and are properly formed I can see the keys in the admin panel and can get them over telnet. APP2 can write its own keys and read them fine but it cannot retrieve anything written with APP1.
I can also overwrite a key set with APP1 in APP2 so we are talking to the same bucket and same ports.
I cannot read any APP1 keys with APP2. The result I get is a float(0) and when I dump the message it says "Success"
To rule out some possibilities I have swapped out cberl with every memcache client out there and the results are similar. With Merle I was getting data in the PHP but it was broken data and unusable.
APP1 writes JSON into the bucket.
Any help would be appreciated.