This is an automated email from the ASF dual-hosted git repository. jan pushed a change to branch rebase/access-2023 in repository https://gitbox.apache.org/repos/asf/couchdb.git
omit b1e18993d fix remaining access tests omit 5ec411a75 re-enable fixed test omit 21061b826 force new CI run omit d96200324 chore: lint omit c839d2684 fix outstanding test cases omit 7632e1992 debugging on three sites omit 8503b986e refactor: simplify omit 1d629f83a refactor: simplify omit d80fd5dcc chore: remove debugging comment omit 2bfbfc088 Revert "chore: remove debug code" omit afa35394e chore: remove debug code omit d9d851e56 chore: remove debug comments omit e36325407 chore: remove debug comments omit 9ca561169 chore: remove debugging comments omit 5ef9abdcc chore: undo unwanted ws changes omit 927898ec4 feat: add _users role for jwt auth omit 90a383b48 chore: remove debug comments omit ce2d2bdd8 refactor: resolve layer boundary violation omit 3acecbb6b chore: undo whitespace omit 68b922a12 chore: remove debug log omit da93f121a chore: revert debug code omit cadf77293 fix: only process deleted docs in _access views omit d4cfbe5a8 refactor: simplify detecting updated ddocs omit de9ad606a chore: cleanup omit 6832d5532 fix: perf insert optimisation bypass omit f1539968e chore: clean up after renaming commit omit 82bbffac6 add perf regression test omit a498f92f6 wip omit 6f12076a0 fix: add function signature change to new open_docs_rev/3 omit 9f5cb704d fix: restore previous function signature omit d6e6fea3f chore: append _users role instead of prepending it omit 5dcca4005 fix: simplify omit 8cba8fb75 fix(access) elixir tests again omit 3bd435262 chore: remove comments and stale todo entries omit aa4099aa4 chore(access): erlfmt omit 79f0aa3c1 fix(access): elixir tests omit 3dc8a08fd test(access): test disable access config omit c83327a0f fix(access): opt-out switch omit 2a9d35f67 doc(access): add todos omit 3b4e841a5 chore(access): style notes omit 5a92dabf5 fix(access): use minimal info from prev rev omit 1bcd91c85 chore(access): remove old comment omit 6ea106b2d doc(access): leave todo for missing implementation detail omit 3c858f10d feat(access): add global off switch omit 48a463e25 fix: make tests pass again omit 81169c514 feat(access): additional test fixes omit afdcf1397 feat(access): add access handling to fabric omit 7d5228811 feat(access): add access handling to ddoc cache omit bb2a6aea8 feat(access): add access handling to replicator omit 4dc25bcc4 feat(access): add access tests omit a2035a4db feat(access): add mrview machinery omit 711ebc5f1 feat(access): adjust existing tests omit b1c89ec2d feat(access): add util functions omit b8951db73 feat(access): handle access in couch_db[_updater] omit c9549a091 feat(access): expand couch_btree / bt_engine to handle access omit 28e27bd36 feat(access): add access query server omit d96e1e7ff feat(access): add new _users role for all authenticated users omit 425ec4f64 feat(access): handle new records in couch_doc omit b9c34807d feat(access): add access to couch_db internal records omit a975b453f feat(access): add access handling to chttpd add 7313c4aa7 dreyfus: amend the fix for faceting on zero values add aef083c59 Merge pull request #4707 from pgj/fix/dreyfus-faceting-on-zero-part-deux add 1f2994e7c ci(freebsd): re-enable full platform ci on FreeBSD add 64af302f6 Handle invalid field errors in Mango add 6b9e5bfee feat(build): fail build if xref complains add f9d4dccfa Introduce optional countermeasures as we run out of disk space add 14a8d5c1c Merge pull request #4681 from apache/out-of-disk-handler add a1ca6d75d Upgrade sphinx-rtd-theme add 5f26ab1c1 docs: fix markdown for Mango configuration options add 996e257ee docs: correct the order of fields in the sample _explain output add 64faef7a5 Fix pending count for the reverse changes feed add 259e64173 support clustered purge in nouveau add 954b57356 Merge pull request #4717 from apache/nouveau-purge add 42a62b235 Update README.md add 55589b7d3 Merge pull request #4721 from apache/rnewson-patch-1 add 11302ddb4 feat(access): add access handling to chttpd add 3d225ccb4 feat(access): add access to couch_db internal records add d182a9c2e feat(access): handle new records in couch_doc add 973c407f6 feat(access): add new _users role for all authenticated users add 3231b08a2 feat(access): add access query server add 10525e9e0 feat(access): expand couch_btree / bt_engine to handle access add 5cb4b099a feat(access): handle access in couch_db[_updater] add a76a1a91b feat(access): add util functions add 033683b4b feat(access): adjust existing tests add 698f268ac feat(access): add mrview machinery add 8a0d9011b feat(access): add access tests add eb2f0e449 feat(access): add access handling to replicator add 26e6c7822 feat(access): add access handling to ddoc cache add db803af95 feat(access): add access handling to fabric add 12abedf99 feat(access): additional test fixes add 0109b041a fix: make tests pass again add 6cc46f4eb feat(access): add global off switch add c4f51b72b doc(access): leave todo for missing implementation detail add 66bbefa7d chore(access): remove old comment add 6fd27aa3c fix(access): use minimal info from prev rev add c1052963e chore(access): style notes add 1bb8f00da doc(access): add todos add 0a43ca9a5 fix(access): opt-out switch add afc4aaac8 test(access): test disable access config add 88e7a9075 fix(access): elixir tests add 99d194507 chore(access): erlfmt add 70e393444 chore: remove comments and stale todo entries add bd643dec7 fix(access) elixir tests again add 0005e36cc fix: simplify add b9b057c26 chore: append _users role instead of prepending it add fdfa229b0 fix: restore previous function signature add f7747d719 fix: add function signature change to new open_docs_rev/3 add f258df429 wip add a97c7d77b add perf regression test add ad41b2405 chore: clean up after renaming commit add 82eb8605f fix: perf insert optimisation bypass add 0f6e2f7cf chore: cleanup add 66fdc2a39 refactor: simplify detecting updated ddocs add 16680e7d6 fix: only process deleted docs in _access views add e96415abe chore: revert debug code add 7f46c70c6 chore: remove debug log add 2b53bce99 chore: undo whitespace add 441dc2883 refactor: resolve layer boundary violation add 8ec3a0e71 chore: remove debug comments add f8586a8d4 feat: add _users role for jwt auth add f6e409f39 chore: undo unwanted ws changes add 5bc6d1b24 chore: remove debugging comments add 88dd94aca chore: remove debug comments add 3db3dde0d chore: remove debug comments add c3cdc60fe chore: remove debug code add fa31ba974 Revert "chore: remove debug code" add c76b511b5 chore: remove debugging comment add f3a0110d8 refactor: simplify add 42638d6fd refactor: simplify add 6cec6b613 debugging on three sites add b6b61a008 fix outstanding test cases add 92dc3d180 chore: lint add fae4a030f force new CI run add d0eecffa8 re-enable fixed test add 6d1d1fa0c fix remaining access tests add 072d467e7 chore: fix compiler warnings 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 (b1e18993d) \ N -- N -- N refs/heads/rebase/access-2023 (072d467e7) 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: Makefile | 12 +- build-aux/Jenkinsfile.full | 17 +- build-aux/xref-helper.sh | 24 ++ nouveau/README.md | 2 +- .../apache/couchdb/nouveau/NouveauApplication.java | 3 - .../couchdb/nouveau/api/DocumentDeleteRequest.java | 12 +- .../org/apache/couchdb/nouveau/api/IndexInfo.java | 28 ++- ...entDeleteRequest.java => IndexInfoRequest.java} | 32 ++- .../org/apache/couchdb/nouveau/core/Index.java | 59 ++++- .../nouveau/core/UpdatesOutOfOrderException.java | 12 +- .../core/UpdatesOutOfOrderExceptionMapper.java | 31 --- .../couchdb/nouveau/lucene9/Lucene9Index.java | 10 +- .../couchdb/nouveau/resources/IndexResource.java | 26 ++- .../couchdb/nouveau/lucene9/Lucene9IndexTest.java | 27 ++- rel/overlay/etc/default.ini | 6 + rel/overlay/etc/vm.args | 12 + rel/reltool.config | 2 + src/chttpd/src/chttpd.erl | 2 + src/chttpd/test/eunit/chttpd_changes_test.erl | 12 +- src/couch/priv/stats_descriptions.cfg | 4 + src/couch/src/couch.app.src | 1 + src/couch/src/couch_db.erl | 51 +---- src/couch/src/couch_disk_monitor.erl | 241 +++++++++++++++++++++ src/couch/src/couch_secondary_sup.erl | 3 +- src/couch_mrview/src/couch_mrview.erl | 8 +- src/couch_mrview/src/couch_mrview_util.erl | 17 +- src/docs/requirements.txt | 2 +- src/docs/src/api/database/find.rst | 44 ++-- src/docs/src/config/disk-monitor.rst | 76 +++++++ src/docs/src/config/index.rst | 1 + src/docs/src/config/query-servers.rst | 9 +- src/dreyfus/src/dreyfus_httpd.erl | 9 +- src/fabric/src/fabric_rpc.erl | 19 +- src/fabric/src/fabric_streams.erl | 4 +- src/fabric/src/fabric_view.erl | 17 +- src/fabric/src/fabric_view_map.erl | 6 + src/fabric/src/fabric_view_reduce.erl | 4 + src/ken/src/ken_server.erl | 9 +- src/mango/src/mango_cursor_view.erl | 7 +- src/mango/src/mango_error.erl | 6 + src/mango/src/mango_httpd.erl | 5 + src/mango/test/02-basic-find-test.py | 1 + src/nouveau/src/nouveau_api.erl | 38 +++- src/nouveau/src/nouveau_epi.erl | 5 +- src/nouveau/src/nouveau_index_updater.erl | 122 ++++++++--- .../src/nouveau_plugin_couch_db.erl} | 6 +- src/nouveau/src/nouveau_util.erl | 101 +++++++++ test/elixir/test/config/nouveau.elixir | 5 +- test/elixir/test/config/suite.elixir | 5 + test/elixir/test/disk_monitor.exs | 55 +++++ test/elixir/test/nouveau_test.exs | 176 +++++++++++++++ test/fixtures/allowed-xref.txt | 2 + 52 files changed, 1165 insertions(+), 223 deletions(-) create mode 100755 build-aux/xref-helper.sh copy nouveau/src/main/java/org/apache/couchdb/nouveau/api/{DocumentDeleteRequest.java => IndexInfoRequest.java} (55%) delete mode 100644 nouveau/src/main/java/org/apache/couchdb/nouveau/core/UpdatesOutOfOrderExceptionMapper.java create mode 100644 src/couch/src/couch_disk_monitor.erl create mode 100644 src/docs/src/config/disk-monitor.rst copy src/{dreyfus/src/dreyfus_plugin_couch_db.erl => nouveau/src/nouveau_plugin_couch_db.erl} (82%) create mode 100644 test/elixir/test/disk_monitor.exs create mode 100644 test/fixtures/allowed-xref.txt