summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Chunkify ebtree nodes when necessaryarchive/ebtree-node-chunkingebtree-node-chunkingPaul J. Davis2020-08-061-7/+12
| | | | | Chunking is done after decoding and before encoding so that any custom encoding function will still work correctly.
* Export fabric2_fdb:chunkify_binary/1,2Paul J. Davis2020-08-061-15/+18
|
* Merge pull request #3062 from apache/prototype/fdb-layer-ebtree-enhanceRobert Newson2020-08-061-15/+65
|\ | | | | Prototype/fdb layer ebtree enhance
| * extra testsRobert Newson2020-08-061-0/+49
| |
| * Tighten expectation of members format by levelRobert Newson2020-08-061-15/+16
|/
* Merge pull request #3057 from apache/build-fdb-couchjs-for-redhat-linuxPeng Hui Jiang2020-08-061-1/+1
|\ | | | | fixup: Build couch_js for redhat linux
| * fixup: Build couch_js for redhat linuxjiangph2020-08-061-1/+1
| | | | | | | | | | | | When building couch_js in RHEL, there is one error occurring with "undefined reference to symbol '_ZTVN10__cxxabiv117__class_type_infoE@@CXXABI_1.3'". This commit is to adjust binding library to address this issue.
* | Merge pull request #3060 from apache/prototype/fdb-layer-ebtree-speedy-testsRobert Newson2020-08-051-41/+18
|\ \ | | | | | | Speed up ebtree test suite without losing coverage
| * | Speed up ebtree test suite without losing coverageRobert Newson2020-08-051-41/+18
|/ /
* | Fix range scans over an empty treePaul J. Davis2020-08-051-0/+24
| |
* | Handle empty reduce batchesPaul J. Davis2020-08-051-0/+9
| |
* | Export reduce/5Paul J. Davis2020-08-051-0/+1
| |
* | add local_seq option to views (#3043)garren smith2020-08-053-10/+97
|/ | | | add local_seq option to views
* Merge pull request #3055 from apache/prototype/fdb-layer-ebtree-collate-validateRobert Newson2020-08-041-1/+11
|\ | | | | Validate the result from collate_fun
| * Validate the result from collate_funRobert Newson2020-08-041-1/+11
|/
* Merge pull request #3053 from apache/aegis_key_manager_appRobert Newson2020-08-041-7/+26
|\ | | | | Optionally add a key manager application as a dependency
| * 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
| |\ \ |/ / /