Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
2.0-beta
-
Security Level: Public
-
None
Description
Quoting email (to Aaron):
Hi,
It seems that your recent ep-engine commit "CBD-471 Allow JSON values, not only JSON objects" broke xdcr replication (at least for binary documents). I get a bunch of errors from xdc_replicator_worker like this one:
[xdcr:error] [2012-08-07 15:42:29] [n_0@127.0.0.1:<0.8599.0>:xdc_replicator_worker:flush_docs:111] Replicator: couldn't write document ``, revision ``, to target database `http://Administrator:*****@127.0.0.1:9501/default%2f2%3b384a8cbbb864e0c3ce76c2c9bb7558bc/`. Error: `bad_request`, reason: `invalid UTF-8 JSON: {{error,{129,
"lexical error: invalid char in json text.\n"}},
<<123,34,110,101,119,95,101,100,105,116,115,34,58,102,97,
`.
After reverting it locally everything works again. I'm not sure where the problem lies exactly but could you please look into it?
Thanks,
Aliaksey.