Hi,
On 07/17/10 12:18, Filipe David Manana wrote:
On Sat, Jul 17, 2010 at 9:29 AM, Attila Nagy<[email protected]> wrote:
Hello,
I've measured similar replication times with small documents (no
attachments). But it's great to hear there will be progress in this area.
Do you have any timeframe regarding this? (I'm following svn trunk for
tests)
There's no particular time frame about it. It will replace the current
replicator as soon as it's completed and well tested.
If you want to test the current progress, look at the branch
"new_replicator" - it is based in a 1 month or so trunk snapshot. To
trigger replications for this new replicator, use the URI
/_new_replicate/ instead of /_replicate/. Note that it still lacks
features such as continuous replication, but I'm working on it.
Feel free to continue your tests and report performance measures.
I've compiled CouchDB from that branch, but the replication doesn't start.
I issue this on node A:
curl -X POST http://localhost:5984/_new_replicate -d
'{"source":"testdb", "target":"http://node-b:5984/testdb",
"create_target":true}
testdb is created on node B, but I get this on node A:
curl: (52) Empty reply from server
In couch.log on node A:
=ERROR REPORT==== 19-Jul-2010::09:22:01 ===
{mochiweb_socket_server,235,
{child_error,
{function_clause,
[{couch_doc,'-atts_to_mp/4-fun-2-',
[[<<79,81,71,210,3,13,38,139,89,4,43,214,149,93,83,48,190,63,
171,250,242,43,25,46,68,48,125,36,207,214,252,199,208,54,
[a lot of data]
32,20,249,212,23,155,156,151,179,254,165,196>>]},
#Fun<couch_api_wrap.26.129593318>]},
{couch_stream,foldl_decode,7},
{couch_stream,foldl_decode,6},
{couch_doc,atts_to_mp,4},
{couch_api_wrap,'-update_doc/4-fun-1-',5}]}}}
[error] [emulator] Error in process <0.1145.0> with exit value:
{function_clause,[{couch_doc,'-atts_to_mp/4-fun-2-',[[<<3989
bytes>>,<<4095 bytes>>,<<108 bytes>>],{data,#Ref<0.0.0.42846>,[<<4001
bytes>>,<<4095 bytes>>,<<96
bytes>>]},#Fun<couch_api_wrap.26.129593318>]},{couch_stream,foldl_decode,7},{couch_stream,foldl_decode,6},{couch_doc,atts_to_mp,4},{couch_api_wrap,'-update_doc/4-fun-1-',5}]}
[Mon, 19 Jul 2010 07:22:19 GMT] [error] [emulator] Error in process
<0.1145.0> with exit value:
{function_clause,[{couch_doc,'-atts_to_mp/4-fun-2-',[[<<3989
bytes>>,<<4095 bytes>>,<<108 bytes>>],{data,#Ref<0.0.0.42846>,[<<4001
bytes>>,<<4095 bytes>>,<<96
bytes>>]},#Fun<couch_api_wrap.26.129593318>]},{couch_stream,foldl_decode,7},{couch_stream,foldl_decode,6},{couch_doc,atts_to_mp,4},{couch_api_wrap,'-update_doc/4-fun-1-',5}]}
=ERROR REPORT==== 19-Jul-2010::09:22:19 ===
Error in process <0.1145.0> with exit value:
{function_clause,[{couch_doc,'-atts_to_mp/4-fun-2-',[[<<3989
bytes>>,<<4095 bytes>>,<<108 bytes>>],{data,#Ref<0.0.0.42846>,[<<4001
bytes>>,<<4095 bytes>>,<<96
bytes>>]},#Fun<couch_api_wrap.26.129593318>]},{couch_stream,foldl_decode,7},{couch_stream,foldl_decode,6},{couch_doc,atts_to_mp,4},{couch_api_wrap,'-update_doc/4-fun-1-',5}]}
[error] [<0.102.0>] {error_report,<0.30.0>,
{<0.102.0>,std_error,
{mochiweb_socket_server,235,
{child_error,
{function_clause,
[{couch_doc,'-atts_to_mp/4-fun-2-',
[[<<79,81,71,210,3,13,38,139,89,4,43,214,149,93,83,48,
[...]
94,193,120,1,249,250,117,165,32,20,249,212,23,
155,156,151,179,254,165,196>>]},
#Fun<couch_api_wrap.26.129593318>]},
{couch_stream,foldl_decode,7},
{couch_stream,foldl_decode,6},
{couch_doc,atts_to_mp,4},
{couch_api_wrap,'-update_doc/4-fun-1-',5}]}}}}}