Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't crash couch_index_server if the db isn't known yetcouch_index_server_crash2 | Robert Newson | 2020-08-14 | 1 | -1/+5 |
| | | | | | | | If a ddoc is added immediately after database creation (_users and _replicator when couchdb is used in a multi-tenant fashion), we can crash couch_index_server in handle_db_event, as mem3_shards:local throws an error. | ||||
* | Validate shard specific query params on db create request | Eric Avdey | 2020-08-13 | 2 | -9/+165 |
| | |||||
* | Merge pull request #3068 from apache/couch_index_server_crash | Robert Newson | 2020-08-12 | 1 | -2/+8 |
|\ | | | | | Unlink index pid and swallow EXIT message if present | ||||
| * | Unlink index pid and swallow EXIT message if present | Robert Newson | 2020-08-12 | 1 | -2/+8 |
|/ | | | | | | | | | This should prevent unexpected exit messages arriving which crash couch_index_server. Patch suggested by davisp. Closes #3061. | ||||
* | Remove wrongly commited file from #2955 (#3070) | Joan Touzet | 2020-08-10 | 1 | -89/+0 |
| | |||||
* | Windows: provide full path to epmd | Joan Touzet | 2020-08-03 | 1 | -0/+1 |
| | |||||
* | added $keyMapMatch Mango operator | Michal Borkowski | 2020-07-27 | 2 | -0/+41 |
| | |||||
* | fix: finish_cluster failure due to missing uuid | Steven Tang | 2020-07-26 | 1 | -0/+3 |
| | | | | Resolves #2858 | ||||
* | Port view multi_key tests into elixir | Juanjo Rodriguez | 2020-07-23 | 6 | -3/+513 |
| | |||||
* | port update_documents.js into elixir | Juanjo Rodriguez | 2020-07-22 | 3 | -2/+326 |
| | |||||
* | port view_sandboxing.js into elixir | Juanjo Rodriguez | 2020-07-22 | 3 | -1/+193 |
| | |||||
* | New cname for couchdb-vm2, see INFRA-20435 (#2982) | Joan Touzet | 2020-07-20 | 2 | -6/+6 |
| | |||||
* | Port view_compaction test to elixir | Juanjo Rodriguez | 2020-07-07 | 4 | -2/+109 |
| | |||||
* | Port view_collation_raw.js to elixir | Juanjo Rodriguez | 2020-07-07 | 3 | -1/+161 |
| | |||||
* | fix: set gen_server:call() timeout to infinity on ioq bypass | Jan Lehnardt | 2020-07-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Before the bypass existed, ioq would call `gen_server:call()` on hehalf of it calling module with the queueing logic in between. Commit e641a740 introduced a way to bypass any queues, but the delegated `gen_server:call()` there was added without a timeout parameter, leading to a default timeout of 5000ms. A problem manifests here when operations that are sent through ioq that take longer than that 5000ms timeout. In practice, these operations should be very rare and this timeout should be a help on overloaded systems. However, one sure-fire way to cause an issue on an otherwise idle machine is raise the max_document_size and store unreasonably large documents, think 50MB+ of raw JSON). Not that we recommend this, but folks have run this fine on 2.x before the ioq changes and it isn’t too hard to support here. By adding an `infinity` timeout delegated `gen_server:call()` in the queue bypasse case, this no longer applies. Thanks to Joan @woahli Touzet, Bob @rnewson Newson and Paul @davisp Davis for helping to track this down. | ||||
* | Port view_update_seq.js into elixir | Juanjo Rodriguez | 2020-06-30 | 3 | -1/+144 |
| | |||||
* | Port reader_acl test into elixir test suite | Juanjo Rodriguez | 2020-06-29 | 3 | -2/+257 |
| | |||||
* | Skip tests as temporary views are not supported | Juanjo Rodriguez | 2020-06-27 | 1 | -0/+1 |
| | |||||
* | Tests already ported to elixir | Juanjo Rodriguez | 2020-06-27 | 2 | -0/+2 |
| | |||||
* | Merge pull request #2958 from bessbd/allow-drilldown-list-of-listsarchive/prototype/fdnprototype/fdn | Robert Newson | 2020-06-22 | 2 | -0/+203 |
|\ | | | | | Allow drilldown for search to always be specified as list of lists | ||||
| * | Allow drilldown for search to always be specified as list of lists | Bessenyei Balázs Donát | 2020-06-22 | 2 | -0/+203 |
|/ | | | | | | | | | | | | | | To use multiple `drilldown` parameters users had to define `drilldown` multiple times to be able supply them. This caused interoperability issues as most languages require defining query parameters and request bodies as associative arrays, maps or dictionaries where the keys are unique. This change enables defining `drilldown` as a list of lists so that other languages can define multiple drilldown keys and values. Co-authored-by: Robert Newson <rnewson@apache.org> | ||||
* | Upgrade Credo to 1.4.0 | Alessio Biancalana | 2020-06-18 | 2 | -3/+3 |
| | |||||
* | fix: send CSP header to make Fauxotn work fully | Jan Lehnardt | 2020-06-18 | 3 | -2/+91 |
| | | | | Co-authored-by: Robert Newson <rnewson@apache.org> | ||||
* | Make restricted partition search parameters return bad request | Bessenyei Balázs Donát | 2020-06-18 | 2 | -8/+50 |
| | | | | | | | | | | | According to https://docs.couchdb.org/en/master/ddocs/search.html there are parameters for searches that are not allowed for partitioned queries. Those restrictions were not enforced, thus making the software and docs inconsistent. This commit adds them to validation so that the behavior matches the one described in the docs. | ||||
* | In replicator, when rescheduling, pick only pending jobs which are not running | Nick Vatamaniuc | 2020-06-10 | 1 | -0/+16 |
| | | | | | | | Previously, when pending jobs were picked in the `ets:foldl` traversal, both running and non-running jobs were considered and a large number of running jobs could displace pending jobs in the accumulator. In the worst case, no crashed jobs would be restarted during rescheduling. | ||||
* | Merge pull request #2929 from apache/report-fips-feature | Robert Newson | 2020-06-05 | 1 | -0/+10 |
|\ | | | | | Report if FIPS mode is enabled | ||||
| * | Report if FIPS mode is enabledreport-fips-feature | Robert Newson | 2020-06-05 | 1 | -0/+10 |
|/ | | | | | This will only report "fips" in the welcome message if FIPS mode was enabled at boot (i.e, in vm.args). | ||||
* | feat(auth): Allow a custom JWT claim for roles | mauroporras | 2020-06-04 | 2 | -1/+2 |
| | |||||
* | 2906 couchjs sm version (#2911) | Simon Klassen | 2020-05-30 | 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 | ||||
* | move compact and replicate functions into CouchTestCase shared module | Juanjo Rodriguez | 2020-05-26 | 8 | -155/+56 |
| | |||||
* | Port rev_stemming into elixir | Juanjo Rodriguez | 2020-05-26 | 3 | -1/+195 |
| | |||||
* | Merge pull request #2900 from apache/jwtf-erlang-19-2 | Robert Newson | 2020-05-21 | 1 | -1/+1 |
|\ | | | | | make jwtf_keystore compatible with erlang 19 for real this time | ||||
| * | make jwtf_keystore compatible with erlang 19 for real this timejwtf-erlang-19-2 | Robert Newson | 2020-05-21 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #2899 from apache/jwtf-erlang-19 | Robert Newson | 2020-05-21 | 1 | -1/+1 |
|\ | | | | | make jwtf_keystore compatible with erlang 19 | ||||
| * | make jwtf_keystore compatible with erlang 19jwtf-erlang-19 | Robert Newson | 2020-05-21 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #2888 from apache/jwtf-iss-configurability | Robert Newson | 2020-05-18 | 4 | -6/+96 |
|\ | | | | | allow configurability of JWT claims that require a value | ||||
| * | allow configurability of JWT claims that require a value | Robert Newson | 2020-05-18 | 4 | -6/+96 |
|/ | | | | | | | e.g; [jwt] required_claims = {iss, "https://example.com/issuer"} | ||||
* | Fix license file | Joan Touzet | 2020-05-17 | 1 | -1/+1 |
| | |||||
* | Quit test run without checking that couchdb is runningarchive/protoypeprotoype | Juanjo Rodriguez | 2020-05-02 | 1 | -8/+15 |
| | |||||
* | Port replicator db tests to elixir | Juanjo Rodriguez | 2020-05-02 | 5 | -2/+206 |
| | |||||
* | Fix python-black target for Windows | Joan Touzet | 2020-04-30 | 1 | -2/+2 |
| | |||||
* | Bump docs, fauxton | Joan Touzet | 2020-04-29 | 1 | -2/+2 |
| | |||||
* | Add Ubuntu Focal (20.04) + SM68 to Jenkins | Joan Touzet | 2020-04-29 | 2 | -2/+48 |
| | |||||
* | Drop os_mon from dependencies | Joan Touzet | 2020-04-28 | 5 | -6/+2 |
| | |||||
* | Suppress offsetof gcc warnings for SM60 | Joan Touzet | 2020-04-28 | 1 | -1/+1 |
| | | | | | | Mozilla did this years ago: https://hg.mozilla.org/mozilla-central/rev/41d9d32ab5a7 | ||||
* | View is partitioned if db and view are partitioned | Robert Newson | 2020-04-27 | 1 | -10/+1 |
| | | | | | | | We've seen a crash if DbPartitioned is false and ViewPartitioned is true, which is obviously nonsense. The effect of the `nocase` is the termination of the couch_index_server gen_server, which is a serious amplification of a small (user-initiated) oddity. | ||||
* | Ensure python black runs on all .py files (#2827) | Joan Touzet | 2020-04-27 | 2 | -4/+4 |
| | |||||
* | python black cleanup | Joan Touzet | 2020-04-27 | 1 | -7/+3 |
| | |||||
* | Fix new JS test case | Joan Touzet | 2020-04-27 | 1 | -2/+3 |
| | |||||
* | Replace broken u-escape sequences | Paul J. Davis | 2020-04-27 | 1 | -2/+104 |
| |