summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Optionally add a key manager application as a dependencyaegis_key_manager_appRobert Newson2020-08-041-7/+26
|
* Allow interactive requests to reopen a re-created db instanceNick Vatamaniuc2020-07-316-22/+99
| | | | | | | | | | | | | | | | | | | | Previously, if a database was re-created on another node, a request with that database might have found the previous db instance in the cache. In that case it would have correctly reopened the db while in a transaction, but, because the old db instance was deleted it would throw a database_does_not_exist which was not the correct behavior. To prevent that from happening, introduce an interactive = true|false option when opening a database. User requests may specify that option and then when the db is re-opened, it will allow it to automatically upgrade to the new db instance instead returning an error. Background processes will still get a database_doest_not_exist error if they keep a db open which has now been re-created. The interactive option may also be used in the future to set other transaction parameters like timeouts and retries that might be different for interactive requests vs background tasks.
* Merge pull request #3046 from apache/prototype/fdb-layer-ebtree-group-reduce-fixRobert Newson2020-07-301-2/+4
|\ | | | | Call collate for group equality
| * Call collate for group equalityprototype/fdb-layer-ebtree-group-reduce-fixRobert Newson2020-07-291-2/+4
| |
* | Merge pull request #3031 from cloudant/clean-up-logsiilyak2020-07-3033-48/+511
|\ \ | |/ |/| Clean up logs
| * Update config appILYA Khlopotov2020-07-301-1/+1
| |
| * Do not log admin credentialsILYA Khlopotov2020-07-303-3/+5
| |
| * Do not log sensitive data during _cluster_setupILYA Khlopotov2020-07-301-6/+11
| |
| * Add format_status/2 callback in gen_server implementationsILYA Khlopotov2020-07-3024-27/+316
| |
| * Strip last_msg from logsILYA Khlopotov2020-07-306-12/+179
|/
* Merge pull request #3045 from apache/prototype/fdb-layer-ebtree-enhancementsRobert Newson2020-07-291-89/+106
|\ | | | | Prototype/fdb layer ebtree enhancements
| * Allow inclusive_start/endRobert Newson2020-07-291-84/+98
| | | | | | | | We also redefine the internal collation api for clarity.
| * Replace the 'true' clauses in visit with more explicit onesprototype/fdb-layer-ebtree-true-clausesRobert Newson2020-07-291-6/+9
| |
* | Use _scheduler/jobs instead of _active_tasks in replication Elixir testsNick Vatamaniuc2020-07-281-9/+15
|/ | | | | | | | | After _active_tasks was implemented on FDB, single-node (previous) _active_tasks implementation, had stopped working. It turns out were were relying on it to run Elixir replication tests. To not lose test coverage, and before we implement replicator on FDB, switch the tests to use `_scheduler/jobs`.
* Merge pull request #3003 from apache/add_active_tasks_fdbTony Sun2020-07-246-12/+280
|\ | | | | add active_tasks for view builds using version stamps
| * add active_tasks for view builds using version stampsTony Sun2020-07-243-7/+208
| | | | | | | | | | | | | | | | | | | | | | | | Active Tasks requires TotalChanges and ChangesDone to show the progress of long running tasks. This requires count_changes_since to be implemented. Unfortunately, that is not easily done via with foundationdb. This commit replaces TotalChanges with the versionstamp + the number of docs as a progress indicator. This can possibly break existing api that relys on TotalChanges. ChangesDone will still exist, but instead of relying on the current changes seq it is simply a reflection of how many documents were written by the updater process.
| * add support for active_tasks via fabric2Tony Sun2020-07-242-5/+53
| | | | | | | | | | Instead of relying on couch_task_status, we use fabric2_active_tasks to construct active_task info via couch_jobs.
| * add get_active_job_ids and get_typesTony Sun2020-07-241-0/+19
| | | | | | | | | | We expose get_types in couch_jobs and also add get_active_jobs_ids to get the active job ids given a certain type.
* | Merge pull request #3034 from apache/prototype/fdb-layer-collation-bugsRobert Newson2020-07-241-26/+45
|\ \ | |/ |/| Prototype/fdb layer collation bugs
| * separate out collation wrapper to avoid spurious comparisonsRobert Newson2020-07-241-26/+45
| | | | | | | | Ensure we only collate nodes, members and k/v's as intended.
* | Merge pull request #3033 from ↵Robert Newson2020-07-241-4/+11
|\ \ | |/ | | | | | | apache/prototype/fdb-layer-ebtree-spurious-conflicts Only call erlfdb:set if the node changes
| * Only call erlfdb:set if the node changesRobert Newson2020-07-241-4/+11
|/ | | | | This removes spurious conflicts and allows concurrent writing to non-overlapping parts of the tree.
* Merge pull request #3027 from cloudant/fix-previous-bookmarkiilyak2020-07-231-3/+7
|\ | | | | Fix 'first page should not return previous bookmark' test
| * Fix 'first page should not return previous bookmark' testILYA Khlopotov2020-07-231-3/+7
|/
* Merge pull request #3024 from apache/prototype/fdb-layer-ebtree-encodingRobert Newson2020-07-221-31/+23
|\ | | | | Pass fdb key to the encode_fun
| * Pass fdb key to the encode_funRobert Newson2020-07-221-31/+23
| | | | | | | | | | | | This commit removes the get/wait/future split as it made it much harder to pass the fdb key down. Since those functions only call each other, there is no loss of functionality.
* | Merge pull request #3023 from apache/prototype/fdb-layer-ebtree-orderRobert Newson2020-07-221-17/+16
|\ \ | |/ | | Use stored order without complaint
| * Use stored order without complaintprototype/fdb-layer-ebtree-orderRobert Newson2020-07-221-17/+16
|/
* Merge pull request #2904 from cloudant/support-previous-bookmarkiilyak2020-07-222-5/+85
|\ | | | | Add support for previous bookmark
| * Add support for previous bookmarkILYA Khlopotov2020-05-222-5/+85
| |
* | Merge pull request #3017 from apache/prototype/fdb-layer-ebtreeRobert Newson2020-07-227-0/+1400
|\ \ | | | | | | Prototype/fdb layer ebtree
| * | Allow encode/decode customisationprototype/fdb-layer-ebtreeRobert Newson2020-07-211-41/+47
| | |
| * | add ebtree to rebar / reltool.configRobert Newson2020-07-212-0/+3
| | |
| * | Merge ebtree into src/ebtreeRobert Newson2020-07-215-0/+1391
| |\ \ |/ / /
| * | Add ASLv2 licenseRobert Newson2020-07-213-0/+36
| | |
| * | refine typespec for callback functionsRobert Newson2020-07-201-10/+37
| | |
| * | two blank lines between different functionsRobert Newson2020-07-201-0/+5
| | |
| * | Merge pull request #25 from cloudant/group-reduce-revRobert Newson2020-07-201-18/+55
| |\ \ | | | | | | | | Allow group reduce in reverse order
| | * | Add support for group_reduce in reverse orderRobert Newson2020-07-201-6/+29
| | | |
| | * | Allow fold in fwd and rev directionRobert Newson2020-07-201-12/+26
| |/ /
| * | add spec/edoc to all public functionsRobert Newson2020-07-201-15/+84
| | |
| * | don't export reduce funs, they're just for tests nowRobert Newson2020-07-201-45/+38
| | |
| * | update README.md to reflect progressRobert Newson2020-07-191-3/+1
| | |
| * | honor ?MIN and ?MAX in find_child_intRobert Newson2020-07-181-2/+1
| | | | | | | | | | | | | | | This fixes range and reverse range when using the special min() and max() values.
| * | fix how lookup rate is calculated in testsRobert Newson2020-07-131-3/+3
| | |
| * | Merge pull request #23 from cloudant/rebar-config-fixRobert Newson2020-07-131-1/+1
| |\ \ | | | | | | | | adjust rebar.config to work with rebar2 and rebar3
| | * | adjust rebar.config to work with rebar2 and rebar3Garren Smith2020-07-131-1/+1
| |/ /
| * | Merge pull request #21 from cloudant/remove_pointers_from_non_leafRobert Newson2020-07-111-4/+9
| |\ \ | | | | | | | | Remove pointers from non leaf
| | * | and then fix the bug where they got oneRobert Newson2020-07-091-4/+4
| | | |
| | * | assert that non-leafs have no prev/next pointersRobert Newson2020-07-091-0/+5
| |/ /