Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.0.1
-
None
-
Security Level: Public
-
None
-
couchbae server 2.0.1-170-rel on Debian 7
libcouchbase 2.0.6 and php_couchbase extension 1.1.2
Tested on physical servers (8 cores, 64GB of RAM) and also with KVM vms (2 cores, 4GB of RAM).
Description
I've a weird issue with special characters in documents and replication.
I've a document like this:
transcoder:date
{
"^
d
$": "yyyy",
"^
d
$": "ddMMyyyy",
...
}
(which was loaded originally with "\" instead of "
", but it appears this way on web interface).
and a view defined like this:
function (doc, meta) {
if(matches = meta.id.match(/^transcoder.*)$/))
}
The thing is, with a single couchbase node, I can get view results without any problem.
When the cluster has more than one node and the bucket has replicas, I get view results or NULL response.
It seems that only one node answers correctly to request. All others answer NULL.
Web interface also crashes when trying to show view results.
I can't find any error on logs. The only message I got, when web interface failed to show view results is:
Function: appOnError
Args:
"Uncaught SyntaxError: Unexpected token d"
I'm using couchbae server 2.0.1-170-rel on Debian wheezy.
For clients, libcouchbase 2.0.6 and php_couchbase extension 1.1.2