This is an automated email from the ASF dual-hosted git repository.
jcoglan pushed a change to branch mango-match-failures
in repository https://gitbox.apache.org/repos/asf/couchdb.git
discard 48f039a09 fix: Avoid updating the context path when matching Mango
selectors in non-verbose mode
discard 2ab258d86 fix: Reject Mango VDUs if they contain invalid field names
or invalid operators
discard 962a605cf fix: Do not split literal field names like "a.b" into
separate path elements when reporting VDU failures
discard d402fc0f7 fix: Format Mango VDU errors correctly when a doc contains
an empty-string field name
discard 42a476cfd fix: Selectors like {"$not":{"$allMatch":S}} (and
"$elemMatch" and "$keyMapMatch") should be considered successful when applied
to values of the wrong type
discard d9c5203ef feat: Validate JS and Mango `validate_doc_update` on PUT
/db/_design/doc
discard 38a7f40a8 fix: Raise an error if a Mango VDU contains invalid
top-level fields
discard 376890703 docs: More detailed explanation of the behaviour of the
oldDocs field in Mango VDUs
discard 8aaf9dbb2 fix: Mango VDUs should omit the `oldDoc` field from the
matching struct if the doc is newly created
discard e82ef0514 chore: Add some benchmarks for Mango selector matching
discard cb58efad0 feat: Return VDU failure reports to the caller
discard ff1e8305b feat: "verbose" mode for `mango_selector:match/3`
discard 3acda144e feat: Record the paths where selectors fail to match
discard b89cb21f0 chore: Replace `Cmp` argument to `mango_selector:match/3`
with a record
discard cc1f8a0fb feat: Make mango_selector:match/2 return a list of failures
discard f8ec07d4f fix: Normalize negations inside $allMatch and other operators
discard b925855d8 fix: The match/2 rule for filtering out <<>> should filter []
add 14c7423c6 Add 3.5.2 to GitHub issue template
add 444bf3aa6 Update Erlang to the latest patches
add c3b9759a3 Revert "eliminate internal tracking of EOF"
add 380ae0798 add optional eof validation in couch_file
add c09e64a7c Merge pull request #6114 from
apache/couch_file-perf-regression-fix
add 4bc5b8630 Optimize and improve change sequence decoding
add 0185416bf Optimize B-tree chunk size default
add f5e6aa5ef Fix silent row loss in Mango _id range queries
add e3a1a649b Add a test for mango ID collation
add d84f6e325 Disable PPC64LE CI run
add 5a1ffbb37 fix nouveau string sorting order
add 684e67c0d Merge pull request #6125 from apache/nouveau-string-sorting
add 1582cf98c Preserve view purge sequences when compacting
add 593a2eb8c Implement _index_info endpoint
add 0095e07ee use defaultValue in all cases
add 36c7cccdf make delete method consistent with update method
add 280fe2129 Analyzer's are Closeable, so ensure we close
add a24ee4393 Merge pull request #6096 from apache/nouveau-fixes
add d072d9012 Update Erlang to 27.3.4.18
add 83a487b75 Fix attachment revisions when recreating a deleted doc
add 801f61773 Update QuickJS
add 39963bf98 Fix scanner backoff logic
add 0c6a10cfb Escalate to SIGKILL in dev/run teardown
add cedae8ade couch replication auth plugin for IBM IAM with refresh
add 56c237abe Merge pull request #6069 from apache/ibm-iam-auth
add 8a9c2bdcf Improve redirects in replicator
add c42840d6c Match IBM's existing IAM auth plugin more closely.
add 75a77a750 Merge pull request #6143 from apache/ibm-iam-auth-api
add 621c06020 Fix purging non-leaf revisions in map-reduce views
add 8e30f230d Fix db delete 500 badarg
add 4b775e5c2 Make search unvailable error more uniform
add 6917dd8d2 Fix _search_cleanup and _nouveau_cleanup handlers
add 014bbf069 Fix suffix check for replicator and users dbs
add 42de08d2c Fix proxy config default
add 3a7bacce4 configure.ps1: extract clouseau.zip flat
add e0a8e2c3f Use incremental gunzip
add af673227c Use short names for authentication_handlers
add e786ccf78 Improve weatherreport checks
add 522771806 Fix out of order update error in nouveau
add dd14b1ade Fixup nouveau out-of-order purge PR
add fac02cb4c fix: The match/2 rule for filtering out <<>> should filter []
add 18feb9bec fix: Normalize negations inside $allMatch and other operators
add a889ed30a feat: Make mango_selector:match/2 return a list of failures
add 757d52374 chore: Replace `Cmp` argument to `mango_selector:match/3`
with a record
add 1c31a137d feat: Record the paths where selectors fail to match
add 4e1fd7683 feat: "verbose" mode for `mango_selector:match/3`
add 464a7dca7 feat: Return VDU failure reports to the caller
add 0804e96a0 chore: Add some benchmarks for Mango selector matching
add 9bb8e8d08 fix: Mango VDUs should omit the `oldDoc` field from the
matching struct if the doc is newly created
add 857d1cdb3 docs: More detailed explanation of the behaviour of the
oldDocs field in Mango VDUs
add 4648b9cd8 fix: Raise an error if a Mango VDU contains invalid
top-level fields
add f0a583243 feat: Validate JS and Mango `validate_doc_update` on PUT
/db/_design/doc
add 5909f2ca5 fix: Selectors like {"$not":{"$allMatch":S}} (and
"$elemMatch" and "$keyMapMatch") should be considered successful when applied
to values of the wrong type
add 6a4db4dfb fix: Format Mango VDU errors correctly when a doc contains
an empty-string field name
add f1594e30e fix: Do not split literal field names like "a.b" into
separate path elements when reporting VDU failures
add e3b4ac983 fix: Reject Mango VDUs if they contain invalid field names
or invalid operators
add 190b164a4 fix: Avoid updating the context path when matching Mango
selectors in non-verbose mode
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 (48f039a09)
\
N -- N -- N refs/heads/mango-match-failures (190b164a4)
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.
No new revisions were added by this update.
Summary of changes:
.github/ISSUE_TEMPLATE/bug_report.yml | 1 +
build-aux/Jenkinsfile | 31 +-
configure.ps1 | 16 +-
dev/run | 20 +-
.../apache/couchdb/nouveau/core/IndexManager.java | 2 +-
.../apache/couchdb/nouveau/lucene/LuceneIndex.java | 10 +-
.../couchdb/nouveau/resources/AnalyzeResource.java | 5 +-
rel/overlay/etc/default.ini | 41 +-
src/chttpd/src/chttpd.erl | 48 +-
src/chttpd/src/chttpd_auth_request.erl | 151 ++-
src/chttpd/src/chttpd_db.erl | 183 ++++
src/chttpd/src/chttpd_httpd_handlers.erl | 1 +
src/chttpd/test/eunit/chttpd_auth_tests.erl | 2 +-
src/chttpd/test/eunit/chttpd_db_test.erl | 24 +
src/chttpd/test/eunit/chttpd_util_test.erl | 3 +-
src/couch/priv/stats_descriptions.cfg | 4 +
src/couch/src/couch_att.erl | 51 +-
src/couch/src/couch_btree.erl | 16 +-
src/couch/src/couch_db_updater.erl | 48 +-
src/couch/src/couch_debug.erl | 59 +-
src/couch/src/couch_file.erl | 67 +-
src/couch/src/couch_httpd.erl | 72 +-
src/couch/src/couch_httpd_auth.erl | 14 +-
src/couch/src/couch_util.erl | 32 +-
src/couch/test/eunit/couch_btree_tests.erl | 54 +-
.../test/eunit/couch_db_recreate_att_tests.erl | 184 ++++
src/couch/test/eunit/couch_file_tests.erl | 21 +-
src/couch_mrview/src/couch_mrview_compactor.erl | 9 +-
src/couch_mrview/src/couch_mrview_updater.erl | 19 +-
.../test/eunit/couch_mrview_purge_docs_tests.erl | 1025 +++++++++++---------
.../patches/01-spidermonkey-185-mode.patch | 6 +-
src/couch_quickjs/patches/02-test262-errors.patch | 13 +-
src/couch_quickjs/quickjs/Makefile | 6 +-
src/couch_quickjs/quickjs/libregexp.c | 4 +-
src/couch_quickjs/quickjs/quickjs.c | 657 +++++++++----
src/couch_quickjs/quickjs/quickjs.h | 2 +
src/couch_quickjs/quickjs/run-test262.c | 154 ++-
src/couch_quickjs/quickjs/test262.conf | 4 +
src/couch_quickjs/quickjs/test262_errors.txt | 16 +-
.../src/couch_replicator_auth_ibm.erl | 727 ++++++++++++++
.../src/couch_replicator_httpc.erl | 15 +-
src/couch_scanner/src/couch_scanner_server.erl | 2 +-
src/docs/src/api/database/index.rst | 1 +
src/docs/src/api/database/index_info.rst | 457 +++++++++
src/docs/src/api/ddoc/common.rst | 29 +
src/docs/src/api/ddoc/nouveau.rst | 19 +-
src/docs/src/api/ddoc/search.rst | 18 +-
src/docs/src/api/server/authn.rst | 8 +-
src/docs/src/api/server/configuration.rst | 4 +-
src/docs/src/config/http.rst | 14 +-
src/docs/src/config/replicator.rst | 5 +-
src/docs/src/replication/replicator.rst | 24 +
src/dreyfus/src/dreyfus_bookmark.erl | 18 +-
src/dreyfus/src/dreyfus_fabric_info.erl | 178 +++-
src/dreyfus/src/dreyfus_index.erl | 33 +
src/dreyfus/src/dreyfus_rpc.erl | 18 +-
src/dreyfus/test/eunit/dreyfus_bookmark_test.erl | 89 ++
src/fabric/src/fabric.erl | 57 +-
src/fabric/src/fabric_db_delete.erl | 12 +-
src/fabric/src/fabric_group_info.erl | 187 ++--
src/fabric/src/fabric_index_info.erl | 436 +++++++++
src/fabric/src/fabric_rpc.erl | 138 ++-
src/fabric/src/fabric_util.erl | 70 ++
src/fabric/src/fabric_view_changes.erl | 175 +++-
src/fabric/test/eunit/fabric_tests.erl | 24 +-
src/mango/src/mango_selector.erl | 7 +-
src/mem3/include/mem3.hrl | 2 +-
src/mem3/src/mem3_nodes.erl | 68 +-
src/nouveau/src/nouveau_fabric_info.erl | 176 +++-
src/nouveau/src/nouveau_fabric_search.erl | 18 +-
src/nouveau/src/nouveau_index_updater.erl | 125 ++-
src/nouveau/src/nouveau_rpc.erl | 12 +-
src/nouveau/src/nouveau_util.erl | 31 +
src/weatherreport/src/weatherreport_check_disk.erl | 2 +-
.../src/weatherreport_check_memory_use.erl | 2 +-
.../src/weatherreport_check_tcp_queues.erl | 2 +-
src/weatherreport/src/weatherreport_config.erl | 2 +-
src/weatherreport/src/weatherreport_util.erl | 31 +-
test/elixir/lib/couch/dbtest.ex | 7 +
test/elixir/test/auth_cache_test.exs | 2 +-
test/elixir/test/config/nouveau.elixir | 4 +-
test/elixir/test/config/search.elixir | 2 +
test/elixir/test/config/suite.elixir | 12 +
test/elixir/test/config/test-config.ini | 2 +-
test/elixir/test/design_docs_test.exs | 40 +
test/elixir/test/index_info_test.exs | 390 ++++++++
test/elixir/test/jwt_roles_claim_test.exs | 6 +-
test/elixir/test/mango/26_id_collation_test.exs | 78 ++
test/elixir/test/nouveau_test.exs | 109 +++
test/elixir/test/search_test.exs | 63 ++
test/elixir/test/security_validation_test.exs | 2 +-
91 files changed, 5830 insertions(+), 1198 deletions(-)
create mode 100644 src/couch/test/eunit/couch_db_recreate_att_tests.erl
create mode 100644 src/couch_replicator/src/couch_replicator_auth_ibm.erl
create mode 100644 src/docs/src/api/database/index_info.rst
create mode 100644 src/dreyfus/test/eunit/dreyfus_bookmark_test.erl
create mode 100644 src/fabric/src/fabric_index_info.erl
create mode 100644 test/elixir/test/index_info_test.exs
create mode 100644 test/elixir/test/mango/26_id_collation_test.exs