This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a change to branch simple-selector-map-reduce-experiment
in repository https://gitbox.apache.org/repos/asf/couchdb.git
omit bd224287f [WIP] Selector-based simple views
add 8829abc9f Git ignore dev Clouseau artifacts
add d757f5d99 Git ignore generated .erl files
add a7b963e65 Remove unused includes and defines
add cf99034d0 Handle another expected error in the scanner
add e21d0e983 mango: add `allow_fallback` for user-specified indexes on
`_find`
add 21d6e7b72 mango: fix validation of `use_index`
add c92c389f2 fixup: extend `allow_fallback` to always exclude `all_docs`
add 438828341 Merge pull request #4792 from
pgj/feat/mango/find/use_index_allow_fallback
add 15731c609 Add type specs to clouseau_rpc
add 6a6b0b2c1 Merge pull request #5309 from
apache/add-specs-to-clouseau_rpc
add 352bf615a Document yet another SpiderMonkey vs SpiderMonkey
incompatibility
add 21e117e08 Add quickjs to the list of welcome features
add 206353c37 expand 403 section with lockout statement
add cc6ae805c Merge pull request #5320 from apache/lockout-docs
add 505c4adcd improve nouveau install instructions
add 4869d6d44 Merge pull request #5323 from apache/nouveau-install
add 3edc60e37 Document junk before function() SM 1.8.5 vs 78+
add 6f41d029b allow client to specify request id
add 39da07894 Merge pull request #5326 from apache/request-id-client-side
add e8060d13b expand x-couch-request-id to allow uuids
add b8ca44679 Merge pull request #5328 from apache/x-couch-request-id-uuid
add 9cb958d9a Allow online js_engine reconfiguration
add bc815359c Do not crash the server on invalid js_engine setting
add f8e6c2553 Prevent inserting illegal ddocs via mango
add f0a004643 Skip validation for ddocs in the scanner
add f5b606621 Skip deleted documents in the scanner
add e581401cd Fix QuickJS scanner function_clause error
add 985103026 nouveau: include lucene backkward-codecs
add 69440f7e0 Merge pull request #5336 from
apache/nouveau-backward-codecs-main
add 316c8bd07 Prevent a broken mem3 app from permanently failing
replication
add ba9b8020a Add more features to QuickJS scanner
add 1a3551aff document search cleanup api
add 7fe38c0ad Fix mango tests using custom db name (#5341)
add 1c00539ac Allow empty doc fields in the scanner
add 23ac46eb6 Improve the QuickJS update function scanning
add f2f6cd72d Fix attachment size calculation
add 37951bfb9 Expose Clouseau version in `/_node` endpoint
add 8773b0051 Document `clouseau` in `_versions` endpoint
add f99db2d3e Bring FreeBSD AMD64 worker back
add a33c82491 feat: disable macos builder using spidermonkey until >91
support lands
add 2cfb0c376 Add support for SpiderMonkey 102, 115 and 128 (#5321)
add 9631e0040 feat(dev): Use `brew --prefix` to find ICU paths on macOS
(#5360)
add 5b685a9ec feat: re-enable SpiderMonkey on macOS CI, bump to 128
add 4147a8c83 Add SpiderMonkey backward compatibility
add c9731e161 fix(dev): Add compiler flags for MSVC (#5366)
add 974467a39 Handle more non-determinism in update, filter and vdus
add 0713b51b8 Try adding retries to our full CI steps
add 57b377492 Add `:leex` and `:yecc` to mix.exs
add eeb16fb4c Fix warnings about quotes
add 34af2300f Prefix unused variables with an underscore
add e35979565 Remove warnings about `test_chttpd_auth_lockout_warning`
add 0e098b08a Fix warnings about operator `===` has no effect
add 780b48811 Fix warnings about comparison between distinct types
add 1b77d2e29 Fix warnings about undefined functions
add a5c099116 Makefile: Add `ELIXIR_ERL_OPTIONS=+fnu`
add 55c5464cf Upgrade Elixir and its dependencies
add 3290d95a9 Mitigate the warnings by adding step `-1`
add 5a06e1a50 Updated year in NOTICE
add 49e04399d chore(docs): Correct default setting of lockout mode
add 208982eb0 Fix typo in auth.rst
add 8adea82b0 chore(dev): Also use authentication for live checks (#5370)
add 3cedbfcb5 chore(docs): Update Sphinx and Sphinx RTD theme (#5376)
add 67a6588e9 Cleanup and improve couch_file
add 9f3d8cabd chore(ci): Use Bookworm for "Build Release Tarball" stage
(#5378)
add ed16e2e94 docs/replication: fix typo: fail <- fall
add d3eb27306 introduce acc record
add 8792316a7 Merge pull request #5385 from apache/fabric-update-acc-record
add d4d3b81b0 chore(dev): Don't wipe documentation source files on
`distclean` (#5387)
add 1ce7a0447 Add retries to the PR CI runs as well
add f1f45aa25 chore(dev): Auto-delete branch upon PR merge
add 6e74d0fb0 Remove pread_limit config from couch_file
add 3d7a01937 Elixir: Fix negative steps
add 5ed0654ab Use fdatasync for commits
add 2789a1568 clarify RHEL9 caveats
add 97c8bdc1f Remove idle check timeout
add 37840c018 Fix contributing and api/database/changes minor typos
documentation (#5404)
add 346855c9f Exclude Power CI runner
add 121ac7cb1 POWER CI worker is back
add faa4fc803 Extract the response of `_versions` endpoint
add 06c88fbe8 fix(js): re-instate `deepFreeze()` for all object freezing
duties
add 3d3f4f25a Remove multi_workers option from couch_work_queue (#5414)
add 9185e1ffd Ensure we always map the documents in order map mrview
updater
add 378f6048b Add a version check to clouseau connected() function
add d459256bb Kill all couchjs processes right after updating the engine
setting
add 0747affb5 nouveau: upgrade Lucene to 9.12.1
add 05841cd2a Merge pull request #5421 from apache/nouveau-lucene-9.12.1
add e9b316729 Improve scanner log reporting
add 1bf03897e QuickJS scanner improvements
add dce6769ed Document another spidermonkey vs spidermonkey discrepancy
add 9d36a7855 extract functions
add 0f60da6f7 Add simple+pbkdf2 scheme
add 7f7574a46 add docs
add af27eaf3a Merge pull request #5429 from apache/simplepluspbkdf2
add 1b72571aa Fix wrong link in example within CONTRIBUTING.md
add b638a3453 document nouveau type for mango index
add 66894c1f0 Merge pull request #5433 from apache/mango-nouveau-doc
add ab2e5c4cd Improve default chttpd server options
add e137b72a5 Restore the ability to return error object from maps
add c1a539b9c Implement parallel preads
add f1799d6d0 Fix atts_since functionality for doc gets
add 8a44187ee [nouveau] upgrade dropwizard to 4.0.12
add 86fec4e92 Merge pull request #5439 from
apache/nouveau-dropwizard-4.0.12
add fba029fe1 Fix purge_infos when exceeding purged_infos_limit
add 198207a64 Fix couch_cfile on Windows
add 11f831b8c Document consts leaking from nested scopes SM 1.8.5 vs
91/QuickJS/V8
add 9ce8e5291 Fix flaky cfile closing test
add 23b1a18af Document the parseInt Spidermonkey 1.8.5 discrepancy
add d37923884 fix arithmetic mean in _prometheus
add 4e1f9943a Merge pull request #5447 from apache/mean-ol-prometheus
add 6202aa4b5 Document callable regex in Spidermonkey 1.8.5
add 07cf90120 Optimise config to use persistent terms
add b2ff65a74 Add Windows Jenkins pipeline (#4371)
add 6df21c57f BigInt support for QuickJS
add a2ba5e2cf Make sure terminate/2 is called in config
add a1d61ed39 Use local pids for cfile
add 1a88c2a76 Fix compatibility clause for attachments
add d9e5e3919 Make a note of the Nouveau docker image, and include a
sample compose.
add 5ded88c03 lint
add 8ba43b7ae nouveau: base64 only takes binaries
add b106d4724 Merge pull request #5463 from apache/nouveau-b64url
add 5b58f8ba6 Showing sponsors (#5430)
add 6e25a278f Bump all Erlang patch versions
add 9e4a87c68 Bump deps before release
add d8a7654fc Merge pull request #5468 from apache/bump-deps-for-3.4.3
add 259396f63 nouveau: retry if connection closes
add e9dfa7264 nouveau: add a metric for connection_closed errors
add 2f1ba74e0 Merge pull request #5471 from
apache/nouveau-connection-closed-counter
add 100ca2ab3 dev(CI): Temporary exclude Nouveau tests on Windows (#5472)
add dc75ae7a8 Basic rework
add d0aedc0b0 Update index type to include nouveau
add f6889ae11 Make linter happy
add 92622557c Document mango+nouveau
add 0c574afe9 Fix up typos and linting
add f090064dc Don't call the syntax mango
add 6c0b0d2a9 An editing passing, and making use of h3
add 637d7efb4 Rework the index documentation, bring more of it into the
prose
add 8e6268d8d Fix syntax
add 9bf304bbd Do an editing pass
add d96e1098c Fix lint
add 42618dfe2 Update src/docs/src/ddocs/mango.rst
add f26e5f7b3 Update src/docs/src/ddocs/mango.rst
add 23b37f601 Remove the mention of _foo fields.
add ce216a2c1 Some edits from @janl
add 0fc466bdb Fix docs warnings
add 5fd85e9ff Actually fix warnings
add 7b2b4e0bb feat(doc): 3.5.0 release notes
add 15efcc485 Update src/docs/src/whatsnew/3.5.rst
add 5c08b39a9 fix typos, formatting, add closing
add 6f42f496f Clean up `meck` functions in `fabric`
add 101380093 They were inadvertently disabled
add fb7d5f908 Update QuickJS
add 17d9daba4 Try to enable discussions again
add 3664cb0f3 All 3.4.2 to 3.4.3 commits on 3.4.x
add c4706cc78 Add "erlang" to the set of allowed languages in ken, if the
native query server is enabled
add dbd342485 Enable Clouseau for macOS
add ad13d51f7 Allow admin to configure tls client certificates for nouveau
requests
add 05e07a5d6 Merge pull request #5489 from apache/nouveau-secure-2
add b6c29a0e0 Enable Clouseau for FreeBSD
add 394f6fd10 Implement top_N/bottom_N built-in reducers
add 8549221e6 _first/_last reducers
add fef207177 Update QuickJS: dtoa, default bigint, string ropes
add cd769a02c Fix missing documentation section title for _top_N reducer
add 5f2aee142 Couch scanner plugin: conflict finder (#5466)
add 229f85f76 Bring in latest QuickJS fixes
add 7d1891497 Update Fauxton to latest v1.3.3
add 3beeaf09c Selector-based simple views
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 (bd224287f)
\
N -- N -- N refs/heads/simple-selector-map-reduce-experiment
(3beeaf09c)
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:
.asf.yaml | 3 +
.gitignore | 2 +
CONTRIBUTING.md | 4 +-
LICENSE | 21 +-
Makefile | 13 +-
Makefile.win | 13 +-
NOTICE | 2 +-
README.rst | 44 +-
build-aux/Jenkinsfile.full | 196 +-
build-aux/Jenkinsfile.pr | 79 +-
dev/run | 13 +-
mix.exs | 45 +-
nouveau/build.gradle | 5 +-
rebar.config.script | 8 +-
rel/overlay/etc/default.ini | 49 +-
share/server/dispatch-quickjs.js | 4 -
share/server/loop.js | 16 +-
share/server/util.js | 62 +-
share/server/views.js | 2 +-
src/chttpd/src/chttpd.erl | 37 +-
src/chttpd/src/chttpd_db.erl | 22 +-
src/chttpd/src/chttpd_misc.erl | 13 +-
src/chttpd/src/chttpd_node.erl | 76 +-
src/chttpd/src/chttpd_sup.erl | 12 +-
.../test/eunit/chttpd_db_attachment_size_tests.erl | 337 +-
src/chttpd/test/eunit/chttpd_db_doc_get_tests.erl | 613 +
src/chttpd/test/eunit/chttpd_misc_test.erl | 61 +-
src/chttpd/test/eunit/chttpd_purge_tests.erl | 36 +-
src/chttpd/test/eunit/chttpd_util_test.erl | 2 -
src/config/src/config.erl | 192 +-
src/config/test/config_tests.erl | 162 +-
src/couch/.gitignore | 1 +
src/couch/include/couch_js_functions.hrl | 2 +-
src/couch/priv/couch_cfile/couch_cfile.c | 721 ++
src/couch/priv/couch_js/{86 => 102}/help.h | 0
src/couch/priv/couch_js/{86 => 102}/main.cpp | 18 +-
src/couch/priv/couch_js/{86 => 102}/util.cpp | 9 +
src/couch/priv/couch_js/{86 => 102}/util.h | 0
src/couch/rebar.config.script | 78 +-
src/couch/src/couch_bt_engine.erl | 14 +-
src/couch/src/couch_cfile.erl | 290 +
src/couch/src/couch_db.erl | 5 +
src/couch/src/couch_db_engine.erl | 14 -
src/couch/src/couch_db_split.erl | 3 +-
src/couch/src/couch_db_updater.erl | 96 +-
src/couch/src/couch_file.erl | 466 +-
src/couch/src/couch_httpd_auth.erl | 75 +-
src/couch/src/couch_proc_manager.erl | 30 +-
src/couch/src/couch_query_servers.erl | 66 +-
src/couch/src/couch_server.erl | 8 +-
src/couch/src/couch_work_queue.erl | 46 +-
src/couch/test/eunit/couch_cfile_prop_tests.erl | 156 +
src/couch/test/eunit/couch_cfile_tests.erl | 536 +
src/couch/test/eunit/couch_file_tests.erl | 300 +-
src/couch/test/eunit/couch_js_tests.erl | 89 +-
src/couch/test/eunit/couch_work_queue_tests.erl | 135 +-
src/couch_index/src/couch_index_updater.erl | 5 +-
src/couch_mrview/src/couch_mrview.erl | 22 +
src/couch_mrview/src/couch_mrview_updater.erl | 2 +-
src/couch_prometheus/src/couch_prometheus_util.erl | 2 +-
.../patches/01-spidermonkey-185-mode.patch | 6 +-
src/couch_quickjs/quickjs/Changelog | 8 +
src/couch_quickjs/quickjs/Makefile | 128 +-
src/couch_quickjs/quickjs/cutils.c | 2 +
src/couch_quickjs/quickjs/cutils.h | 20 +
src/couch_quickjs/quickjs/dtoa.c | 1626 +++
src/couch_quickjs/quickjs/dtoa.h | 83 +
src/couch_quickjs/quickjs/libbf.c | 8475 --------------
src/couch_quickjs/quickjs/libbf.h | 535 -
src/couch_quickjs/quickjs/libregexp.c | 40 +-
src/couch_quickjs/quickjs/libregexp.h | 5 +
src/couch_quickjs/quickjs/libunicode-table.h | 3411 +++---
src/couch_quickjs/quickjs/libunicode.c | 402 +-
src/couch_quickjs/quickjs/qjsc.c | 30 +-
src/couch_quickjs/quickjs/quickjs-atom.h | 19 +-
src/couch_quickjs/quickjs/quickjs-libc.c | 27 +-
src/couch_quickjs/quickjs/quickjs-opcode.h | 8 +-
src/couch_quickjs/quickjs/quickjs.c | 11367 ++++++++-----------
src/couch_quickjs/quickjs/quickjs.h | 80 +-
src/couch_quickjs/quickjs/test262.conf | 118 +-
src/couch_quickjs/quickjs/test262_errors.txt | 51 +-
src/couch_quickjs/quickjs/tests/test262.patch | 17 +-
src/couch_quickjs/rebar.config.script | 2 +-
.../src/couch_quickjs_scanner_plugin.erl | 313 +-
.../test/couch_quickjs_scanner_plugin_tests.erl | 269 +-
src/couch_quickjs/test/couch_quickjs_tests.erl | 106 +-
src/couch_quickjs/update_and_apply_patches.sh | 1 -
.../src/couch_replicator_doc_processor.erl | 12 +-
.../src/couch_replicator_parse.erl | 8 +-
.../couch_replicator_scheduler_docs_tests.erl | 43 +
src/couch_scanner/README.md | 2 +-
src/couch_scanner/src/couch_scanner_plugin.erl | 29 +-
.../src/couch_scanner_plugin_conflict_finder.erl | 212 +
src/couch_scanner/src/couch_scanner_util.erl | 9 +-
.../test/eunit/couch_scanner_test.erl | 68 +-
src/docs/requirements.txt | 4 +-
src/docs/src/api/basics.rst | 17 +-
src/docs/src/api/database/changes.rst | 4 +-
src/docs/src/api/database/cleanup.rst | 103 +
src/docs/src/api/database/find.rst | 788 +-
src/docs/src/api/database/index.rst | 1 +
src/docs/src/api/server/common.rst | 37 +-
src/docs/src/api/server/configuration.rst | 3 +-
src/docs/src/best-practices/jsdevel.rst | 166 +-
src/docs/src/conf.py | 1 -
src/docs/src/config/auth.rst | 4 +-
src/docs/src/ddocs/ddocs.rst | 31 +
src/docs/src/ddocs/index.rst | 3 +-
src/docs/src/ddocs/mango.rst | 894 ++
src/docs/src/ddocs/nouveau.rst | 2 +
src/docs/src/ddocs/search.rst | 2 +
src/docs/src/install/nouveau.rst | 118 +-
src/docs/src/install/unix.rst | 7 +-
src/docs/src/intro/security.rst | 58 +
src/docs/src/maintenance/performance.rst | 4 +-
src/docs/src/replication/protocol.rst | 2 +-
src/docs/src/whatsnew/3.4.rst | 105 +-
src/docs/src/whatsnew/3.5.rst | 171 +
src/docs/src/whatsnew/index.rst | 1 +
src/dreyfus/src/clouseau_rpc.erl | 212 +-
src/dreyfus/src/dreyfus_fabric.erl | 1 -
src/dreyfus/src/dreyfus_fabric_group1.erl | 1 -
src/dreyfus/src/dreyfus_fabric_group2.erl | 1 -
src/dreyfus/src/dreyfus_fabric_info.erl | 2 -
src/dreyfus/src/dreyfus_fabric_search.erl | 1 -
src/dreyfus/src/dreyfus_index_manager.erl | 1 -
.../test/eunit/dreyfus_blacklist_await_test.erl | 1 -
.../test/eunit/dreyfus_blacklist_request_test.erl | 3 -
src/dreyfus/test/eunit/dreyfus_config_test.erl | 3 -
src/dreyfus/test/eunit/dreyfus_test_util.erl | 2 -
src/fabric/src/fabric.erl | 38 +-
src/fabric/src/fabric_db_create.erl | 4 +-
src/fabric/src/fabric_doc_open.erl | 711 +-
src/fabric/src/fabric_doc_open_revs.erl | 6 +-
src/fabric/src/fabric_doc_update.erl | 282 +-
src/fabric/src/fabric_ring.erl | 3 +-
src/fabric/src/fabric_rpc.erl | 2 +-
src/fabric/src/fabric_streams.erl | 10 +-
src/fabric/src/fabric_view_changes.erl | 3 +-
src/fabric/test/eunit/fabric_db_create_tests.erl | 13 +-
src/fabric/test/eunit/fabric_db_info_tests.erl | 1 -
src/fabric/test/eunit/fabric_db_uuids_tests.erl | 1 -
src/fabric/test/eunit/fabric_tests.erl | 1 +
src/ioq/src/ioq.erl | 9 +-
src/ken/src/ken_server.erl | 7 +-
src/mango/src/mango_cursor.erl | 101 +-
src/mango/src/mango_error.erl | 28 +
src/mango/src/mango_httpd.erl | 1 +
src/mango/src/mango_opts.erl | 8 +-
src/mango/test/01-index-crud-test.py | 6 +-
src/mango/test/02-basic-find-test.py | 1 +
src/mango/test/05-index-selection-test.py | 73 +
src/mango/test/12-use-correct-index-test.py | 2 +-
src/mango/test/13-stable-update-test.py | 2 +-
src/mango/test/14-json-pagination-test.py | 2 +-
src/mango/test/16-index-selectors-test.py | 4 +-
src/mango/test/17-multi-type-value-test.py | 4 +-
src/mango/test/18-json-sort.py | 2 +-
src/mango/test/19-find-conflicts.py | 2 +-
src/mango/test/20-no-timeout-test.py | 2 +-
src/mango/test/24-text-paginated-test.py | 2 +-
src/mango/test/25-beginswith-test.py | 2 +-
src/mango/test/mango.py | 52 +-
src/nouveau/priv/stats_descriptions.cfg | 5 +
src/nouveau/src/nouveau_api.erl | 55 +-
src/nouveau/src/nouveau_bookmark.erl | 4 +-
src/smoosh/src/smoosh_utils.erl | 2 +-
test/elixir/lib/step/start.ex | 4 +-
test/elixir/lib/step/user.ex | 4 +-
test/elixir/test/attachments_multipart_test.exs | 11 +-
test/elixir/test/attachments_test.exs | 2 +-
test/elixir/test/auth_lockout_test.exs | 39 +-
test/elixir/test/basics_test.exs | 7 +
test/elixir/test/compact_test.exs | 40 +-
test/elixir/test/config/suite.elixir | 6 +-
test/elixir/test/design_docs_test.exs | 2 +-
test/elixir/test/nouveau_test.exs | 8 +-
test/elixir/test/reduce_builtin_test.exs | 138 +-
test/elixir/test/replication_test.exs | 2 +-
test/elixir/test/uuids_test.exs | 2 +-
test/elixir/test/view_pagination_test.exs | 2 +-
version.mk | 2 +-
182 files changed, 17258 insertions(+), 20081 deletions(-)
create mode 100644 src/chttpd/test/eunit/chttpd_db_doc_get_tests.erl
create mode 100644 src/couch/priv/couch_cfile/couch_cfile.c
copy src/couch/priv/couch_js/{86 => 102}/help.h (100%)
copy src/couch/priv/couch_js/{86 => 102}/main.cpp (97%)
copy src/couch/priv/couch_js/{86 => 102}/util.cpp (96%)
copy src/couch/priv/couch_js/{86 => 102}/util.h (100%)
create mode 100644 src/couch/src/couch_cfile.erl
create mode 100644 src/couch/test/eunit/couch_cfile_prop_tests.erl
create mode 100644 src/couch/test/eunit/couch_cfile_tests.erl
create mode 100644 src/couch_quickjs/quickjs/dtoa.c
create mode 100644 src/couch_quickjs/quickjs/dtoa.h
delete mode 100644 src/couch_quickjs/quickjs/libbf.c
delete mode 100644 src/couch_quickjs/quickjs/libbf.h
create mode 100644
src/couch_scanner/src/couch_scanner_plugin_conflict_finder.erl
create mode 100644 src/docs/src/api/database/cleanup.rst
create mode 100644 src/docs/src/ddocs/mango.rst
create mode 100644 src/docs/src/whatsnew/3.5.rst