couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Shorin <kxe...@gmail.com>
Subject Re: CouchDB Filtered Replication - Group of Doc's Don't appear to be batched
Date Mon, 03 Aug 2015 13:42:01 GMT
On Sun, Aug 2, 2015 at 3:25 AM, Adam Kocoloski <kocolosk@apache.org> wrote:
> The replicator will dynamically choose _bulk_docs batch sizes based on the number of
documents that are ready to be transmitted to the source. It’s possible to set an upper
bound on the size of the batch, but at this time it’s not possible to set a lower bound.

Suddenly, batch size is not configurable[1] and strictly limited by
512KiB. For local targets it's limited by 10 documents.

[1] : https://github.com/apache/couchdb-couch-replicator/blob/master/src/couch_replicator_worker.erl#L415
[2]: https://github.com/apache/couchdb-couch-replicator/blob/master/src/couch_replicator_worker.erl#L29

--
,,,^..^,,,

Mime
View raw message