This is an automated email from the ASF dual-hosted git repository. rnewson pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 14a8d5c1c17b37b3c858ac2ddcd92293b3cf38a3 Merge: 6b9e5bfee f9d4dccfa Author: Robert Newson <rnew...@apache.org> AuthorDate: Mon Jul 31 22:50:24 2023 +0000 Merge pull request #4681 from apache/out-of-disk-handler Introduce optional countermeasures as we run out of disk space rel/overlay/etc/default.ini | 6 + rel/overlay/etc/vm.args | 12 ++ rel/reltool.config | 2 + src/chttpd/src/chttpd.erl | 2 + src/couch/priv/stats_descriptions.cfg | 4 + src/couch/src/couch.app.src | 1 + src/couch/src/couch_db.erl | 9 ++ 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/src/config/disk-monitor.rst | 76 +++++++++ src/docs/src/config/index.rst | 1 + src/fabric/src/fabric_rpc.erl | 8 +- src/fabric/src/fabric_streams.erl | 4 +- src/fabric/src/fabric_view.erl | 9 +- src/fabric/src/fabric_view_map.erl | 6 + src/fabric/src/fabric_view_reduce.erl | 4 + src/ken/src/ken_server.erl | 9 +- test/elixir/test/config/suite.elixir | 5 + test/elixir/test/disk_monitor.exs | 55 +++++++ 21 files changed, 469 insertions(+), 13 deletions(-)