Weird replication: ~12k design document takes almost twice as long as ~7MB 
other documents to replicate
-------------------------------------------------------------------------------------------------------

                 Key: COUCHDB-1214
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1214
             Project: CouchDB
          Issue Type: Bug
          Components: Replication
    Affects Versions: 0.11.2
         Environment: Virtual server.
            Reporter: Jürgen Lorenz Simon


The replication is filtered in each case. The design document in question is 
about 12k big, the overall size of the DB (disk_size) is about 6.8MB. The 
replication of nothing but the design document takes about 48 Seconds, the 
replication of the entire rest 28 Seconds. 

The two filters used look like this:

designs: "function( doc, req ) { return doc._id.search(/_design/) >= 0; }"
attachments: "function( doc, req ) { if (doc.docType == "attachment" || 
doc.docType == "article" || doc._deleted) { return true; } }"



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to