couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Randall Leeds (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (COUCHDB-1214) Weird replication: ~12k design document takes almost twice as long as ~7MB other documents to replicate
Date Fri, 15 Jul 2011 21:48:05 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-1214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Randall Leeds closed COUCHDB-1214.
----------------------------------


> 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
>         Attachments: Testcase Replication.zip
>
>
> 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; } }"
> The version in the ticket was the server couch (source). The target couchdbs executing
the pull-replication were 1.1.1 and 1.0.2 (same result) running on various hardware (Dell
Laptop or iMac).

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

       

Mime
View raw message