summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Allow setting SM_VSN in environment, and use that in Dockerfile3.x-devcontainerAdam Kocoloski2021-01-182-3/+5
| | | | | | This enables the container environment to automatically default to SpiderMonkey 60, which is the version we want to use for the Debian Buster OS on which the container image is based.
* Make a note in README-DEV about the existence of devcontainerAdam Kocoloski2021-01-181-0/+13
| | | | Also a drive-by fix to note that Elixir is now required.
* Add the simplest possible erlang_ls.configAdam Kocoloski2021-01-181-0/+2
| | | | | | It'd be nice if there was a way for Erlang LS to merge config files, as some of the settings are likely user-specific and others (like this one) we want to provide as defaults out of the box.
* Parameterize the elixir versionAdam2021-01-172-5/+16
|
* Add commentary to explain dependencies to new usersAdam2021-01-161-1/+4
|
* Add dependencies for Fauxton and documentationAdam2021-01-161-2/+14
|
* Minimal devcontainer.json configurationAdam2021-01-162-0/+15
| | | | | | | | This container is sufficient to build CouchDB 3.x from source using ./configure --dev --spidermonkey-version 60 and run the full test suite to completion.
* Do not return broken processes to the query process poolNick Vatamaniuc2021-01-152-4/+69
| | | | | | | | | | | Previously, if an error was thrown in a `with_ddoc_proc/2` callback, the process was still returned to the process pool in the `after` clause. However, in some cases, for example when processing a _list response, the process might end up stuck in a bad state state, such that it could not be re-used anymore. In such a case, a subsequent user of that couch_js process would end up throwing an error and crashing. Fixes #2962
* Allow gzipped requests to _session (#3322)Bessenyei Balázs Donát2021-01-153-3/+14
| | | | | All endpoints but _session support gzip encoding and there's no practical reason for that. This commit enables gzip decoding on compressed requests to _session.
* Add to credo ignores and gitignore new file_system dependencyAlessio Biancalana2021-01-042-0/+2
|
* Upgrade Credo to 1.5.4Alessio Biancalana2021-01-042-3/+4
|
* Goodbye 2020. Hello 2021. YES. (#3317)Joan Touzet2021-01-021-1/+1
|
* treat 408 as a retryable error condition (#3303) (#3307)Robert Newson2020-12-211-18/+18
|
* Support pluggable custodian monitorJay Doane2020-12-156-45/+148
| | | | | Enable build time configurable monitor for custodian and remove custom sensu events.
* 2906 couchjs sm version (#2911) (#3297)Joan Touzet2020-12-144-4/+4
| | | | | | | | | | | | Closes #2906 * Added a suffix to the first line of couchjs with the (static) version number compiled * Update rebar.config.script * In couchjs -h replaced the link to jira with a link to github Co-authored-by: simon.klassen <simon.klassen> Co-authored-by: Jan Lehnardt <jan@apache.org Co-authored-by: Simon Klassen <6997477+sklassen@users.noreply.github.com>
* Merge pull request #3296 from apache/custodian-mergeJay Doane2020-12-1411-0/+858
|\ | | | | Merge custodian
| * Build custodian and include in releasescustodian-mergeJay Doane2020-12-132-0/+3
| |
| * Update license and READMEJay Doane2020-12-139-9/+89
| | | | | | | | Remove Cloudant references
| * Merge remote-tracking branch 'custodian/master' into custodian-mergeJay Doane2020-12-139-0/+775
| |\ |/ /
| * Merge pull request #26 from cloudant/more-detailed-ranges-reportNick Vatamaniuc2019-04-111-7/+118
| |\ | | | | | | Report detailed missing shard ranges
| | * Report detailed missing shard rangesNick Vatamaniuc2019-04-091-7/+118
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we relied on finding how many possible (max) rings could be obtained from the whole range. The current approach is to apply some heuristics to report details across the individual ranges. The algorithm is roughly as follows: * Find out the max number of rings that can be obtained (MaxN) * Assign MaxN to the all those ranges ^ * Add individual ranges for leftover shards. These are alive shards but not part of the MaxN rings. These might form partial rings, and, if extra shards would come alive gain, form full rings. * Report shards which are missing completely and mark those as having a count of 0. These are shard ranges that are in the map but there are no live copies encountered. If any of these were to come back alive, they might complete one or more of the partial rings from the previous step or form new rings.
| * Merge pull request #25 from cloudant/shard-splitNick Vatamaniuc2019-04-031-22/+13
| |\ | | | | | | Add split shard handling
| | * Add split shard handlingNick Vatamaniuc2019-04-031-22/+13
| |/ | | | | | | | | | | | | | | In case of split shards the range based shard count matching doesn't work anymore. Instead, use the new `mem3_util:calculate_max_n/1` function to check the maximum effective N for a given set (livee, safe) of db shards. This commit works only with the shard split branch of CouchDB.
| * Merge pull request #21 from cloudant/3102-fix-config_subscriptioniilyak2019-02-151-11/+66
| |\ | | | | | | Update handle_config_terminate API
| | * Add tests for config listener restartILYA Khlopotov2019-02-151-0/+50
| | |
| | * Update handle_config_terminate APIILYA Khlopotov2019-02-151-11/+16
| |/ | | | | | | COUCHDB-3102
| * Merge pull request #24 from cloudant/COUCHDB-3287-pluggable-storage-enginesPaul J. Davis2018-02-281-5/+6
| |\ | | | | | | Update to use pluggable storage engine APIs
| | * Update to use pluggable storage engine APIsPaul J. Davis2017-02-161-5/+6
| |/ | | | | | | COUCHDB-3287
| * Merge pull request #20 from cloudant/config_listener_fixupiilyak2015-08-261-1/+1
| |\ | | | | | | Fix 'handle_config_terminate/3'
| | * Fix 'handle_config_terminate/3'ILYA Khlopotov2015-08-261-1/+1
| |/
| * Merge pull request #19 from cloudant/45855-dbnextRobert Newson2015-07-164-22/+21
| |\ | | | | | | 45855 dbnext
| | * cloudant -> couchdb for maintenance_mode settingILYA Khlopotov2015-04-021-1/+1
| | | | | | | | | | | | BugzID: 45855
| | * Use updated config_listener behaviourILYA Khlopotov2015-04-021-11/+10
| | | | | | | | | | | | BugzID: 45855
| | * Open docs with ejson_bodyPaul J. Davis2014-08-211-2/+2
| | |
| | * Repace twig with couch_logPaul J. Davis2014-08-173-8/+8
| |/
| * Merge pull request #17 from cloudant/31759-warning-eventsBenjamin Anderson2014-06-231-12/+18
| |\ | | | | | | Use warning level for non-critical cases
| | * Clean up indentation in send_sensu_eventBenjamin Anderson2014-06-171-6/+8
| | |
| | * Use warning level for non-critical casesBenjamin Anderson2014-06-171-7/+11
| |/ | | | | | | | | | | | | | | n=2 or n>N cases are not "critical" - that is, they don't require immediate operator intervention. Custodian should send alerts that reflect the true urgency of the situation in order to reduce alert fatigue. BugzID: 31759
| * Merge pull request #15 from cloudant/28630-remove-bacon-checkBenjamin Anderson2014-02-261-13/+1
| |\ | | | | | | Remove bacon from the list of system databases to check
| | * Remove bacon from the list of system databases to checkBenjamin Anderson2014-02-251-13/+1
| |/ | | | | | | | | | | | | | | | | The bacon db is only installed on multitenant clusters, so continuing to check for its existence on all clusters only leads to a cluttering of alerts. Bacon's performance on MT clusters is monitored by sensu. BugzID: 28630
| * Fix conflict alerts, summary should report just the number of conflicted dbsRobert Newson2013-11-261-2/+4
| |
| * Remove old code_change, set module version to 1Robert Newson2013-11-222-7/+3
| |
| * Use core Vsn number for 0.2.7 upgradeRobert Newson2013-11-221-1/+3
| |
| * Merge pull request #14 from cloudant/25189-safety-and-livenessRobert Newson2013-11-203-77/+122
| |\ | | | | | | Account for true maintenance mode
| | * Start listening for config changes on upgradeRobert Newson2013-11-201-0/+3
| | |
| | * Listen for config changes to maintenance_modeRobert Newson2013-11-201-0/+19
| | |
| | * Send sensu events for everythingRobert Newson2013-11-202-40/+48
| | |
| | * Monitor liveness and safetyRobert Newson2013-11-191-24/+38
| | |
| | * Introduce state recordRobert Newson2013-11-111-16/+19
| | |
| | * Simplify report()Robert Newson2013-11-111-6/+4
| | |