Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Do not return broken processes to the query process pooldo_not_return_bad_os_processes_into_the_pool | Nick Vatamaniuc | 2021-01-15 | 2 | -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át | 2021-01-15 | 3 | -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 dependency | Alessio Biancalana | 2021-01-04 | 2 | -0/+2 |
| | |||||
* | Upgrade Credo to 1.5.4 | Alessio Biancalana | 2021-01-04 | 2 | -3/+4 |
| | |||||
* | Goodbye 2020. Hello 2021. YES. (#3317) | Joan Touzet | 2021-01-02 | 1 | -1/+1 |
| | |||||
* | treat 408 as a retryable error condition (#3303) (#3307) | Robert Newson | 2020-12-21 | 1 | -18/+18 |
| | |||||
* | Support pluggable custodian monitor | Jay Doane | 2020-12-15 | 6 | -45/+148 |
| | | | | | Enable build time configurable monitor for custodian and remove custom sensu events. | ||||
* | 2906 couchjs sm version (#2911) (#3297) | Joan Touzet | 2020-12-14 | 4 | -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-merge | Jay Doane | 2020-12-14 | 11 | -0/+858 |
|\ | | | | | Merge custodian | ||||
| * | Build custodian and include in releasescustodian-merge | Jay Doane | 2020-12-13 | 2 | -0/+3 |
| | | |||||
| * | Update license and README | Jay Doane | 2020-12-13 | 9 | -9/+89 |
| | | | | | | | | Remove Cloudant references | ||||
| * | Merge remote-tracking branch 'custodian/master' into custodian-merge | Jay Doane | 2020-12-13 | 9 | -0/+775 |
| |\ |/ / | |||||
| * | Merge pull request #26 from cloudant/more-detailed-ranges-report | Nick Vatamaniuc | 2019-04-11 | 1 | -7/+118 |
| |\ | | | | | | | Report detailed missing shard ranges | ||||
| | * | Report detailed missing shard ranges | Nick Vatamaniuc | 2019-04-09 | 1 | -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-split | Nick Vatamaniuc | 2019-04-03 | 1 | -22/+13 |
| |\ | | | | | | | Add split shard handling | ||||
| | * | Add split shard handling | Nick Vatamaniuc | 2019-04-03 | 1 | -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_subscription | iilyak | 2019-02-15 | 1 | -11/+66 |
| |\ | | | | | | | Update handle_config_terminate API | ||||
| | * | Add tests for config listener restart | ILYA Khlopotov | 2019-02-15 | 1 | -0/+50 |
| | | | |||||
| | * | Update handle_config_terminate API | ILYA Khlopotov | 2019-02-15 | 1 | -11/+16 |
| |/ | | | | | | | COUCHDB-3102 | ||||
| * | Merge pull request #24 from cloudant/COUCHDB-3287-pluggable-storage-engines | Paul J. Davis | 2018-02-28 | 1 | -5/+6 |
| |\ | | | | | | | Update to use pluggable storage engine APIs | ||||
| | * | Update to use pluggable storage engine APIs | Paul J. Davis | 2017-02-16 | 1 | -5/+6 |
| |/ | | | | | | | COUCHDB-3287 | ||||
| * | Merge pull request #20 from cloudant/config_listener_fixup | iilyak | 2015-08-26 | 1 | -1/+1 |
| |\ | | | | | | | Fix 'handle_config_terminate/3' | ||||
| | * | Fix 'handle_config_terminate/3' | ILYA Khlopotov | 2015-08-26 | 1 | -1/+1 |
| |/ | |||||
| * | Merge pull request #19 from cloudant/45855-dbnext | Robert Newson | 2015-07-16 | 4 | -22/+21 |
| |\ | | | | | | | 45855 dbnext | ||||
| | * | cloudant -> couchdb for maintenance_mode setting | ILYA Khlopotov | 2015-04-02 | 1 | -1/+1 |
| | | | | | | | | | | | | BugzID: 45855 | ||||
| | * | Use updated config_listener behaviour | ILYA Khlopotov | 2015-04-02 | 1 | -11/+10 |
| | | | | | | | | | | | | BugzID: 45855 | ||||
| | * | Open docs with ejson_body | Paul J. Davis | 2014-08-21 | 1 | -2/+2 |
| | | | |||||
| | * | Repace twig with couch_log | Paul J. Davis | 2014-08-17 | 3 | -8/+8 |
| |/ | |||||
| * | Merge pull request #17 from cloudant/31759-warning-events | Benjamin Anderson | 2014-06-23 | 1 | -12/+18 |
| |\ | | | | | | | Use warning level for non-critical cases | ||||
| | * | Clean up indentation in send_sensu_event | Benjamin Anderson | 2014-06-17 | 1 | -6/+8 |
| | | | |||||
| | * | Use warning level for non-critical cases | Benjamin Anderson | 2014-06-17 | 1 | -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-check | Benjamin Anderson | 2014-02-26 | 1 | -13/+1 |
| |\ | | | | | | | Remove bacon from the list of system databases to check | ||||
| | * | Remove bacon from the list of system databases to check | Benjamin Anderson | 2014-02-25 | 1 | -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 dbs | Robert Newson | 2013-11-26 | 1 | -2/+4 |
| | | |||||
| * | Remove old code_change, set module version to 1 | Robert Newson | 2013-11-22 | 2 | -7/+3 |
| | | |||||
| * | Use core Vsn number for 0.2.7 upgrade | Robert Newson | 2013-11-22 | 1 | -1/+3 |
| | | |||||
| * | Merge pull request #14 from cloudant/25189-safety-and-liveness | Robert Newson | 2013-11-20 | 3 | -77/+122 |
| |\ | | | | | | | Account for true maintenance mode | ||||
| | * | Start listening for config changes on upgrade | Robert Newson | 2013-11-20 | 1 | -0/+3 |
| | | | |||||
| | * | Listen for config changes to maintenance_mode | Robert Newson | 2013-11-20 | 1 | -0/+19 |
| | | | |||||
| | * | Send sensu events for everything | Robert Newson | 2013-11-20 | 2 | -40/+48 |
| | | | |||||
| | * | Monitor liveness and safety | Robert Newson | 2013-11-19 | 1 | -24/+38 |
| | | | |||||
| | * | Introduce state record | Robert Newson | 2013-11-11 | 1 | -16/+19 |
| | | | |||||
| | * | Simplify report() | Robert Newson | 2013-11-11 | 1 | -6/+4 |
| | | | |||||
| | * | Self-describing summary output | Robert Newson | 2013-11-11 | 2 | -15/+15 |
| |/ | |||||
| * | Merge pull request #12 from cloudant/22772-broken-snmp-traps | Ulises | 2013-09-04 | 1 | -5/+5 |
| |\ | | | | | | | 22772 broken snmp traps | ||||
| | * | Fix malformed send_snmptrap arglist. | Ulises Cervino Beresi | 2013-09-04 | 1 | -1/+1 |
| | | | | | | | | | | | | BugzId: 22772 | ||||
| | * | Remove whitespace. | Ulises Cervino Beresi | 2013-09-04 | 1 | -4/+4 |
| |/ | |||||
| * | Merge pull request #10 from cloudant/refactor-snmp-alerts | Perry Stoll | 2013-07-26 | 1 | -31/+22 |
| |\ | | | | | | | refactor alert sending functions in custodian. | ||||
| | * | refactor alert sending functions | Perry A. Stoll | 2013-07-26 | 1 | -31/+22 |
| |/ | |||||
| * | Merge pull request #9 from cloudant/one-copy-left | Robert Newson | 2013-07-26 | 2 | -8/+19 |
| |\ | | | | | | | A separate alert and summary value for shards with only 1 remaining copy |