diff options
author | Adam Kocoloski <kocolosk@apache.org> | 2009-05-16 18:58:18 +0000 |
---|---|---|
committer | Adam Kocoloski <kocolosk@apache.org> | 2009-05-16 18:58:18 +0000 |
commit | 04bd244c1249fb3dc0581d97e8bbf4cdcd808d7c (patch) | |
tree | bec7ed6cd307ccf4b4bdca59eb435da5b3a6fd0a /src/couchdb/couch_view_updater.erl | |
parent | e69ff9662344905fbac5d045259e791227772a18 (diff) |
replicator memory management and buffer flush calculation updates
* new should_flush fun considers ndocs, nattachments, memory in making decision
* memory utilized by attachment receivers is accounted for
* download attachments using standalone connections instead of conn pool. This
prevents a document request from getting stuck behind a huge attachment, which
would prevent us from triggering a buffer flush in time. We also consider the
memory utilization of the standalone ibrowse connection in should_flush
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@775507 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_view_updater.erl')
0 files changed, 0 insertions, 0 deletions