summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Do not return broken processes to the query process pooldo_not_return_bad_os_processes_into_the_poolNick Vatamaniuc2021-01-152-4/+52
| | | | | | | | | | | 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
| | |
| | * Self-describing summary outputRobert Newson2013-11-112-15/+15
| |/
| * Merge pull request #12 from cloudant/22772-broken-snmp-trapsUlises2013-09-041-5/+5
| |\ | | | | | | 22772 broken snmp traps
| | * Fix malformed send_snmptrap arglist.Ulises Cervino Beresi2013-09-041-1/+1
| | | | | | | | | | | | BugzId: 22772
| | * Remove whitespace.Ulises Cervino Beresi2013-09-041-4/+4
| |/
| * Merge pull request #10 from cloudant/refactor-snmp-alertsPerry Stoll2013-07-261-31/+22
| |\ | | | | | | refactor alert sending functions in custodian.
| | * refactor alert sending functionsPerry A. Stoll2013-07-261-31/+22
| |/
| * Merge pull request #9 from cloudant/one-copy-leftRobert Newson2013-07-262-8/+19
| |\ | | | | | | A separate alert and summary value for shards with only 1 remaining copy