couchdb:1.6.x

Last commit made on 2017-05-09
Get this branch:
git clone -b 1.6.x https://git.launchpad.net/couchdb

Branch merges

Branch information

Name:
1.6.x
Repository:
lp:couchdb

Recent commits

f073391... by Joan Touzet <email address hidden>

Hibernate couch_stream after each write

In COUCHDB-1946 Adam Kocoloski investigated a memory explosion resulting
from replication of databases with large attachments (npm fullfat). He
was able to stabilize memory usage to a much lower level by hibernating
couch_stream after each write. While this increases CPU utilization when
writing attachments, it should help reduce memory utilization.

This patch is the single change that affected a ~70% reduction in
memory.

No alteration to the spawn of couch_stream to change the fullsweep_after
setting has been made, in part because this can be adjusted at the erl
command line if desired (-erl ERL_FULLSWEEP_AFTER 0).

+1 for 2.0.0 and 1.6.x from @davisp, see #510 for details.

41304b8... by Ievgen Pyrogov

build: support OTP-19.0

- add travis support for newer OTP releases
- update docs
- update configure.ac

closes #431

b3186cd... by Dave Cottlehuber

revert build & docs patches in favour of PR#431

- revert a7ff2973de4cd39638f8639ad1336cc2e6282de2
- revert 8137c2c503712b8af84c7a8c22f7179bd5437506

a7ff297... by Dave Cottlehuber

build: update for OTP 19

8137c2c... by Dave Cottlehuber

docs: update for OTP 19

perl -pi -e 's/R18/R19/g' INSTALL.* share/doc/src/install/*.rst

9f3e93d... by Adam Kocoloski <email address hidden>

Ensure doc groups are sorted before merging them

We had been implicily assuming that clients send us sorted groups, but
unsurprisingly that's not always the case. The additional sorting here
should be redundant, but the consequences of merging unsorted groups are
severe -- we can end up with uniqueness violations on the primary key in
the database -- and so we add an additional sort here.

COUCHDB-2735

fb696d7... by Adam Kocoloski <email address hidden>

Preserve bucket ordering during validation

Document buckets are sorted by docid, but the validation code was
reversing the buckets. If multiple clients send concurrent updates for
the same document the broken sorting can result in duplicate documents.

COUCHDB-2735

95cb436... by Dave Cottlehuber

build: support OTP-18.0

46f7b4e... by Robert Newson <email address hidden>

s/afrikan/afrikaans/g

61d33cb... by Klaus Trainer <email address hidden>

Improve documentation of `cacert_file` ssl option

The documentation was incorrect insofar that it only described its
functionality for client verification, although the configuration is
used for server verification as well.