summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add partition support to mango text and fix failing testspartition-fix-mango-testsGarren Smith2018-09-137-40/+64
|
* allow partitioned:true in _index post. merge somewhereRobert Newson2018-09-116-22/+74
|
* validate that a system db cannot be partitionedGarren Smith2018-09-071-0/+15
|
* validate docs for _bulk_get and _bulk_docsGarren Smith2018-09-072-7/+10
|
* move view validation to chttp_view for partition checksGarren Smith2018-09-072-14/+20
|
* validate partitioned design docsGarren Smith2018-09-071-3/+31
|
* Optimize skip for partitioned queriesRobert Newson2018-09-055-15/+28
| | | | | | | | | | | | 'skip' is implemented efficiently at the worker level but we've disabled it for clustered views because of the multiple shards (and not being able to calculate the right skip value to pass to each worker). With a partitioned query, this problem is gone, as the value the query specifies will be the right value for all workers (as they hit the same shard range). This commit removes the old fix_skip_and_limit function from fabric_rpc and moves the logic up to the coordinators.
* validate partion id when querying. merge somewhere.Robert Newson2018-09-051-2/+2
|
* add r = 3 restrictions to partition _find and _explainGarren Smith2018-09-053-0/+22
|
* grabbag of fixes. needs merging into previous commitsRobert Newson2018-09-056-25/+20
|
* add POST support for keys for viewsGarren Smith2018-09-051-0/+18
|
* Add /_partition/$partition/... endpointsGarren Smith2018-09-059-22/+193
|
* Add restrictions to partitioned viewsRobert Newson2018-09-054-3/+29
| | | | | | * Block design documents with partitioned option in non-partitioned db * Prohibit javascript reduces in partitioned:true ddocs * Prohibit include_docs=true for _view in partitioned db
* Add test for all_docs partition optimisationGarren Smith2018-09-051-0/+86
| | | | Adds tests to validate the all_docs optimisations works for partitions
* optimize _all_docs requests that are bounded within a single partitionRobert Newson2018-09-051-1/+23
|
* Implement _all_docs and _find supportRobert Newson2018-09-059-26/+111
| | | | | Co-authored-by: Garren Smith <garren.smith@gmail.com> Co-authored-by: Robert Newson <rnewson@apache.org>
* mem3 tests for partitioned databasesGarren Smith2018-09-053-2/+147
|
* implement partitioned viewsRobert Newson2018-09-056-12/+85
| | | | | Co-authored-by: Robert Newson <rnewson@apache.org> Co-authored-by: Paul J. Davis <paul.joseph.davis@gmail.com>
* validate new partition argumentsRobert Newson2018-09-031-0/+11
|
* Select only the shard containing the partition, if specifiedRobert Newson2018-09-032-5/+28
|
* Allow partitioned option in mrviewsRobert Newson2018-09-035-5/+31
| | | | Default to database's partitioned setting if not present in ddoc.
* expose partitioned flag in GET /dbname infoRobert Newson2018-08-302-2/+16
|
* Enforce partition:id format in doc idsRobert Newson2018-08-303-7/+37
|
* map documents to shards by their partitionRobert Newson2018-08-293-8/+72
|
* Support and persist ?partitioned=true flag at db creation timeRobert Newson2018-08-061-1/+15
|
* Add a generic 'props' list at db creation timeGarren Smith2018-08-0610-11/+185
| | | | | | | | This props list is recorded in each database shard as well as the shard document in the special _dbs database. Co-authored-by: Garren Smith <garren.smith@gmail.com> Co-authored-by: Robert Newson <rnewson@apache.org>
* Improve logging from test_utilILYA Khlopotov2018-07-291-0/+3
| | | | | | | Sometimes it is hard to guess what went wrong when application started via `test_util:start_applications` or `test_util:start_couch` is unable to start. Since the traceback was truncated. This change would print the reason in addition to the traceback.
* bump docs dependency2.2.0-RC1Joan Touzet2018-07-241-1/+1
|
* [travis] 20.1 -> 20.3Joan Touzet2018-07-241-1/+1
|
* Bump fauxton dependencyJoan Touzet2018-07-241-1/+1
|
* Enable replication client _session auth by defaultJoan Touzet2018-07-242-6/+5
| | | | Relates to #1153 and #1176
* Revert "Add bcrypt hashing option"Joan Touzet2018-07-1814-367/+22
| | | | This reverts commit 817b2b6f5f0883092df60c1ec8ec7ec6d6094a23.
* Revert "Replace resource expensive bcrypt test with shorter version (#1231)"Joan Touzet2018-07-181-17/+17
| | | | This reverts commit 89a727b625e74f40fcf612bda18421b8fc21eead.
* Revert "Make loginUser wait for successful authentication"Joan Touzet2018-07-181-7/+2
| | | | This reverts commit 6ffe0421ac524138a6b48fd010f2540631b83d16.
* bump hyper dependency, fix Windows buildJoan Touzet2018-07-181-1/+1
|
* Switch fabric attachment receiver to use messagesNick Vatamaniuc2018-07-171-4/+5
| | | | | | | | | | | | | | | Function closures are fragile and attachment uploads would break if fabric_doc_attachments is different on any of the nodes in a cluster, like it might happen during a roling cluster upgrade. Previously fe53e437ca5ec9d23aa1b55d7934daced157a9e3 introduced two versions of the module one which handles function closure, other which handled message but only in this commit messages are starting to be sent. To avoid breakages in attachemnt uploads during the period of a rolling cluster upgrade, make sure to upgrade to that commit first then upgrade to this change. Issue #1394
* Add missing default case clause, fixes #1450Joan Touzet2018-07-171-1/+1
|
* re-raise max_http_request_size to 4GBJan Lehnardt2018-07-171-1/+1
|
* add retry to test_request:request()Jan Lehnardt2018-07-171-1/+5
|
* Improve detection of git tags/dirty statusJoan Touzet2018-07-172-10/+72
| | | | | | | | | | Unfortuantely, #1437 brought in a build bug that caused dist tarballs to be created always using the last tag that could be found on the tree. This lead to `master` building tarballs labelled `2.1.0`. The new approach includes extensive comments to explain the approach, fixes the bug, and for an encore adds -dirty if you're building a CouchDB with local changes that aren't committed to git.
* Report git sha on welcome requestJan Lehnardt2018-07-177-6/+26
| | | | Closes #1309
* Make MD5 hash implementation configurable (#1171)rokek2018-07-1621-46/+107
|
* improve ddoc test reliablilty by waiting for ddoc deletionJan Lehnardt2018-07-161-1/+7
|
* Optionally prevent non-admins from accessing /_all_dbsJan Lehnardt2018-07-152-1/+7
|
* demote notice to debug logs by @wycJan Lehnardt2018-07-151-5/+3
|
* validate bind address by @wycJan Lehnardt2018-07-151-10/+25
|
* Clarify bad index creation error messagesBrandon Gottlob2018-07-141-2/+2
| | | | Fixes #927
* wait for db deletion before db re-creation. Closes #1197Jan Lehnardt2018-07-141-0/+7
|
* raise timeouts in attachment testsJan Lehnardt2018-07-141-3/+3
|
* bump depsJan Lehnardt2018-07-141-2/+2
|