Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remsh: attempt to auto-locate Erlang cookieremsh | Will Holley | 2019-12-16 | 1 | -1/+11 |
| | | | | | | Attempts to find the Erlang cookie from ERL_FLAGS or the standard vm.args location. If not present, fall back to the default (monster). | ||||
* | Sanitize `ERL_FLAGS` in remsh | Will Holley | 2019-12-16 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | If an environment uses `ERL_FLAGS` to configure CouchDB it can conflict with the parameters passed to `erl` in `remsh`. This was observed in a containerized CouchDB cluster, as the CouchDB Dockerfile uses `ERL_FLAGS` to set the node name and cookie, as does the Helm chart. When running `remsh` in these containers, additional `-name` and `-setcookie` parameters were silently added to the `erl` invocation, preventing the shell from connecting to the CouchDB node. This commit scrubs any `-name` or `-setcookie` flags from ERL_FLAGS before invoking erl. | ||||
* | Merge pull request #2361 from cloudant/smoosh-utc-fix | Jay Doane | 2019-12-13 | 2 | -3/+1 |
|\ | | | | | Make smoosh use UTC for scheduling window | ||||
| * | Suppress exunit compiler warning | Jay Doane | 2019-12-13 | 1 | -2/+0 |
| | | | | | | | | | | | | | | This patch suppresses this warning when `make exunit` is run: warning: unused alias Setup src/smoosh/test/exunit/scheduling_window_test.exs:4 | ||||
| * | Switch to UTC | Jay Doane | 2019-12-13 | 1 | -1/+1 |
|/ | | | | The tests assume UTC, and often fail when run in non-GMT time zones. | ||||
* | Merge pull request #2356 from apache/5986-tests-only | Robert Newson | 2019-12-13 | 3 | -1/+5 |
|\ | | | | | Enable port 5986 for test suites only | ||||
| * | Enable port 5986 for test suites only5986-tests-only | Robert Newson | 2019-12-12 | 3 | -1/+5 |
|/ | |||||
* | Merge pull request #2353 from cloudant/exunit-cover | iilyak | 2019-12-12 | 6 | -4/+109 |
|\ | | | | | Exunit cover | ||||
| * | Integrate excoverals into test stack | ILYA Khlopotov | 2019-12-12 | 6 | -3/+107 |
| | | |||||
| * | Make sure we fetch test dependencies | ILYA Khlopotov | 2019-12-12 | 1 | -1/+2 |
|/ | |||||
* | Fix multidb changes test | Nick Vatamaniuc | 2019-12-11 | 1 | -2/+3 |
| | | | | | | The test broke during the removal of view-based changes PR Issue: https://github.com/apache/couchdb/pull/2324 | ||||
* | Merge pull request #2351 from apache/2530-all-dbs-timeout | Will Holley | 2019-12-10 | 1 | -1/+1 |
|\ | | | | | Fix timeout case clause in fabric_db_info | ||||
| * | Fix timeout case clause in fabric_db_info2530-all-dbs-timeout | Will Holley | 2019-12-10 | 1 | -1/+1 |
|/ | | | | | | | | | Unlike most other fabric_db_* message handlers, the accumulator for fabric_db_info has 3 terms. When a rexi timeout occurs, it returns `{timeout, Accumulator}`; the case clause handling this needs to expect 3 terms in the Accumulator instead of 2. Fixes #2350 | ||||
* | Merge pull request #2346 from willholley/couch_compress_tests | Will Holley | 2019-12-10 | 2 | -85/+113 |
|\ | | | | | Big-endian support for couch_compress tests | ||||
| * | Big endian support for couch_compress tests | Will Holley | 2019-12-09 | 1 | -15/+43 |
| | | | | | | | | | | | | | | | | | | | | | | | | This refactors the couch_compress tests to allow them to run on platforms (e.g. s390x) where the compression output might be different to the fixed values defined in the tests. Namely: * Assert that compressed output is smaller than the input * Assert bigendian output is portable * Assert that compressed output can be recompressed Background and discussion of this is in https://issues.apache.org/jira/browse/COUCHDB-3261. | ||||
| * | Port couch_compress_tests to Elixir | Will Holley | 2019-12-09 | 2 | -85/+85 |
|/ | |||||
* | Remove invalid query server def in local.ini | Joan Touzet | 2019-12-09 | 1 | -3/+0 |
| | |||||
* | Add COUCHDB_FAUXTON_DOCROOT comment to couchdb.cmd | Joan Touzet | 2019-12-09 | 1 | -0/+1 |
| | |||||
* | Allow all params to be passed via body for POST _all_docs | Bessenyei Balázs Donát | 2019-12-09 | 7 | -4/+342 |
| | | | | | | This change should allow users to supply all params in POST that can be supplied for GET now. This way we could avoid the ?key="foo" things that would probably cause a lot of pain for users. As /{db}/_design_docs and /{db}/_local_docs are analogous to _all_docs, this change applies to all three of them. | ||||
* | Allow all params to be passed via body for POST view | Bessenyei Balázs Donát | 2019-12-05 | 4 | -13/+164 |
| | | | | | | This change should allow users to supply all params in POST that can be supplied for GET now. This way we could avoid the ?key="foo" things that would probably cause a lot of pain for users. | ||||
* | Merge pull request #2324 from apache/2167-no-view-changes | Eric Avdey | 2019-12-03 | 19 | -1490/+206 |
|\ | | | | | Remove vestiges of view-based `_changes` feed from codebase | ||||
| * | Modify all mrview records and add according migration functionality2167-no-view-changes | Eric Avdey | 2019-12-03 | 6 | -72/+71 |
| | | |||||
| * | Remove all view_changes functionality from mrview utils | Eric Avdey | 2019-12-03 | 1 | -238/+24 |
| | | |||||
| * | Remove fast_view filter from fabric | Eric Avdey | 2019-12-03 | 1 | -3/+2 |
| | | |||||
| * | Modify changes accumulator record | Eric Avdey | 2019-12-03 | 1 | -7/+27 |
| | | |||||
| * | Remove view_changes functionality from couch_changes side | Eric Avdey | 2019-12-03 | 3 | -294/+26 |
| | | |||||
| * | Remove view changes interface functions, tests and end-point | Eric Avdey | 2019-12-03 | 7 | -596/+3 |
| | | |||||
| * | Remove seq, kseq and log trees from updater, compactor and indexer | Eric Avdey | 2019-12-03 | 3 | -280/+53 |
|/ | |||||
* | Merge pull request #2336 from apache/1523-bye-bye-5986-rnewson-4 | Robert Newson | 2019-12-02 | 11 | -265/+356 |
|\ | | | | | 1523 bye bye 5986 | ||||
| * | install requests module within venv1523-bye-bye-5986-rnewson-4 | Robert Newson | 2019-12-02 | 1 | -0/+1 |
| | | |||||
| * | fix (unrelated, right, am I crazy?) proxyauth.js test | Robert Newson | 2019-12-02 | 1 | -1/+1 |
| | | |||||
| * | enable port 5986 in local.ini for the test suites | Robert Newson | 2019-12-02 | 1 | -0/+1 |
| | | |||||
| * | disable port 5986 by default | Robert Newson | 2019-12-02 | 2 | -4/+11 |
| | | |||||
| * | proxy the response from the other node | Robert Newson | 2019-12-02 | 3 | -7/+58 |
| | | |||||
| * | Mangle request before calling handle_request | Joan Touzet | 2019-12-02 | 1 | -2/+13 |
| | | |||||
| * | allow calls to get_httpd_handlers from other applications | Robert Newson | 2019-12-02 | 1 | -3/+3 |
| | | |||||
| * | add handle_request/1 | Joan Touzet | 2019-12-02 | 1 | -0/+4 |
| | | |||||
| * | extract get_httpd_handlers function | Joan Touzet | 2019-12-02 | 1 | -28/+30 |
| | | |||||
| * | Move get_stats/0 | Joan Touzet | 2019-12-02 | 2 | -90/+90 |
| | | |||||
| * | Remove global _system handler | Joan Touzet | 2019-12-02 | 2 | -10/+1 |
| | | |||||
| * | Move _node handler to new module | Joan Touzet | 2019-12-02 | 4 | -129/+152 |
|/ | |||||
* | Merge pull request #2337 from apache/couch_hash_update | Will Holley | 2019-12-02 | 6 | -9/+9 |
|\ | | | | | Update usage of couch_hash:md5_hash shim | ||||
| * | Update usage of couch_hash:md5_hash shimcouch_hash_update | Will Holley | 2019-12-02 | 6 | -9/+9 |
|/ | | | | | | | | | | | https://github.com/apache/couchdb/pull/1445 introduced a shim to enable CouchDB to be compiled to use the Erlang MD5 function. This allows CouchDB to run in FIPS environments where the crypto module is restricted such that `crypto:hash(md5,..)` is blocked (fails with `notsup` error). This commit replaces usage of `crypto:hash(md5, ..)` introduced since the original PR with the shim function. | ||||
* | Return 400 error for missing partition key | Garren Smith | 2019-11-26 | 2 | -0/+12 |
| | | | | | | Return a 400 for urls /partitiondb/_partition with no partition key Fixes #2332 | ||||
* | Merge pull request #2328 from apache/ken-in-tree | Adam Kocoloski | 2019-11-22 | 11 | -1/+887 |
|\ | |||||
| * | Remove ken as dependency and add as subdir | Adam Kocoloski | 2019-11-22 | 1 | -1/+1 |
| | | |||||
| * | Add 'src/ken/' from commit '506606ff2b29f72fcc9e875f1b9a33c258ad2af1' | Adam Kocoloski | 2019-11-22 | 10 | -0/+886 |
| |\ |/ / | | | | | | | | | git-subtree-dir: src/ken git-subtree-mainline: 8d9f80de2cd6bc851e329091998e0c601889f6e2 git-subtree-split: 506606ff2b29f72fcc9e875f1b9a33c258ad2af1 | ||||
| * | Merge pull request #8 from apache/ken-dreyfus-hastings | Robert Newson | 2019-10-21 | 1 | -2/+2 |
| |\ | | | | | | | Detect dreyfus/hastings correctly | ||||
| | * | Detect dreyfus/hastings correctly | Robert Newson | 2019-10-21 | 1 | -2/+2 |
| |/ | | | | | | | | | The code:lib_dir test only works if those projects are compiled first, which is not guaranteed. | ||||
| * | Merge pull request #7 from apache/ken-query-servers-2 | Robert Newson | 2019-10-18 | 1 | -1/+2 |
| |\ | | | | | | | Always include 'query' as an allowed language |