This is an automated email from the ASF dual-hosted git repository. davisp pushed a change to branch COUCHDB-3326-clustered-purge-davisp-refactor-2 in repository https://gitbox.apache.org/repos/asf/couchdb.git.
discard 0600be7 TMP - avoid couch_db:open_int/2 in PSE callbacks discard 77023f1 Update HTTP JS tests for clustered purge discard c762372 Implement HTTP endpoints for clustered purge discard 3daa54c Fix read-repair for new clustered purge discard e9f7d65 Add clustered purge API to fabric discard 1563f51 Implement internal replication of purge requests discard f12b2b1 Update the view engine to use the new purge APIs discard 073b583 Add EPI hook for creating purge docs on compaction discard 54edbd2 Update the purge eunit test suites discard e1c8d8a Implement new purge APIs for couch_bt_enigne discard 5a152ca Implement new node local purge APIs discard 3d88197 Define new couch_db_engine purge API discard b05d6f4 Simplify logic in mem3_rep discard 14c678b Fix typos in couch_db_engine.erl add 18f8362 Bump config dependency to 1.0.3 add 36ecf92 Support queries for endpoints add 0a477b5 Merge pull request #1222 from cloudant/issue-820-add-queries add 95a78ce Remove _config call in couch_peruser_test add a0c863d Merge pull request #1130 from cloudant/issue-876-remove-_config-call-in-eunit-test add 89a727b Replace resource expensive bcrypt test with shorter version (#1231) add 45da9f3 Validate password_scheme in user doc add 3d702d8 Revert "Revert "re-enable "flaky" test in quest to nail down #745"" add e7c48b3 Improve 413 response handling add f0887c1 Allow couch_os_daemons to live in directories with spaces add 7bfdedb Fix DB-specific compaction configuration (#1059) add 6f987ae Merge branch 'master' into daemon-spaces add f28d896 make it so add 3621725 add bootstrap add 0f559a9 add ignore add 58c4948 add http stub add e8c4966 add basic action handling add a5213f7 add Apache License stanza everywhere add 404692f add the plan to readme add ecf310a add note about skipping a step if the node is already setup add 38eaa88 add delete_node API add 9f1fa23 hack for storing erlang cookie value on new nodes add 068bdf1 add action hints add 94eab12 add license add 3ad82e5 remove leftover add 317e5a4 formatting add 0145bae formatting & clarification add bc41677 mroe formatting add 277ca66 wip: implement setup handling add 92da54e wip: full receive feature, setup now works yay add fc39fab add simple test script add 354647b add finish cluster routine add 7c6c3bb add some more testing add 4c423e6 s/_cassim/cassim/ for the time being add 7528f5b add license header add 0a676fc add testing instructions to readme add 3304add hash admin passwords, more resilient port parsing add 14e0374 handle GET cluster state add 9c3eb0a show cluster finished state add be52f7e R14 compatibility add 9728b34 Remove error-handling clause add cd7d0ec Fix LICENSE indention add deeb073 Rename cassim db to _metadata add 127e85a Use _nodes db add 372dd8b fix tests add ecb601b Create _global_changes database on cluster setup add 616789b cluster_enable: add remote_node feature add f4fd3fa whitespace fix add aa17a55 use couch_log instead of io:format add 5c0e927 Use dynamic handlers add ff19be1 add catch-all clause for url_handler add bdb8a0c configure the right http interface add 647ffbc fix enable_cluster_http for admin-party clusters add fb61c04 Update to new couch_epi API add d0a9b72 Pass supervisor's children to couch_epi add 747144e Return HTTP 200 on GET add b9e1f3b Return HTTP 405 for unsupported request method add e8d1e32 feat: cassim is off for now add 75a7682 require nodecount on setup add dd68945 use config:setineger/3 add b107042 fix wording add 401d776 Merge remote-tracking branch 'robertkowalski/2594-2598-number-of-nodes' add 2590fbc Fixed some minor errors in the documentation. add d75693e add_node: Don't fail if node name != "couchdb" or "node1" add b2b93c1 Merge remote-tracking branch 'adrienverge/COUCHDB-3119' add 54623ce fix cluster setup: use same admin pq salt on all nodes add c38d7aa Merge remote-tracking branch 'asf/salt-distribution' add 18314a6 Add support for new ensure_dbs_exist option to GET, POST/finish_cluster add 92dd9d1 Add new enable_single_node action for cluster_setup endpoint add e153d48 address comments from rnewson add d61381a fix typo/compilation error add 942c665 chore: whitespace add 4b90eca chore: better log output add 4d9bd58 Merge branch '593-setup-single-node' of https://github.com/apache/couchdb-setup add 68545af fix: make sure cluster setups do not exceed n=3 by default add 9fd7f44 Merge branch 'fix/node-count' of https://github.com/apache/couchdb-setup add 2f725d9 Import couchdb-setup add e282d70 Update rebar.config for local src/setup add 1a040a4 Merge pull request #1243 from apache/import-setup-again add b163663 Merge branch 'master' into daemon-spaces add c300673 Merge pull request #1242 from apache/daemon-spaces add 266c56b Various top-level directory cleanups add 25de7b5 Merge pull request #1240 from apache/cleanup add 0e1cdef Fix couch peruser test suite (#1247) add 0074b4f fix: more reliable password scheme tests add f6fc285 add test covering loading admins from config add fe1ce42 feat: add debug log output for shard open errors add 99a64b2 Fix shard substitution in changes feeds add 790783e Fix killing of OS processes add 6ffe042 Make loginUser wait for successful authentication add 455d634 Fix compaction resumption for the BT engine add b52683c Test compaction resumption after error add 8f38625 fix file_compression value description add 948a131 Fix typo in node local _replicate handler add 02c9429 Key tree property tests add 0e92688 Kill fabric attachment receiver when middleman times out add a0dd946 Do not drop updated httpdb record after auth headers are updated add f9aa52f Switch to using a mirrored triq dependency add 1ae2aae Minor documentation cleanup for couch_replicator add 5b74e66 Set update_lru_on_read=false as default add 33783c3 call commit_data where needed add 3d1eecb Merge pull request #1281 from apache/commit_data_pse add b0f673f In _scheduler/docs fix `crashing` state showing as `pending` sometimes add 581bd05 Adopt fake_db to PSE changes add 356069d Merge pull request #1273 from cloudant/adopt-fake_db-to-PSE add 069c02b Document enable_database_recovery ini option add 8de46c7 Fix mem3 tests (#1285) add 894accb Fix length badarg error in mp parser new dbed517 Fix typos in couch_db_engine.erl new 21747f2 Fix bug during purge new 64b6ea9 Fix default security object handling new 9b1c493 Fix race on couch_db:reopen/1 new 10169fd Rewrite the PSE test suite to use couch_server new bbbb5ad Simplify logic in mem3_rep new 78d7e1f Define new couch_db_engine purge API new d16071d Implement new node local purge APIs new 57a8dc2 Implement new purge APIs for couch_bt_enigne new 4782ab5 Update the purge eunit test suites new 2a741eb Add EPI hook for creating purge docs on compaction new f118eae Update the view engine to use the new purge APIs new 4334038 Implement internal replication of purge requests new cee6c21 Add clustered purge API to fabric new 135e6bc Fix read-repair for new clustered purge new a5fdb24 Implement HTTP endpoints for clustered purge new b7dccd5 Update HTTP JS tests for clustered purge new 53356ba TMP - avoid couch_db:open_int/2 in PSE callbacks new f0b7ddb Update tests for new PSE test suite This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (0600be7) \ N -- N -- N refs/heads/COUCHDB-3326-clustered-purge-davisp-refactor-2 (f0b7ddb) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 19 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .gitignore | 2 +- COMMITTERS.md | 51 +- Makefile | 4 +- Makefile.win | 4 +- Vagrantfile | 69 --- introspect => build-aux/introspect | 0 license.skip | 204 -------- rebar.config.script | 10 +- rel/overlay/etc/default.ini | 15 +- src/chttpd/src/chttpd_db.erl | 38 ++ src/chttpd/src/chttpd_view.erl | 16 + src/chttpd/test/chttpd_db_test.erl | 154 +++++- src/chttpd/test/chttpd_view_test.erl | 123 +++++ src/couch/include/couch_js_functions.hrl | 9 + src/couch/src/couch_bt_engine.erl | 2 +- src/couch/src/couch_bt_engine_compactor.erl | 2 +- src/couch/src/couch_compaction_daemon.erl | 18 +- src/couch/src/couch_db.erl | 7 +- src/couch/src/couch_db_updater.erl | 22 +- src/couch/src/couch_httpd.erl | 13 + src/couch/src/couch_httpd_multipart.erl | 3 +- src/couch/src/couch_os_daemons.erl | 2 +- src/couch/src/couch_os_process.erl | 1 - src/couch/src/couch_server.erl | 2 +- src/couch/src/test_engine_attachments.erl | 35 +- src/couch/src/test_engine_compaction.erl | 334 ++++++------- src/couch/src/test_engine_fold_changes.erl | 134 +++--- src/couch/src/test_engine_fold_docs.erl | 99 ++-- src/couch/src/test_engine_fold_purge_infos.erl | 74 +-- src/couch/src/test_engine_get_set_props.erl | 86 ++-- src/couch/src/test_engine_open_close_delete.erl | 75 ++- src/couch/src/test_engine_purge_docs.erl | 165 ++++--- src/couch/src/test_engine_read_write_docs.erl | 300 ++++++------ src/couch/src/test_engine_ref_counting.erl | 42 +- src/couch/src/test_engine_util.erl | 449 +++++++---------- src/couch/src/test_util.erl | 26 +- src/couch/test/couch_auth_cache_tests.erl | 16 +- src/couch/test/couch_bt_engine_compactor_tests.erl | 130 +++++ src/couch/test/couch_bt_engine_tests.erl | 2 +- src/couch/test/couch_key_tree_prop_tests.erl | 531 +++++++++++++++++++++ src/couch/test/couch_passwords_tests.erl | 34 +- src/couch_peruser/test/couch_peruser_test.erl | 144 +++--- src/couch_replicator/README.md | 41 +- .../src/couch_replicator_httpc.erl | 26 +- .../src/couch_replicator_httpd.erl | 2 +- .../src/couch_replicator_scheduler.erl | 82 +++- ...ch_replicator_small_max_request_size_target.erl | 28 +- src/fabric/src/fabric_doc_attachments.erl | 5 +- src/fabric/src/fabric_util.erl | 4 +- src/mem3/src/mem3_rep.erl | 4 +- src/mem3/src/mem3_shards.erl | 41 +- src/mem3/test/01-config-default.ini | 14 - src/mem3/test/mem3_sync_security_test.erl | 19 +- src/mem3/test/mem3_util_test.erl | 55 +-- src/setup/.gitignore | 4 + src/{global_changes => setup}/LICENSE | 0 src/setup/README.md | 193 ++++++++ .../src/setup.app.src} | 15 +- src/setup/src/setup.erl | 289 +++++++++++ .../couch_epi_app.erl => setup/src/setup_app.erl} | 11 +- .../src/mem3_epi.erl => setup/src/setup_epi.erl} | 7 +- src/setup/src/setup_httpd.erl | 169 +++++++ .../src/setup_httpd_handlers.erl} | 3 +- .../src/setup_sup.erl} | 19 +- src/setup/test/t-frontend-setup.sh | 63 +++ src/setup/test/t-single-node.sh | 46 ++ src/setup/test/t.sh | 63 +++ test/javascript/couch_test_runner.js | 4 +- test/javascript/tests/users_db_security.js | 42 +- 69 files changed, 3116 insertions(+), 1580 deletions(-) delete mode 100644 Vagrantfile rename introspect => build-aux/introspect (100%) delete mode 100644 license.skip create mode 100644 src/chttpd/test/chttpd_view_test.erl create mode 100644 src/couch/test/couch_bt_engine_compactor_tests.erl create mode 100644 src/couch/test/couch_key_tree_prop_tests.erl delete mode 100644 src/mem3/test/01-config-default.ini create mode 100644 src/setup/.gitignore copy src/{global_changes => setup}/LICENSE (100%) create mode 100644 src/setup/README.md copy src/{couch_plugins/src/couch_plugins.app.src => setup/src/setup.app.src} (71%) create mode 100644 src/setup/src/setup.erl copy src/{couch_epi/src/couch_epi_app.erl => setup/src/setup_app.erl} (69%) copy src/{mem3/src/mem3_epi.erl => setup/src/setup_epi.erl} (91%) create mode 100644 src/setup/src/setup_httpd.erl copy src/{couch/src/couch_httpd_handlers.erl => setup/src/setup_httpd_handlers.erl} (86%) copy src/{couch_peruser/src/couch_peruser_sup.erl => setup/src/setup_sup.erl} (57%) create mode 100755 src/setup/test/t-frontend-setup.sh create mode 100755 src/setup/test/t-single-node.sh create mode 100755 src/setup/test/t.sh -- To stop receiving notification emails like this one, please contact dav...@apache.org.