This is an automated email from the ASF dual-hosted git repository.
jiangphcn pushed a change to branch COUCHDB-3326-clustered-purge-davisp-refactor
in repository https://gitbox.apache.org/repos/asf/couchdb.git.
discard 6a218b2 enable purge.js
discard 2181a02 Test test_purge_repeated_rev/1
discard 059e3d4 Add test compact with broken purge checkpoint doc
discard 6b3c160 Add more test cases
discard 400682e Add or modify test cases for clustered purge
discard 98c6803 Disable test_purge_with_compact2/1
discard f212a84 Enable should_compact_by_default_rule/1
discard c76774f Fix test failure related to compaction
discard 4c8e36d Fix test failure of handle_message_reply_test
discard 3a9b6ba Fix test failure of upgrade_test_
discard ee3c099 Temporarily disable failed test case
discard 429dd97 Bug fixes on clustered purge
discard 11eaffb Update index/mrview
discard 8f795ed WIP - test suite couch_db_purge_docs_tests.erl
discard 1120c05 WIP - add test engine suite
discard 412755b WIP - test engine suite
discard f6d6bb5 WIP - fabric clustered API
discard 8db8ebd WIP - chttpd_db.erl
discard 537130e WIP - clustered API fabric
discard abac0e0 WIP - update couch_mrview
discard a5083e3 WIP - couch_index_updater.erl
discard 5b14d1b WIP - add test suite
discard ca347ee WIP - couch_mrview_purge_docs_tests.erl
discard 46be71e WIP - fabric API
discard 17fadec WIP - test suite
discard e590bdf WIP - internal replication
discard e077e92 WIP - fabric API - fabric_rpc.erl
discard 922fce7 WIP - read repair - fabric_rpc.erl
discard 6b62e0e WIP - read repair fabric_doc_open_revs
discard b72bc0c WIP - couch_db_updater.erl
discard 49ebf8e WIP - couch_db_engine.erl
discard 53b7b88 WIP - couch_db.erl
discard fac4239 WIP - bt engine
discard ce79373 WIP - chttpd_purge_tests.erl
discard ca898e9 WIP - chttpd_db.erl
discard af2076b WIP - read repair fabric_doc_open.erl
discard 0486f0a WIP - couch_httpd_db.erl
discard e5bb653 WIP - couch_db_updater.erl
discard 5c4a041 WIP - couch_db_engine.erl
discard cd6452a WIP - test suite upgrades
discard 4e8ab64 WIP - couch_bt_engine stuff
discard cb0ef63 WIP - couch_db.erl
discard bf22bb1 WIP - chttpd_db.erl
discard 14a1ad3 WIP - couch_db_updater.erl
discard bcb0155 WIP couch_db.erl
discard dd4546a WIP - chttpd_db HTTP endpoint
discard 5a69b5b WIP - fabric_doc_purge.erl
discard 7a51482 WIP - read repair
discard 5c8f449 WIP - fix doc_open_revs always read repair
discard 05d9a3c WIP - Updating read repair for a myriad edge cases
discard 79e3d22 Temporarily disable should_compare_compression_methods/1
discard d3a2b59 Fix tests to work with clustered purge
discard 633d838 Add metrics for clustered purge
discard 90ac409 Implement clustered purge HTTP endpoint
discard 57719ec Update fabric_doc_open_revs to handle purges
discard 509548f Implement clustered purge API
discard 1b2eeeb WIP - Add internal replication of purges
discard b67d473 WIP - pre internal repl
discard f826388 Use EPI to create local purge doc for indexers
discard dc370c0 Update view engine to use new purge API
discard 425a60d WIP - add test suite
discard dd43b72 WIP - couch_bt_engine implementation
discard 38d0bb0 WIP - couch_db_engine.erl
discard 334af01 WIP - couch_db.erl
discard aafbd35 WIP - couch_db_updater.erl:
discard c8e80d9 WIP - couch_httpd_db.erl
discard a719552 WIP - couch_db_engine.erl
discard 8dae2f0 WIP - couch_db.erl
discard 63d39c2 WIP - couch_db_updater
discard 1b9ed8f [WIP] - Declare new purge storage engine APIs
discard 6ba2ae7 ss - typos in couch_db_engine.erl
discard 8725fc6 Typo correction for last_activity/1 definition
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
add 47a38d3 Force use of SMP enabled BEAM VM, fixes #1296
add ae29e65 Bump fauxton to fix CI builds
new 71248c4 Typo correction for last_activity/1 definition
new bf1d77e ss - typos in couch_db_engine.erl
new da4d563 [WIP] - Declare new purge storage engine APIs
new 242ea64 WIP - couch_db_updater
new 395b5d3 WIP - couch_db.erl
new 7c0acd4 WIP - couch_db_engine.erl
new 99b5c0f WIP - couch_httpd_db.erl
new 079ed4b WIP - couch_db_updater.erl:
new e2e7316 WIP - couch_db.erl
new f866ecc WIP - couch_db_engine.erl
new d072d0f WIP - couch_bt_engine implementation
new e4fa30c WIP - add test suite
new 1fba6ae Update view engine to use new purge API
new c08dd05 Use EPI to create local purge doc for indexers
new cc8a3fb WIP - pre internal repl
new 685eaa6 WIP - Add internal replication of purges
new adc20bd Implement clustered purge API
new 8e4447c Update fabric_doc_open_revs to handle purges
new 6f40bf0 Implement clustered purge HTTP endpoint
new 2e2c19a Add metrics for clustered purge
new f1bfcae Fix tests to work with clustered purge
new 1aba9c6 Temporarily disable should_compare_compression_methods/1
new e657d5d WIP - Updating read repair for a myriad edge cases
new 95d52da WIP - fix doc_open_revs always read repair
new da591cb WIP - read repair
new cbc4de9 WIP - fabric_doc_purge.erl
new fb9f318 WIP - chttpd_db HTTP endpoint
new 11d9eeb WIP couch_db.erl
new 2b176fa WIP - couch_db_updater.erl
new 96ebb27 WIP - chttpd_db.erl
new 15749a4 WIP - couch_db.erl
new c199fa6 WIP - couch_bt_engine stuff
new 7ca805d WIP - test suite upgrades
new 13de3fd WIP - couch_db_engine.erl
new 210d2d7 WIP - couch_db_updater.erl
new 972912b WIP - couch_httpd_db.erl
new d9a1d97 WIP - read repair fabric_doc_open.erl
new d7ae5a5 WIP - chttpd_db.erl
new 8731118 WIP - chttpd_purge_tests.erl
new 9fc3ff1 WIP - bt engine
new 001e0fa WIP - couch_db.erl
new f9bf79b WIP - couch_db_engine.erl
new 31f37cb WIP - couch_db_updater.erl
new 85258d7 WIP - read repair fabric_doc_open_revs
new e3ac757 WIP - read repair - fabric_rpc.erl
new e3ec1b3 WIP - fabric API - fabric_rpc.erl
new a8fffc5 WIP - internal replication
new 0cbbee4 WIP - test suite
new 2d0d898 WIP - fabric API
new 2cd3cbf WIP - couch_mrview_purge_docs_tests.erl
new 1f38b0c WIP - add test suite
new 1ec9dae WIP - couch_index_updater.erl
new e33c041 WIP - update couch_mrview
new b70414a WIP - clustered API fabric
new d196617 WIP - chttpd_db.erl
new ea4c912 WIP - fabric clustered API
new 040130e WIP - test engine suite
new 3c009e4 WIP - add test engine suite
new 5725a64 WIP - test suite couch_db_purge_docs_tests.erl
new 0cd7686 Update index/mrview
new 7823786 Bug fixes on clustered purge
new 168c694 Temporarily disable failed test case
new e63917d Fix test failure of upgrade_test_
new e4b68c9 Fix test failure of handle_message_reply_test
new 0f52292 Fix test failure related to compaction
new ed97435 Enable should_compact_by_default_rule/1
new 60c5297 Disable test_purge_with_compact2/1
new 252bfed Add or modify test cases for clustered purge
new 44be0f6 Add more test cases
new da3ede1 Add test compact with broken purge checkpoint doc
new 24541fa Test test_purge_repeated_rev/1
new 6184bfb enable purge.js
new e402b0c Merge from COUCHDB-3326-clustered-purge-davisp-refactor-2
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 (6a218b2)
\
N -- N -- N
refs/heads/COUCHDB-3326-clustered-purge-davisp-refactor (e402b0c)
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 73 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 | 12 +-
rel/overlay/etc/default.ini | 15 +-
rel/overlay/etc/vm.args | 3 +
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_purge_tests.erl | 20 +
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 | 37 +-
src/couch/src/couch_compaction_daemon.erl | 18 +-
src/couch/src/couch_db.erl | 24 +-
src/couch/src/couch_db_engine.erl | 2 +-
src/couch/src/couch_db_updater.erl | 96 +-
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 | 108 +-
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 | 220 ++--
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 | 451 +++-----
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_db_purge_docs_tests.erl | 1190 +++++++++++---------
src/couch/test/couch_db_purge_seqs_tests.erl | 7 +-
src/couch/test/couch_key_tree_prop_tests.erl | 531 +++++++++
src/couch/test/couch_passwords_tests.erl | 34 +-
src/couch/test/couchdb_file_compression_tests.erl | 4 +-
.../test/couch_mrview_purge_docs_tests.erl | 4 +-
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_doc_purge.erl | 629 +++++++----
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 +-
76 files changed, 4345 insertions(+), 2425 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
[email protected].