summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNick Vatamaniuc <vatamane@apache.org>2020-01-08 12:25:53 -0500
committerNick Vatamaniuc <nickva@users.noreply.github.com>2020-01-09 14:21:36 -0500
commite23f3ef36e0fc9647cd6770bebad4504a4381128 (patch)
tree2628a55689d7ad5b8e41096ca9717444177021b5 /Makefile
parent275e10c67c1ea6f55d4c58a45cea57012c9a92ee (diff)
downloadcouchdb-e23f3ef36e0fc9647cd6770bebad4504a4381128.tar.gz
Use separate requests to write design when replicating
Design doc writes could fail on the target when replicating with non-admin credentials. Typically the replicator will skip over them and bump the `doc_write_failures` counter. However, that relies on the POST request returning a `200 OK` response. If the authentication scheme is implemented such that the whole request fails if some docs don't have enough permission to be written, then the replication job ends up crashing with an ugly exception and gets stuck retrying forever. In order to accomodate that scanario write _design docs in their separate requests just like we write attachments. Fixes: #2415
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions