You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2018/07/14 13:13:40 UTC

[couchdb] branch 1278-add-clustered-db-info updated (6bdfeca -> cb87b47)

This is an automated email from the ASF dual-hosted git repository.

jan pushed a change to branch 1278-add-clustered-db-info
in repository https://gitbox.apache.org/repos/asf/couchdb.git.


    from 6bdfeca  Switch to options list and dedicated aggr/set callbacks
     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
     add f541e48  Add SSL session_lifetime limit for ibrowse pids
     add 8e28fd2  Mango: _id and _rev index selection
     add 5290a32  Update Jenkins build process:
     add 6d44e17  Add _approx_count_distinct as a builtin reduce function (#1346)
     add 8a46473  Add hyper app to dependencies
     add 0392c51  Finalize in couch_mrview, but make it optional
     add 5fa3c43  Use finalize operation to simplify _stats
     add 398ac18  Ignore trailing characters in a builtin reduce
     add 62f71c0  Fix container for package-building step
     add 994b370  Jenkinsfile: typo
     add 71c33b1  Update skip_deps for 3rd parties eunit (#1386)
     add 2bf04a0  Revert "Introduce bin_opt_info erl_opts compilation option"
     add 76790d5  Add compile's command line options
     add 2fe402f  Remove debug_info from compile options
     add dfa8780  Make bin_opt_info optional based on env variable
     add 41decfa  Allow custom compile options with env variable
     add c7d35c3  Merge pull request #1387 from cloudant/make-bin_opt_info-optional
     add 000766c  Fix active size calculations for views
     add aebdbc4  Optimize couch_key_tree:stem/2
     add 3c98385  Fix couch_key_tree_tests.erl
     add f040d75  Add set_mqd_off_heap utility function
     add a13efba  Call `set_mqd_off_heap` for critical processes
     add f3a0f42  refactor process_request to not drop req (#1375)
     add fe53e43  Prepare to fabric attachment receiver from a fun closure to a tuple
     add 5b5c8a1  Add constant index fields to sort based on the selector (#1376)
     add 103a062  Update snappy dep to CouchDB-1.0.1 with 21.0 support
     add e6272de  Update build dependency docs for FreeBSD
     add 1209036  Add regression runs on new dedicated FreeBSD VM
     add 3358668  fix(_view changes feed): fix function_clause crash in couch_native_process. Crash was caused by a missing implementation of ddoc function for <<"views">> FunPath, implementation is based on FilterFun but matches return values of the erlang:put()  which is called in the native Emit function and also expects ok and false when docs were not emitted.
     add 0377e53  tests(couch_changes): add tests for changes feed filtering using an Erlang view
     add d36149e  Merge pull request #1401 from Spotme/spotme/fix/couch-native-process
     add 5bbfbeb  Don't set context for compaction files during db delete (#1419)
     add 73f1565  remove mention of os daemons and externals in ini files
     add 54577f1  allow socket server configuration for TLS httpd
     add 142eb6b  feat: avoid double builds on PRs
     add 1b15d4c  feat: remove duplicate authentication check
     add 7dfed0c  Added tests for checking http status code depending on cluster quorum
     add bfc610f  Make stem_interactive_updates option work again
     add 80e431f  Fix for issue #1136 - Error 500 deleting DB without quorum
     add 177c22d  Deletion responds 200 after a response from every node, and 202 in other case
     add 71cf9f4  Adjust deletion tests in different cluster quorum conditions
     add 45a0ad9  Add `conflicts: true` option to mango selectors
     add 572234f  Add tests for mango conflict finding
     add e928b88  hook up proxy auth handler to chttpd
     add aa73e4e  Views now retain update_seq after compaction.
     add a5858b9  Replace R16B03 with 17.5.3 for PR#1427
     add 0f130cb  Drop Erlang R16 support
     add 4ea7210  config: improve handling of admin-supplied changes
     add 768e9eb  build: ease pattern matching to be less pedantic about RC
     add a82419b  build: release candidate tarball should have -RCx
     add 5c93cb7  Use couch_util:trim for greater erlang compatibility
     add 3c3546c  string:trim() compat for couch_util:trim()
     add fa3c812  bump deps
     add 1703998  raise timeouts in attachment tests
     add 215f49b  wait for db deletion before db re-creation. Closes #1197
     add dacb658  Clarify bad index creation error messages
     new cb87b47  Merge branch 'master' into 1278-add-clustered-db-info

The 1 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                                         |   1 +
 .travis.yml                                        |   9 +-
 INSTALL.Unix.md                                    |   6 +-
 Jenkinsfile                                        | 153 ++++++++++----
 LICENSE                                            |  24 +++
 Makefile                                           |  23 ++-
 NOTICE                                             |   4 +
 rebar.config.script                                |  18 +-
 rel/overlay/etc/default.ini                        |  35 ++--
 rel/overlay/etc/local.ini                          |  14 --
 rel/overlay/etc/vm.args                            |   6 +
 rel/reltool.config                                 |   2 +
 src/chttpd/src/chttpd.erl                          |  68 ++++++-
 src/chttpd/src/chttpd_auth.erl                     |   4 +
 src/chttpd/src/chttpd_db.erl                       |   1 -
 src/chttpd/src/chttpd_misc.erl                     |  10 +-
 src/couch/src/couch.app.src                        |   3 +-
 src/couch/src/couch_bt_engine.erl                  |   4 +-
 src/couch/src/couch_db.erl                         |  10 +-
 src/couch/src/couch_db_updater.erl                 |  55 +++--
 src/couch/src/couch_httpd_misc_handlers.erl        |   2 +-
 src/couch/src/couch_httpd_multipart.erl            |   3 +-
 src/couch/src/couch_key_tree.erl                   |  83 +++++++-
 src/couch/src/couch_native_process.erl             |  12 ++
 src/couch/src/couch_query_servers.erl              |  34 +++-
 src/couch/src/couch_server.erl                     |   4 +-
 src/couch/src/couch_util.erl                       |  50 ++++-
 src/couch/src/test_engine_util.erl                 |   3 +-
 src/couch/src/test_util.erl                        |  26 ++-
 src/couch/test/couch_changes_tests.erl             |  38 +++-
 src/couch/test/couch_key_tree_tests.erl            | 197 +++++++++---------
 src/couch/test/couchdb_attachments_tests.erl       |   6 +-
 src/couch_log/src/couch_log_server.erl             |   1 +
 src/couch_mrview/src/couch_mrview.erl              |  30 ++-
 src/couch_mrview/src/couch_mrview_compactor.erl    |   2 +
 src/couch_mrview/src/couch_mrview_index.erl        |   3 +-
 src/couch_mrview/src/couch_mrview_util.erl         |  17 ++
 .../test/couch_mrview_index_info_tests.erl         |  96 ++++++---
 .../src/couch_replicator_scheduler.erl             |  82 +++++++-
 src/ddoc_cache/src/ddoc_cache_lru.erl              |   1 +
 src/fabric/src/fabric_db_delete.erl                |   6 +-
 ...ric_doc_attachments.erl => fabric_doc_atts.erl} |  28 ++-
 src/fabric/src/fabric_rpc.erl                      |   7 +-
 src/fabric/src/fabric_view.erl                     |   3 +-
 src/mango/src/mango_cursor.erl                     |  18 +-
 src/mango/src/mango_cursor_view.erl                |   8 +-
 src/mango/src/mango_error.erl                      |   4 +-
 src/mango/src/mango_idx.erl                        |  36 +---
 src/mango/src/mango_idx_special.erl                |  13 +-
 src/mango/src/mango_idx_view.erl                   |  38 +++-
 src/mango/src/mango_selector.erl                   | 113 ++++++++++-
 src/mango/test/02-basic-find-test.py               |   7 +
 src/mango/test/12-use-correct-index-test.py        |  13 ++
 src/mango/test/18-json-sort.py                     | 222 +++++++++++++++++++++
 src/mango/test/19-find-conflicts.py                |  41 ++++
 src/mango/test/mango.py                            |   5 +
 src/mem3/src/mem3_shards.erl                       |  42 ++--
 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/rexi/src/rexi_server.erl                       |   1 +
 test/javascript/run                                |   8 +-
 .../with-quorum/attachments.js}                    |  30 +--
 .../with-quorum/attachments_delete.js}             |  28 ++-
 .../attachments_delete_overridden_quorum.js        |  36 ++++
 .../with-quorum/attachments_overridden_quorum.js   |  40 ++++
 .../with-quorum/{db-creation.js => db_creation.js} |   0
 ...reation.js => db_creation_overridden_quorum.js} |  11 +-
 .../db-creation.js => with-quorum/db_deletion.js}  |  16 +-
 ...reation.js => db_deletion_overridden_quorum.js} |  14 +-
 .../with-quorum/{db-creation.js => doc_bulk.js}    |  20 +-
 ...b-creation.js => doc_bulk_overridden_quorum.js} |  20 +-
 .../with-quorum/{db-creation.js => doc_copy.js}    |  20 +-
 .../with-quorum/doc_copy_overridden_quorum.js}     |  26 +--
 .../with-quorum/{db-creation.js => doc_crud.js}    |  24 ++-
 ...b-creation.js => doc_crud_overridden_quorum.js} |  24 ++-
 .../tests-cluster/without-quorum/attachments.js    |  39 ++++
 .../without-quorum/attachments_delete.js           |  37 ++++
 .../attachments_delete_overridden_quorum.js        |  36 ++++
 .../attachments_overridden_quorum.js               |  42 ++++
 .../{db-creation.js => db_creation.js}             |   3 +-
 ...reation.js => db_creation_overridden_quorum.js} |  12 +-
 .../{db-creation.js => db_deletion.js}             |  18 +-
 ...reation.js => db_deletion_overridden_quorum.js} |  15 +-
 .../without-quorum/{db-creation.js => doc_bulk.js} |  20 +-
 ...b-creation.js => doc_bulk_overridden_quorum.js} |  20 +-
 .../without-quorum/{db-creation.js => doc_copy.js} |  20 +-
 ...b-creation.js => doc_copy_overridden_quorum.js} |  23 ++-
 .../without-quorum/{db-creation.js => doc_crud.js} |  25 ++-
 ...b-creation.js => doc_crud_overridden_quorum.js} |  24 ++-
 test/javascript/tests/reduce_builtin.js            |  20 ++
 test/javascript/tests/users_db.js                  |   7 +
 92 files changed, 1832 insertions(+), 679 deletions(-)
 copy src/fabric/src/{fabric_doc_attachments.erl => fabric_doc_atts.erl} (93%)
 create mode 100644 src/mango/test/18-json-sort.py
 create mode 100644 src/mango/test/19-find-conflicts.py
 delete mode 100644 src/mem3/test/01-config-default.ini
 copy test/javascript/{tests/large_docs.js => tests-cluster/with-quorum/attachments.js} (54%)
 copy test/javascript/{tests/large_docs.js => tests-cluster/with-quorum/attachments_delete.js} (57%)
 create mode 100644 test/javascript/tests-cluster/with-quorum/attachments_delete_overridden_quorum.js
 create mode 100644 test/javascript/tests-cluster/with-quorum/attachments_overridden_quorum.js
 copy test/javascript/tests-cluster/with-quorum/{db-creation.js => db_creation.js} (100%)
 copy test/javascript/tests-cluster/with-quorum/{db-creation.js => db_creation_overridden_quorum.js} (62%)
 copy test/javascript/tests-cluster/{without-quorum/db-creation.js => with-quorum/db_deletion.js} (70%)
 copy test/javascript/tests-cluster/with-quorum/{db-creation.js => db_deletion_overridden_quorum.js} (67%)
 copy test/javascript/tests-cluster/with-quorum/{db-creation.js => doc_bulk.js} (70%)
 copy test/javascript/tests-cluster/with-quorum/{db-creation.js => doc_bulk_overridden_quorum.js} (63%)
 copy test/javascript/tests-cluster/with-quorum/{db-creation.js => doc_copy.js} (70%)
 copy test/javascript/{tests/large_docs.js => tests-cluster/with-quorum/doc_copy_overridden_quorum.js} (55%)
 copy test/javascript/tests-cluster/with-quorum/{db-creation.js => doc_crud.js} (68%)
 rename test/javascript/tests-cluster/with-quorum/{db-creation.js => doc_crud_overridden_quorum.js} (55%)
 create mode 100644 test/javascript/tests-cluster/without-quorum/attachments.js
 create mode 100644 test/javascript/tests-cluster/without-quorum/attachments_delete.js
 create mode 100644 test/javascript/tests-cluster/without-quorum/attachments_delete_overridden_quorum.js
 create mode 100644 test/javascript/tests-cluster/without-quorum/attachments_overridden_quorum.js
 copy test/javascript/tests-cluster/without-quorum/{db-creation.js => db_creation.js} (89%)
 copy test/javascript/tests-cluster/without-quorum/{db-creation.js => db_creation_overridden_quorum.js} (64%)
 copy test/javascript/tests-cluster/without-quorum/{db-creation.js => db_deletion.js} (72%)
 copy test/javascript/tests-cluster/without-quorum/{db-creation.js => db_deletion_overridden_quorum.js} (65%)
 copy test/javascript/tests-cluster/without-quorum/{db-creation.js => doc_bulk.js} (74%)
 copy test/javascript/tests-cluster/without-quorum/{db-creation.js => doc_bulk_overridden_quorum.js} (67%)
 copy test/javascript/tests-cluster/without-quorum/{db-creation.js => doc_copy.js} (72%)
 copy test/javascript/tests-cluster/without-quorum/{db-creation.js => doc_copy_overridden_quorum.js} (56%)
 copy test/javascript/tests-cluster/without-quorum/{db-creation.js => doc_crud.js} (65%)
 rename test/javascript/tests-cluster/without-quorum/{db-creation.js => doc_crud_overridden_quorum.js} (58%)


[couchdb] 01/01: Merge branch 'master' into 1278-add-clustered-db-info

Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jan pushed a commit to branch 1278-add-clustered-db-info
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit cb87b479443123e94a571e98b68a70176a33b935
Merge: 6bdfeca dacb658
Author: Jan Lehnardt <ja...@apache.org>
AuthorDate: Sat Jul 14 15:13:38 2018 +0200

    Merge branch 'master' into 1278-add-clustered-db-info

 .gitignore                                         |   1 +
 .travis.yml                                        |   9 +-
 INSTALL.Unix.md                                    |   6 +-
 Jenkinsfile                                        | 153 ++++++++++----
 LICENSE                                            |  24 +++
 Makefile                                           |  23 ++-
 NOTICE                                             |   4 +
 rebar.config.script                                |  18 +-
 rel/overlay/etc/default.ini                        |  35 ++--
 rel/overlay/etc/local.ini                          |  14 --
 rel/overlay/etc/vm.args                            |   6 +
 rel/reltool.config                                 |   2 +
 src/chttpd/src/chttpd.erl                          |  68 ++++++-
 src/chttpd/src/chttpd_auth.erl                     |   4 +
 src/chttpd/src/chttpd_db.erl                       |   1 -
 src/chttpd/src/chttpd_misc.erl                     |  10 +-
 src/couch/src/couch.app.src                        |   3 +-
 src/couch/src/couch_bt_engine.erl                  |   4 +-
 src/couch/src/couch_db.erl                         |  10 +-
 src/couch/src/couch_db_updater.erl                 |  55 +++--
 src/couch/src/couch_httpd_misc_handlers.erl        |   2 +-
 src/couch/src/couch_httpd_multipart.erl            |   3 +-
 src/couch/src/couch_key_tree.erl                   |  83 +++++++-
 src/couch/src/couch_native_process.erl             |  12 ++
 src/couch/src/couch_query_servers.erl              |  34 +++-
 src/couch/src/couch_server.erl                     |   4 +-
 src/couch/src/couch_util.erl                       |  50 ++++-
 src/couch/src/test_engine_util.erl                 |   3 +-
 src/couch/src/test_util.erl                        |  26 ++-
 src/couch/test/couch_changes_tests.erl             |  38 +++-
 src/couch/test/couch_key_tree_tests.erl            | 197 +++++++++---------
 src/couch/test/couchdb_attachments_tests.erl       |   6 +-
 src/couch_log/src/couch_log_server.erl             |   1 +
 src/couch_mrview/src/couch_mrview.erl              |  30 ++-
 src/couch_mrview/src/couch_mrview_compactor.erl    |   2 +
 src/couch_mrview/src/couch_mrview_index.erl        |   3 +-
 src/couch_mrview/src/couch_mrview_util.erl         |  17 ++
 .../test/couch_mrview_index_info_tests.erl         |  96 ++++++---
 .../src/couch_replicator_scheduler.erl             |  82 +++++++-
 src/ddoc_cache/src/ddoc_cache_lru.erl              |   1 +
 src/fabric/src/fabric_db_delete.erl                |   6 +-
 src/fabric/src/fabric_doc_atts.erl                 | 168 ++++++++++++++++
 src/fabric/src/fabric_rpc.erl                      |   7 +-
 src/fabric/src/fabric_view.erl                     |   3 +-
 src/mango/src/mango_cursor.erl                     |  18 +-
 src/mango/src/mango_cursor_view.erl                |   8 +-
 src/mango/src/mango_error.erl                      |   4 +-
 src/mango/src/mango_idx.erl                        |  36 +---
 src/mango/src/mango_idx_special.erl                |  13 +-
 src/mango/src/mango_idx_view.erl                   |  38 +++-
 src/mango/src/mango_selector.erl                   | 113 ++++++++++-
 src/mango/test/02-basic-find-test.py               |   7 +
 src/mango/test/12-use-correct-index-test.py        |  13 ++
 src/mango/test/18-json-sort.py                     | 222 +++++++++++++++++++++
 src/mango/test/19-find-conflicts.py                |  41 ++++
 src/mango/test/mango.py                            |   5 +
 src/mem3/src/mem3_shards.erl                       |  42 ++--
 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/rexi/src/rexi_server.erl                       |   1 +
 test/javascript/run                                |   8 +-
 .../with-quorum/{db-creation.js => attachments.js} |  29 ++-
 .../{db-creation.js => attachments_delete.js}      |  25 ++-
 .../attachments_delete_overridden_quorum.js        |  36 ++++
 .../with-quorum/attachments_overridden_quorum.js   |  40 ++++
 .../with-quorum/{db-creation.js => db_creation.js} |   0
 ...reation.js => db_creation_overridden_quorum.js} |  11 +-
 .../db-creation.js => with-quorum/db_deletion.js}  |  16 +-
 ...reation.js => db_deletion_overridden_quorum.js} |  14 +-
 .../with-quorum/{db-creation.js => doc_bulk.js}    |  20 +-
 ...b-creation.js => doc_bulk_overridden_quorum.js} |  20 +-
 .../with-quorum/{db-creation.js => doc_copy.js}    |  20 +-
 ...b-creation.js => doc_copy_overridden_quorum.js} |  23 ++-
 .../with-quorum/{db-creation.js => doc_crud.js}    |  24 ++-
 ...b-creation.js => doc_crud_overridden_quorum.js} |  24 ++-
 .../tests-cluster/without-quorum/attachments.js    |  39 ++++
 .../without-quorum/attachments_delete.js           |  37 ++++
 .../attachments_delete_overridden_quorum.js        |  36 ++++
 .../attachments_overridden_quorum.js               |  42 ++++
 .../{db-creation.js => db_creation.js}             |   3 +-
 ...reation.js => db_creation_overridden_quorum.js} |  12 +-
 .../{db-creation.js => db_deletion.js}             |  18 +-
 ...reation.js => db_deletion_overridden_quorum.js} |  15 +-
 .../without-quorum/{db-creation.js => doc_bulk.js} |  20 +-
 ...b-creation.js => doc_bulk_overridden_quorum.js} |  20 +-
 .../without-quorum/{db-creation.js => doc_copy.js} |  20 +-
 ...b-creation.js => doc_copy_overridden_quorum.js} |  23 ++-
 .../without-quorum/{db-creation.js => doc_crud.js} |  25 ++-
 ...b-creation.js => doc_crud_overridden_quorum.js} |  24 ++-
 test/javascript/tests/reduce_builtin.js            |  20 ++
 test/javascript/tests/users_db.js                  |   7 +
 92 files changed, 1991 insertions(+), 653 deletions(-)