1
0
Fork 0
Commit Graph

4068 Commits

Author SHA1 Message Date
Simon c584527d79 Fix restore of views, add --view option (#7425) 2018-11-22 19:24:24 +01:00
Simon 2ca8a4fd36 Documentation on Operational Factors and Data Models (#7374) 2018-11-22 16:01:30 +01:00
Simran f5e8d5ead4 Doc - removes deprecated Actions pages and examples (#7391) 2018-11-22 02:03:09 +01:00
jsteemann c8b38e5d06 update known issues 2018-11-21 16:14:28 +01:00
Omar_A f8eab9b7e1 added ":true" to "X-Arango-Allow-Dirty-Read" header (#7277) 2018-11-20 13:08:15 +01:00
jsteemann 58208d32c4 forward-ported #7190 2018-11-20 13:00:46 +01:00
Jan f1760bf01b
fix failing non-deterministic query-stream test (#7295) 2018-11-13 11:36:41 +01:00
jsteemann 70674ccdfa adjusted documentation w.r.t. to toggling statistics 2018-11-12 17:55:32 +01:00
Vasiliy f088733420 issue 496.3: move more coordinator-related logic out of TRI_vocbase_t, rename some arangosearch view configuration parameters, remove some consolidation policies, update iresearch to revision 6fd9760d81b136f769e277ea5b8f53996ed7a1ca (#7166)
* issue 496.3: move more coordinator-related logic out of TRI_vocbase_t, rename some arangosearch view configuration parameters, remove some consolidation policies, update iresearch to revision 6fd9760d81b136f769e277ea5b8f53996ed7a1ca

* address potential deadlock between link creation and FlushThread

* remove code causing nullptr access

* add back lock around reader reopen

* revert: address potential deadlock between link creation and FlushThread

* invalidate payload for each field in FieldIterator before setting a value
2018-11-01 23:10:01 +03:00
Jan 7e78f85f61
add separate option `--query.slow-streaming-threshold` (#7181) 2018-10-31 21:31:52 +01:00
Vasiliy 8f44afb6cf issue 496.1: switch scope of responsibility between a TRI_vocbase_t and a LogicalView in respect to view creation/deletion (#7101)
* issue 496.1: switch scope of responsibility between a TRI_vocbase_t and a LogicalView in respect to view creation/deletion

* backport: address test failures

* backport: ensure arangosearch links get exported in the dump

* backport: ensure view is created during restore on the coordinator

* Updates for ArangoSearch DDL tests, IResearchView unregistration and known issues

* Add fix for internal issue 483
2018-10-30 12:50:35 +03:00
Jan 28e22d60be
add option `--rocksdb.total-write-buffer-size` (#7025) 2018-10-25 11:36:26 +02:00
Andrey Abramov 86ebc30290 update ArangoSearch known issues (#7055) 2018-10-24 21:59:27 +02:00
Simran eab1488128 Doc - Foxx CLI: Add link to blog post (#6911) 2018-10-24 13:41:01 +02:00
jsteemann 04a8f8048e remove fixed issues from the known issues list 2018-10-23 20:50:03 +02:00
Jan Christoph Uhde 66338f117d removes generated manpages from devel (#6468) 2018-10-23 20:41:00 +02:00
Simran ad4d7dcc22 Doc - Turn ArangoSearch links into a list (#7028) 2018-10-23 20:09:52 +02:00
Simran 496ab3af05 Doc - Deprecation notes 3.4 (#6405) 2018-10-23 17:45:07 +02:00
Simran a7a50bc2d2 Doc - Highlight importance of backups (#7007) 2018-10-23 15:00:48 +02:00
Alan Plum 4e25350f6b Fix Foxx API handling of broken services (#6459)
* Add tests for service failing on mount

* Don't install broken services

* Restore error page for broken services

* Prefer JSON error pages

* Expose service upsert in API

* Add Foxx fixes to CHANGELOG

* Update CHANGELOG

Typo
2018-10-23 13:05:03 +02:00
Simon 4c1e8819c2 Add engine specific collection APIs (#6977) 2018-10-19 17:46:33 +02:00
Simran c83d74e384 Doc - Training material links (#6683) 2018-10-17 23:52:35 +02:00
Simran 34d5afc734 Doc - Fix link to ArangoSearch main chapter (#6929) 2018-10-17 00:08:06 +02:00
maxkernbach 2fc19c3a39 Doc - set RocksDB as the default storage engine (chart) (#6889) 2018-10-15 14:26:00 +02:00
Andrey Abramov 7d76372700 update changelog and LOKI 2018-10-13 14:10:47 +03:00
Vasiliy 78567bef09 update iresearch to codebase as of 20181011 (#6858)
* update iresearch to codebase as of 20181011

* backport: address cluster test failures

* backport: address dump test failures

* backport: address discrepency in view creation between single-server and cluster

* backport: address test failure on cluster (revert change)

* backport: address test failures

* backport: address MSVC build issues

* backport: address issue with LogicalDatasource destructing after TRI_vocbase_t

* Revert "backport: address issue with LogicalDatasource destructing after TRI_vocbase_t"

This reverts commit 4f9880bbaa22194dfbb604b5a54658de1d447ac1.
2018-10-12 21:07:12 +03:00
Simon fd81f52ab4 Allow WAL logger to split up transactions (#6800) (#6866) 2018-10-12 17:50:58 +02:00
Jan 6d54518145
forward port changes from 3.4 (#6849) 2018-10-12 17:49:17 +02:00
Michael Hackstein 838e91bbe0
Documentation/improve gharial documentation (#6782)
* Minor update to gharial list call

* Updated documentation for graph creation API

* Updated graph get documentation

* Added a section for Query Parameters in Graph Create

* Improved gharial drop documentation

* Added ReturnBodies for graph creation results

* Added the response object description to graph list

* Minor typo

* Added response bodies to graph get documentation.

* Added Response Body documentation on Graph grop

* Added HTTP documentation for add graph vertex collection

* Added dots to finish one-line API description sentences.

* ReplyBodyNames have to be globally unique 😢

* Documented ResponseBodies for vertex-collection-add

* Documented ResponseBodies for vertex-collection-remove

* Added result bodies for create vertex in graph documentation

* started to extract structure in separate file

* Fixed orphan structure reference

* Reuse the same documentation structore in all Graph APIs

* Documented list edge collections in GraphAPI

* Unified vertex representation

* Documented edge definition creation API

* Documented modification of edge definition

* fix support for external structure definitions

* Unified edge definition struct

* Added documentation code for vertex CRUD in Gharial

* Removed unused struct in GraphRestDocu

* Added documentation for edge CRUD in gharial. Fixed wording in vertex CRUD part

* Added missing dots at end of sentences

* MOre dots at end of sentences

* Removed empty lines

* Fixed missing edge_definition remove documentation

* Fixed a typo
2018-10-11 15:18:11 +02:00
Jan e78d1aa541
Bug fix/even more ldap debugging (#6736) 2018-10-08 09:42:11 +02:00
Simon 1e65af28ef Document --javascript.copy-installation (#6702) 2018-10-04 20:51:06 +02:00
jsteemann b418bbaa45 updated CHANGELOG and known issues 2018-10-02 20:05:51 +02:00
Simon 7183475f82 Doc - Active Failover upgrade guide, missing maintenance API docs (#6609) 2018-10-02 18:13:37 +02:00
Simran 7a6575ec70 Doc - sync 2018-10-02 (rename arangodbjs to arangojs) (#6680) 2018-10-02 16:31:18 +02:00
Simran fd1019c51e Doc - Sync external repos 2018-09-26 (#6476) 2018-10-01 18:12:56 +02:00
sleto-it e9b727c41f
Doc - Improve backup page (#6641) 2018-10-01 15:49:03 +02:00
Vinay Pyati f4b6d3ef70 Doc - list the current configuration options (#6571) 2018-09-27 15:42:41 +02:00
Simran 4ef203caf7 Doc - Fix anchor link and typos (#6617) 2018-09-26 15:44:09 +02:00
Simon 0a9afccde5 Fix crash on Agency / DBserver with user JWT tokens (#6594) 2018-09-26 14:26:35 +02:00
Alan Plum 78425e510c Add support for nested aql queries in JS (#6482)
* Add support for nested aql queries in JS

* updated documentation
2018-09-26 14:21:24 +02:00
Jan 260959f87a
Bug fix/replication 33 to 34 (#6603) 2018-09-26 09:48:56 +02:00
Jan ae85fbc4ea
much better diagnostics for AQL query results cache (#6580) 2018-09-25 09:49:11 +02:00
Max Neunhöffer 53b51d61c8 Add advertised endpoints to new features list for 3.4. (#6587) 2018-09-25 09:39:42 +02:00
KVS85 35e6177eee More known issues for ArangoSearch in 3.4 (#6567) 2018-09-21 13:28:53 +03:00
Simon d64af1f3d3 Doc - Fix Active-Failover limitations (#6353) 2018-09-20 13:22:44 +02:00
Max Neunhöffer 84735955ea Add advertised endpoints. (#6104) 2018-09-13 16:30:55 +02:00
Jan faac94a5c9
forward-ported from 3.4 branch feature-3.4/aql-extensions-080908 (#6462) 2018-09-12 13:58:20 +02:00
jsteemann 8fb4509d6f fix documentation 2018-09-12 11:03:20 +02:00
jsteemann 9cd829bf74 added note about max length of `--server.jwt-secret` 2018-09-11 15:01:19 +02:00
Heiko 2ec1a5cc26 Feature/new devel versioning scheme (#6312) 2018-09-11 08:57:38 +02:00
Heiko 0ebae005d7 added tests, updated docu (#6407) 2018-09-10 16:58:03 +02:00
jsteemann 0d048c7659 start new features documentation for 3.5 2018-09-08 14:34:20 +02:00
sleto-it 42db425b3e
Doc - 3.4 Highlights (#6404) 2018-09-05 23:02:02 +02:00
sleto-it 4c676ab11a
Doc - Link more tutorials (#6297) 2018-09-05 21:17:42 +02:00
Simran 5c9cf69bd2 Doc - Configuration refactor 2 (#6378) 2018-09-05 19:39:39 +02:00
Simran 595a4034c4 Doc - Fixes to formatting (#6400) 2018-09-05 19:36:05 +02:00
Tobias Gödderz a540042445 Doc - ArangoSearch documentation update (#6323) 2018-09-05 18:17:45 +02:00
Jan 09bf296545
Bug fix/cache fullcount in query cache (#6364) 2018-09-04 16:33:13 +02:00
jsteemann 56b3cc5b9c updated documentation @Simran-B 2018-09-04 15:42:11 +02:00
Andrey Abramov af53b218af
One more ArangoSearch issue 2018-09-03 19:22:22 +03:00
Andrey Abramov f7ed9e6b27
Even more ArangoSearch issues 2018-09-03 18:22:15 +03:00
Andrey Abramov 4e9d2850de
Add one more ArangoSearch issue 2018-09-03 17:52:32 +03:00
Andrey Abramov cf6589485b
Add some ArangoSearch related known issues 2018-09-03 17:49:09 +03:00
jsteemann 78d7c6e93d added deprecation warning 2018-09-03 16:40:03 +02:00
jsteemann 515d427073 remove two issues, as they are fixed! 2018-09-03 15:53:53 +02:00
Heiko b3924a94d8 new features geo aql editor (#6344) 2018-09-03 15:28:57 +02:00
jsteemann 378cf81f7f fix typos 2018-09-03 12:04:49 +02:00
Wilfried Goesgens 2e5343cd0f Add two issues (#6341) 2018-09-03 12:04:01 +02:00
Thomas Fauskanger 8864268265 Doc - Fix minor typo: "a" into "as" in (#6332) 2018-09-02 05:19:12 +02:00
jsteemann 79bffd4ff2 added documentation 2018-09-01 19:21:19 +02:00
Wilfried Goesgens 1a4ccf9de8 differenciate between AQL Queries and AQL Explain in generated headlines and buttons (#6311) 2018-08-31 20:09:46 +02:00
Jan 840ad8c20d
added option `--rocksdb.use-file-logging` (#6308) 2018-08-31 17:23:00 +02:00
Jan abe5bec016 Doc - add known issues for 3.4 release (#6301) 2018-08-30 19:57:42 +02:00
Wilfried Goesgens a30a93aa3f fix example, so geo indices are actually used (#6305) 2018-08-30 19:22:13 +02:00
jsteemann ad98a1a40e added behavior change 2018-08-30 13:16:06 +02:00
Wilfried Goesgens 72b2909dc9 Doc - use standard geo-json in this example (#6291) 2018-08-30 04:41:57 +02:00
jsteemann 8d21ebb323 some more sentence about usage of V8 2018-08-30 00:11:44 +02:00
jsteemann 462bfd0063 update documentation 2018-08-29 19:46:41 +02:00
jsteemann 22ba4b22cf fixed examples 2018-08-29 19:40:32 +02:00
jsteemann 9650911d53 improve wording here and there 2018-08-29 12:34:29 +02:00
Jan 29e4b9b39a
add information about library upgrades (#6277) 2018-08-28 20:03:37 +02:00
jsteemann d698645e04 added notes about nscd requirement 2018-08-28 20:01:01 +02:00
Jan 494764b95c
Bug fix/fiddle version string into test paths (#6267) 2018-08-28 14:58:35 +02:00
Lars Maier 5555bd2fad Schmutz++ Improved (#6259)
* Fixed startup order. Don't start maintenance threads in single-server or agent.
Added range check for `--server.maintenance-threads`.
Fixed invalid array access, when shard exists locally but not in plan.
* Removed unused header imports.
* Added CHANGELOG entry
* Fixed shutdown bug. Startup fixed.
* Fixed catch test.
* Add Maintenance improvements to NewFeature34.md.
2018-08-27 20:25:09 +02:00
jsteemann 4488558a5f fix documentation building 2018-08-27 10:27:56 +02:00
KVS85 f7d85edef9 Doc - Internal issue 448 + fix build (#6229) 2018-08-26 09:32:57 +02:00
jsteemann dbfbfd3a8c added documentation for "number of documents" caching 2018-08-25 11:43:32 +02:00
Jana Volkova 554ea18db2 Included Link to Graph Course (#6248) 2018-08-24 16:57:24 +02:00
Jan 0d48677619
Bug fix/aql optimizer improvements 2308 (#6241) 2018-08-24 13:42:22 +02:00
Jan 2bce75eb86
add AQL function CONTAINS_ARRAY as alias for POSITION (#6242) 2018-08-24 12:50:50 +02:00
Simon 27473360c2 Wal access docs (#6231) 2018-08-24 09:33:58 +02:00
Vasiliy e04b5318b4 issue 450.5: rename consolidation-related configuration properties and remove locale (#6232) 2018-08-23 16:04:25 +03:00
sleto-it 2baba7e05d
Doc - Additional Scalability & Architecture Refactor (#5850) 2018-08-22 23:27:31 +02:00
jsteemann e95a1b5483 added generated files 2018-08-22 20:49:10 +02:00
jsteemann d6aaf1d01b fix documentation 2018-08-22 20:49:02 +02:00
Simran 5dee223951 Doc - Automated EE program options (#6228) 2018-08-22 18:26:13 +02:00
sleto-it 58f42e7240
Doc - Reflect changes in dir structure (#6169) 2018-08-22 16:39:27 +02:00
Vasiliy 61574755b6 issue 450.4: address issues with impropper comparison (#6217) 2018-08-22 15:49:56 +03:00
jsteemann fa0def4d3a added generated files 2018-08-21 18:53:27 +02:00
jsteemann 9959218d1d revert unification of collection name validation 2018-08-21 18:46:13 +02:00
jsteemann 1085ed3689 fix documentation 2018-08-21 15:42:07 +02:00
Jan 9355a06618
Bug fix/fix documentation issues (#6211) 2018-08-21 14:47:45 +02:00
Vasiliy 325e61b4ed issue 450.3: use a single configuration policy differentiated by 'type' with arbitrary number of configurable parameters (#6205)
* issue 450.3: use a single configuration policy differentiated by 'type' with arbitrary number of configurable parameters

* ensure test data is persisted to the test directory

* add missed declaration

* fix typo

* add full namespace and includes
2018-08-21 14:46:28 +03:00
KVS85 aeadad0790 Doc - Updated arangosearch doc (issue 442) (PR #6130) 2018-08-21 11:14:31 +02:00
Jan 2aa879a53b
unify validation of collection names in AQL (#6203) 2018-08-21 11:11:15 +02:00
Simon ae55567013 Doc - Update put_admin_server_mode.md (#6208) 2018-08-21 10:48:16 +02:00
Omar_A 1b3ce50d21 Removed Limitation note in transaction (#6023) 2018-08-20 19:05:34 +02:00
Simon 229c09d434 Allow dirty-reads from passive (#6136) 2018-08-20 16:26:14 +02:00
jsteemann ac2bd395cd extend documentation 2018-08-20 13:18:20 +02:00
Jan 102f15bece
removed several unused internal APIs (#6193) 2018-08-20 12:57:58 +02:00
Jan 7cb1da12cf
make AQL functions construction easier (#6195) 2018-08-20 11:56:38 +02:00
Vasiliy c08ab01f67 issue 450.1: remove the "commit" configuration layer from ArangoSearch properties (#6185)
* issue 450.1: remove the "commit" configuration layer from ArangoSearch properties

* fix broken tests
2018-08-20 02:18:02 +03:00
Jan 99f176bed5 Feature/add search keyword (#6166)
* added SEARCH keyword

* fixes jslint errors

* add incompatibility notice

* remove VIEW keyword (does not work yet!!)

* add initial support for SEARCH keyword to optimizer rules

* replace FILTER with SEARCH keyword in tests

* removed VIEW keyword, make shell_server_aql tests pass again in single server

* cleanup

* handle SEARCH clause for views

* make SEARCH a non-keyword

* fixed an issue with duplicate variables

* fixed 3 tests

* fix SEARCH statement support for views

* minor refactoring

* fix integration tests

* optimize SEARCH conditions a bit more

* fix jslint error

* fixed wrong comments and typo in class name

* fix documentation

* adjust recovery tests to use SEARCH instead of FILTER

* fix another failing test
2018-08-18 20:22:58 +03:00
Alan Plum 1698687f4f Add uuidv4 & genRandomBytes methods (#5732) 2018-08-17 11:04:43 +02:00
Jan 86204ed0b8
fix memory leaks in arangosh connections (#6160) 2018-08-17 08:48:54 +02:00
Jan d7e631eddf
Bug fix/more sparsung (#6177) 2018-08-17 08:47:45 +02:00
Jan b5eaf1443b
make optimizer rule "patch-update-statements" fire for REPLACE too (#6181) 2018-08-17 08:45:40 +02:00
sleto-it 96db5356b8
Doc - 3.3.14 new starter upgrade procedure + partial sync of external repos (#6020) 2018-08-16 20:06:53 +02:00
KVS85 e6188ab4ff Doc - Added notice related to converting JSON files to JSONlines (#5859) 2018-08-15 20:33:30 +02:00
maxkernbach bc28a0e8d1 Doc - sync drivers: JS + SpringData (#6148) 2018-08-15 20:23:53 +02:00
Omar_A 241eea4748 Doc - added Encryption Limitation notes (#6147) 2018-08-15 20:20:10 +02:00
maxkernbach 4ee81fc7d7 Doc - add MacOS Upgrade page (#6149) 2018-08-15 20:18:42 +02:00
Jan 2bc672cebd
centralized more of the sharding strategies code (#6140) 2018-08-15 14:37:01 +02:00
jsteemann 039305d486 fix documentation 2018-08-14 17:55:29 +02:00
jsteemann d7519d83e7 added missing AQL function to the docs 2018-08-14 17:54:37 +02:00
jsteemann b09638a883 fixthedocs.com 2018-08-14 12:02:53 +02:00
jsteemann 7b5b112b88 update NewFeatures34.md 2018-08-14 11:07:24 +02:00
jsteemann 9141855b16 some adjustments to the docs for `REGEX_MATCHES` 2018-08-14 11:04:48 +02:00
jsteemann d634e0166b Merge branch 'feature/add-aql-function-regexmatches' of https://github.com/arangodb/arangodb into devel 2018-08-14 10:18:53 +02:00
Simran c9ef2b2560 Doc - Add link to build-docker-containers in README_maintainers (#6127) 2018-08-10 02:11:26 +02:00
Shivam Dave 1360cfc3c3 Resolved regex matches integration tests and documentation 2018-08-09 15:09:47 -07:00
Jan 8267c61ec2
Merge branch 'devel' into feature/add-aql-function-regexmatches 2018-08-09 20:28:06 +02:00
Shivam Dave 47bea99bbe Regex matches implementation integration tests and documentation 2018-08-09 10:17:32 -07:00
jsteemann dda7f558aa updated release notes 2018-08-09 16:58:05 +02:00
jsteemann 0797fda87f added section for deprecated features 2018-08-09 14:31:46 +02:00
Jan bf3ce0b704
fixed issue #6106: Arithmetic operator type casting documentation inc… (#6113) 2018-08-09 11:30:54 +02:00
Tobias Gödderz de4f5587ae Gharial rewrite in C++ (#5631)
* Built a C++ skeleton REST handler for gharial, with fallback to the JS handler

* Moved aql::Graph to graph::Graph

* Added complete edge definitions to Graph

Also:
- some cleanup
- used forward-declarations in headers
- use Graph in graph rest handler

* Handle graph lookup failures according to the test suite

* Added GET vertex

* Bugfixes in ResultT

- Added missing #include
- Fixed move semantics

* Move central code of readVertex to GraphOperations

* ResultT fixes and complements

* Implemented a graph cache

* Added and used graph cache to the rest handler

* Added GET edge

* Added DELETE edge

* Extracted some code

* Added PATCH and PUT for both edge and vertex

* Moved update/replace transaction code to GraphOperations

* Added stub routes for POST and a TODO note

* Added a test checking that deleting a vertex removes all incident edges as well

* Added a test checking that deleting a vertex does not remove edges in non-graph collections

* fixed compiler warnings and errors

* Began work on DELETE vertex

For this, added a V8Context to allow for AQL queries to use subtransactions

* Continued work on DELETE vertex (still WIP)

* prep for graph post routes

* fixed removeVertex operation (aql)

* added post vertex and post edge gharial routes

* wasSynchronoues flag changed

* gharial post c++ handler, naming conventions

* added gharial tests

* temporary disabled cache (because not completed), added graph property read functions

* added c++ gharial list vertex collections

* added c++ gharial graph config

* added c++ gharial list graphs

* added graph manager class

* first implementation of create graph in c++, WIP

* changed error messages

* added etag to create graph api, still multiple edge definition check missing

* finished POST /_api/gharial/<graph>

* WIP - DELETE /_api/gharial/<graphName>

* added DELETE /_api/gharial/<graphName> validation, still missing correct response

* gharial delete

* fixed delete gharial lock

* finished DELETE /_api/gharial/<graphName>

* added routes for graph based vertices and edge definitions

* improved delete route

* added add new edge definition to existing graph

* patch edge definition in a graph, still <WIP>

* finished edit edge definition route

* code changes due to devel code changes

* added remove edge definition route

* added vertex delete function

* added todo note regarding one drop collection issue

* add oprhan collection to graph route implemented

* Added a test

* Updated a comment

* Several minor changes

* Minor changes during review

* Changes during review

* Changes during review

* Bugfix: orphans may be null or omitted

* Bugfix: resolve externals

* minor code changes

* seperated graph class to independent component classes

* seperated graph class to independent component classes

* removed log output

* fixed create collection behaviour in a cluster environment

* fixed enterprise graphs behaviour in c++ gharial api

* removed log output

* formatting

* improved error handling, fixed a linux compile bug

* more result refactoring

* more result type cleanup

* fixed wrongly defined test

* result handling

* error handling

* more refactoring

* Bugfix: avoid race condition in cluster when creating collections

* updated graph documentation

* added graph related static strings

* static strings, new method to create options for gharial created collections

* Some minor cleanup

* more use of static strings

* minor code changes, review

* added missing parseint

* removed gharial foxx, added js common module, added v8 general graph module

* correct use of virtual method

* more v8, js general graph, broken state

* more v8 graph functions

* fixed editEdgeDefinition, added drop function

* fixed drop behaviour

* added _list, _exists

* added c++ rename graph collections, added v8 + graph module function

* Added a regression test

* added graph._deleteEdgeDefinition, v8, server

* more v8g

* added _removeVertexCollection

* added _extendEditDefinitions

* todo, need to add a helper sort method for a local defined relation

* fixed test

* fixed lots of tests, added more client functions, _addVertexCollection on client module is still broken

* added more client graph functions, all tests green

* more client functions

* add del edge def route

* Fix use after move

* Minor changes in client general-graph.js module

* Make a copy before sorting (don't touch the argument)

* Minor changes and some additional asserts in graph tests

* Consistently set parameter defaults

* Renamed static strings

* Remove superfluous function

* Made comment more verbose

* Minor changes in general-graph-common.js

* Added missing template arguments

* Fixed community build

* Cleanup in editEdgeDefinition

* Regression test & bugfix: comparison of edge definitions didn' order from and to

* Fixed errors introduced by merge

* Minor changes in v8-general-graph.cpp

* Fixed test failure due to wrong error code in CE

* added missing id field

* Added permission checks for graph._create

* Removed assertion that is no longer valid

* Moved removeGraph from GraphOperations to GraphManager

* Allow C++ implementation of graph._drop to handle smart graphs

* Flush js client db cache after creating/dropping collections via the general graph module

* Added _deleteEdgeDefinition to the general graph client module

* WIP: Added permission checks for drop graph

* Fixed permission checks for drop graph

* Added permission checks for other graph operations

* Bugfix: assert edge definitions are returned in order

* Some cleanup

* Removed unused method

* Minor improvements in GraphManager

* Fixed a type in general-graph common module

* Most useful fix of all times ever: Do not auto cast from bool to int and alternate error/noerror by this

* Added the initial keyword to StaticStrings

* Added a new error code, used whenever a user tries to inject a documentcollection as a relation into the graph, which is invalid

* Some GraphManager/Ops/Graph cleanup. Less Slice parsing, more usage of GraphObjects

* Test edgeDefinitions in graphs with a defined ordering

* GraphClass Layout cleanup

* Do not test error messages, use codes instead

* Recreated backwards compatibility of Graph Creation Permission errors

* Changed error-code if edgedefinition is used twice

* Added a StaticString for the GraphName

* Renamed graphToVpack => graphForClient

* Partly fixed graph-api test to work with better error messages. Still red: The edgeDefinitions are now sorted, the test is supposed to sort his own list, but appearently does not do so. Under investigation

* Added a new error code that rejects injection of differently sharded smart collection into smartgraph. Should be more helpful to our users

* graph createCollectionOptions now require an open object to be cross-called from enterprise. Made enterprise switch for creation of graph more elegant.

* Updated graphs.cpp

* Massive refactoring. Made Factories for graphs to make SmartGraph much more transparent. Also reduced amount of multiple implementations of the same stuff. Killed vocbase/graphs use GraphManager instead. Removed usage of GraphCache, was not completely implemented anyway and only partially used, which is bad at the moment. Option for later improvement never the less

* Adapted JS code to now really use c++ variants. ALso included 3 Classes: Graph, SmartGraph and GraphModule.

* Fixed undefined behaviour in Remove Vertex. Fixed smartgraph sharding if one collection already exists.

* Removed DEBUG output

* Removed DEBUG logs

* Removed dead code

* Fixed Graph EdgeDefinition test, they now have a different ordering.

* Added a test when adding a vertexCollection that it is actually valid in the graph

* Client Graph API now correctly sends `orphanCollections` and not `orphans`

* Let GraphOperations modify the graph in-place. It should now properly handle edgeDefinitions.

* Added initial cid StaticString

* Included the vocbase in fromPersistence creation of Graphs. Only required to enhance 3.3 SmartGraphs on the fly.

* Fixed internal error message

* Fixed compiler isses originiated from merging

* Removed unused imports

* Regenerated generated file
2018-08-09 09:30:04 +02:00
Dan Larkin-York fddee01296 Document hidden --server.flush-interval parameter. (#6122) 2018-08-08 17:03:44 +02:00
Simon 6a97e441a6 Doc - New section for query profiler + fresh examples (#6070) 2018-08-08 10:51:09 +02:00
sleto-it b95767247c
Doc - Arangodump improvements (#5881) 2018-08-07 21:54:13 +02:00
Jan d5180ef838 Doc - add TOKENS AQL function to general list of AQL functions (#6105) 2018-08-07 21:39:38 +02:00
Jan 4d4135d25c
Feature/add dbserver as an alias for primary (#6072)
* add "DBSERVER" as an alias for "PRIMARY"

This allows specifying the value "DBSERVER" for `--cluster.my-role`.
"DBSERVER" is only treated as an alias for "PRIMARY", because several
other parts of the code and APIs use the string "PRIMARY".
Changing these from "PRIMARY" to "DBSERVER" would make the change
downwards-incompatible, which we do not want.

The downside of this alias-only solution is that even when specifying
a role value of "DBSERVER", the server will still report its role as
"PRIMARY", which may be a bit confusing. The server will also generate
its id as "PRMR-XXXX" as before:

    2018-08-03T15:23:09Z [9584] INFO {cluster} Starting up with role PRIMARY
    2018-08-03T15:23:09Z [9584] INFO {cluster} Cluster feature is turned on. Agency version: {"server":"arango","version":"3.4.devel","license":"enterprise"}, Agency endpoints: http+tcp://[::]:4001, server id: 'PRMR-f655b728-4cea-44ac-88e9-8b34baa80958', internal address: tcp://[::1]:8629, role: PRIMARY

* adjusted documentation to use "DBSERVER" instead of "PRIMARY"

* api doc

- secondary role not used anymore. stated.
- primary database is not clear. replaced with dbserver
- brief referenced only dbserver and coordinator - better to provide wider description, in line with what is described below, as other roles can be returned

* typo

* typo

* added starting from 3.4

* additional warning

* cited in the release note
2018-08-06 17:20:50 +02:00
Jan b278d6874a
allow master & slave to work in parallel for RocksDB WAL tailing (#6059) 2018-08-03 13:37:53 +02:00
jsteemann c8660c967c Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2018-08-02 09:56:39 +02:00
sleto-it 2bd51d67d0
Doc - fix drivers book summary 2018-08-01 19:29:07 +02:00
maxkernbach ed37a80344 Doc - sync Driver repos (#6055) 2018-08-01 18:39:36 +02:00
jsteemann 44d7a11bd9 Merge branch 'bug-fix/improve-intermediate-commits' of https://github.com/arangodb/arangodb into devel 2018-08-01 17:49:17 +02:00
shivamdave24 d4c6431ee5 Regex Split Implementation (unfinished) (#5991) 2018-08-01 12:09:36 +02:00
Simran 000db91605 Doc - Added a way to disable page-toc (#6040)
- Use headlines again on first pages of Manual and Drivers book
2018-08-01 00:28:36 +02:00
Simran fadd055176 Doc - Vertex Centric Indexes improvements (#5982)
- Fix example, make usage and utilization clearer
2018-07-31 16:28:47 +02:00
Simon Grätzer 8eeff44f30 adjusting documentation 2018-07-31 15:33:28 +02:00
Simon Grätzer a7c78a3f37 Merge branch 'devel' of github.com:arangodb/arangodb into bug-fix/improve-intermediate-commits
# Conflicts:
#	arangod/RocksDBEngine/RocksDBIncrementalSync.cpp
#	arangod/RocksDBEngine/RocksDBIterators.cpp
2018-07-31 15:19:57 +02:00
sleto-it 534977ee4e
Doc - release notes fixes (#6018) 2018-07-31 15:12:45 +02:00
Omar_A db38d72097 Doc - Replaced Rest-API screen-shoot (#6029) 2018-07-31 15:11:46 +02:00
maxkernbach 4693fa44d2 Doc: fix build (fix links + anchors) (#6034) 2018-07-31 13:09:12 +02:00
Simon Grätzer 0d9887e5ad adding changelog 2018-07-30 15:55:28 +02:00
Vasiliy 11ba71ec27 issue 432.1: do not modify IResearchView 'locale' encoding and make it non-updatable (#6014)
* issue 432.1: do not modify IResearchView 'locale' encoding and make it non-updatable

* add a temporary workaround for MacOS build issue
2018-07-27 15:08:23 +03:00
Alan Plum 046a90e8a3 Add pbkdf2 to Foxx auth module (#5667)
* Add pbkdf2 to Foxx auth module

* Add to CHANGELOG
2018-07-27 11:34:52 +02:00
Wilfried Goesgens 8961b39a03 Doc - re-add Mesos-containerizer chapter (#5918) 2018-07-26 23:54:29 +02:00
Thomas Fauskanger 81fe3cede3 Doc - Update tutorial on Traversal: figure shows Ned as father of Jon (#5990) 2018-07-26 23:53:19 +02:00
jsteemann 8dd60de67d documentation updates 2018-07-26 18:20:25 +02:00
Jan 1f16898027
added more RocksDB options and stats (#6006) 2018-07-26 16:48:25 +02:00
Jan 21023945ba
disable RocksDB background syncing on Windows (#6004) 2018-07-26 16:48:11 +02:00
Wilfried Goesgens d131f801e8 Doc - improves build script (#5980)
* output anchors present in the file that another link w. Anchor failed to match
* sort anchors alphabetically, so eyeball-grep works better
2018-07-26 11:09:53 +02:00
Simon 2dd8593609 View Replication (#5915) 2018-07-26 10:28:46 +02:00
Alan Plum 5b5ed838cb Doc - New Foxx docs content (#5842) 2018-07-25 20:03:17 +02:00
Andrey Abramov 9205e2d9f8
allow user to explicitly track values for "exists" query (#5959)
* allow user to explicitly track values for "exists" query

* fix broken catch tests

* rename view link property

* fix tests after merge
2018-07-25 16:55:02 +03:00
shivamdave24 7db28da251 Levenshtein Distance function implementation with documentation and i… (#5922) 2018-07-25 12:48:58 +02:00
jsteemann d4d079c014 use correct RocksDB version number 2018-07-25 12:38:14 +02:00
Dan Larkin-York 83f393500a Add C++ implementation, load-balancing support, and user restriction for tasks API (#5973) 2018-07-25 09:17:43 +02:00
Jan Christoph Uhde 4c0f881764 compatibilty 3.3 <-> 3.4 (#5963) 2018-07-25 09:05:34 +02:00
Vasiliy fae47715eb issue 410.3: remove the extra neting of ArangoSearch view definition into 'properties' (#5956)
* issue 410.3: remove the extra neting of ArangoSearch view definition into 'properties'

* address merge issue

* backport: address test failures

* backport: address dump test failure
2018-07-24 16:27:28 +03:00
jsteemann 3e554660f8 more notes optimization target architecture 2018-07-23 21:39:17 +02:00
maxkernbach 53cd8da157 Doc - fix build (#5961)
*  fix RESTSTRUCT
* commit new swagger
2018-07-23 18:10:00 +02:00
jsteemann 4403594b6b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2018-07-23 17:47:17 +02:00
jsteemann 6fae2148cf added notes about supported architecture 2018-07-23 17:47:01 +02:00
jsteemann 679c2047b4 make auto-storage engine selection texts a bit more precise 2018-07-23 17:40:46 +02:00
maxkernbach c7bf99f91b Doc - fix build (#5957)
- remove blank spaces in REST-blocks
- add missing link
- remove type from "@RESTSTRUCT{[field-name],post_api_view_fields,,optional,post_api_view_field_props}"
- replace in @RESTHEADER#<view-type> with #arangosearch
2018-07-23 16:15:47 +02:00
Dan Larkin-York 718e3f7bfa Add load balancing support and user restriction for async jobs API (#5906) 2018-07-23 15:23:18 +02:00
jsteemann 798196de77 mini fixes 2018-07-23 10:57:51 +02:00
Vasiliy 6edebf0384 issue 410.2: ensure documentation matches implementation (#5939)
* issue 410.2: ensure documentation matches implementation

* minor documentation update
2018-07-21 01:22:05 +03:00
jsteemann 49b50cfe1b added KEEP optimization 2018-07-20 17:33:52 +02:00
jsteemann 54a98d72fd proper uppercase 2018-07-20 16:22:03 +02:00
sleto-it 49554e888c
Doc - Upgrade Refactor - Next Step (#5792) 2018-07-20 11:09:33 +02:00
Simran 2080c81e80 Doc - Enterprise Edition hint boxes (#5921) 2018-07-20 10:53:22 +02:00
Wilfried Goesgens d7f96d2a63 Doc - single link per line (#5904) 2018-07-20 10:46:27 +02:00
jsteemann 2138dc0479 Merge branch 'bug-fix/fixes-1707' of https://github.com/arangodb/arangodb into devel 2018-07-19 16:02:30 +02:00
Wilfried Goesgens 359031e116 documentation: my edits to new features (#5928) 2018-07-19 15:50:06 +02:00
Vasiliy 3c384bf3e8 issue 410.1: ensure both JavaScript and Rest API for views matches API for collections (#5903)
* issue 410.1: ensure both JavaScript and Rest API for views matches API for collections
* backport: address some FIXMEs
* backport: address test failures
* backport: address more test failures
* backport: fix some Ruby tests
* temporarily comment out broken Ruby tests
* backport: fix more broken Ruby tests
* temporarily comment out failing Ruby tests
* backport: match result structure for View instances with Collection instances
* backport: return different result structure for view listing and view definition
* backport: fix even more broken Ruby tests
* backport: do not depend on unordered_set stable order
* update documentation
2018-07-19 15:07:17 +02:00
Simon 7ce35eacd6 adding docs for key options (#5926) 2018-07-19 13:51:06 +02:00
Jan a9f8b1b64e
Merge branch 'devel' into bug-fix/fixes-1707 2018-07-19 10:33:16 +02:00
jsteemann c7b1673019 fix example as suggested by @dsonet 2018-07-19 10:29:09 +02:00
jsteemann 6fdbe43da6 update new features documentation 2018-07-19 01:57:03 +02:00
Wilfried Goesgens bf32c4e7e1 Doc - add duplicate check in the build script (#5897) 2018-07-18 19:01:07 +02:00
maxkernbach 0bf38a1c8b Doc - Drivers: add headings + sync spark-connector (#5920) 2018-07-18 18:37:55 +02:00
jsteemann 2428ae5b36 updated release notes 2018-07-18 15:53:43 +02:00
jsteemann 8b91bea576 as usual, @fceller is right 2018-07-17 22:15:51 +02:00
jsteemann 21980cfc52 Merge branch 'devel' of https://github.com/arangodb/arangodb into bug-fix/fixes-1707 2018-07-17 22:13:08 +02:00
jsteemann 8a6650f1f6 updated documentation 2018-07-17 22:03:13 +02:00
sleto-it baf43ab1c5
Doc - Links changelog of the Go driver (#5896) 2018-07-17 19:19:53 +02:00
Vasiliy a401934d62 issue 399.3: remove internal persisted proerty 'collections' from externally generated IResearchView jSON (#5874)
* issue 399.3: remove internal persisted proerty 'collections' from externally generated IResearchView jSON

* backport: address test failure

* backport: address another test failure
2018-07-17 15:21:07 +03:00
jsteemann 39021d008d make engine equality check feature abort the startup when there are different storage engines used in a cluster 2018-07-17 14:08:01 +02:00
jsteemann c2ffc3d21d Merge branch 'devel' of https://github.com/arangodb/arangodb into bug-fix/fixes-1707 2018-07-17 13:30:18 +02:00
jsteemann 6d2f214b48 make RocksDB the default storage engine 2018-07-17 13:29:31 +02:00
jsteemann 1588c358b9 options cleanup 2018-07-17 12:33:10 +02:00
Jan f4b99bb5ed
Bug fix/meierloch (#5895) 2018-07-17 11:39:50 +02:00
Jan 1a128799f2
finalize `--rocksdb.sync-interval` feature (#5856) 2018-07-17 11:09:57 +02:00
jsteemann f7a16f60ea updated changes 2018-07-16 22:12:38 +02:00
jsteemann eedfe80361 remove obviously unused DEPRECATED.md file 2018-07-16 21:48:55 +02:00
jsteemann 36f05c07e0 cleanup of server options 2018-07-16 21:38:35 +02:00
maxkernbach d0aeff6db3 Doc - sync from external repos (#5889) 2018-07-16 18:59:44 +02:00
jsteemann b6cd448c54 update CHANGELOG 2018-07-16 17:24:02 +02:00
sleto-it e0f934e705
Doc - fix build (#5887) 2018-07-16 11:26:27 +02:00
shivamdave24 c45a1b6ac1 Soundex function implementation with integration tests and minor bug fixes to feature/add-aql-tobase64-tohex-encodeuricomponent-uuid branch (#5851) 2018-07-13 17:47:25 +02:00
Wilfried Goesgens 35d87bdbd5 add APIs to the changelog (#5870) 2018-07-13 17:24:22 +02:00
Simran 34ec56d421 Feature/misc spelling corrections (#5164) 2018-07-13 13:06:20 +02:00
Jan Christoph Uhde bcf9e30a4d Feature/cluster single operations (#5585) 2018-07-12 20:18:36 +02:00
sleto-it 8714a9293c
Doc - Starter Recovery Procedure + external sync (#5853) 2018-07-12 14:55:33 +02:00
sleto-it ccde2a5ea2
Doc - Deployment - Missing commit (#5848) 2018-07-11 21:02:41 +02:00
sleto-it a75905b62d
Doc - Additional Deployment Refactor (#5776) 2018-07-11 20:46:19 +02:00
Simran ef6e5dd8df Doc - do not wrap links in Markdown, unclutter page ToC (#5820) 2018-07-11 19:34:38 +02:00
Wilfried Goesgens fca40ca87c Doc - improve error handling in case of empty json file (#5832)
* improve error handling in case of empty json file
* fresh examples
* Update generateMdFiles.py
2018-07-11 19:32:09 +02:00
Simran 3504b737d4 Doc - Re-add automatic pacing paragraph for arangoimport (#5840)
* This paragraph got lost in programs refactor
2018-07-11 19:30:53 +02:00
maxkernbach cf39008acb Doc - new page 'Remove vertex' in AQL examples (#5818) 2018-07-10 19:07:30 +02:00
maxkernbach d3870dc81e Doc - add driver link in the Manual readme.md (#5829) 2018-07-10 19:05:59 +02:00
maxkernbach fad5a0fcdf Doc - fix java driver integration (#5826) 2018-07-10 18:43:26 +02:00
Vasiliy 64666d0edd issue 400.2.4: register IResearchView sync tasks with IResearchFeature, remove unused configuration parameter (#5813)
* issue 400.2.4: register IResearchView sync tasks with IResearchFeature, remove unused configuration parameter

* set flag before notify, fix failures in new tests from 'devel'

* revert set flag before notify, fix more failures in new tests from 'devel'

* fix even more failures in new tests from 'devel', backport: do not reset notification flag if pending tasks were seen

* fix still more failures in new tests from 'devel'

* try to work around buggy test failures
2018-07-10 18:15:01 +03:00
Vinay Pyati bc55b61d04 Doc - Update java driver chapter (#5796) 2018-07-09 18:28:58 +02:00
sleto-it a6c3ce48a9
Doc - Upgrade Paths (#5795) 2018-07-09 18:27:39 +02:00
Tobias Gödderz fc3e11dbbc Async AQL (#5806)
* Modified header to new initializeCursor API

* Adapted initializeCursor to DONE/WAITING API. Compiles but not tested and no one reacts to WAITING state, it is not returned anywhere yet

* Subqueries now expect a WAITING return from initilize cursor. However they will just return a nullptr and pretend the query is empty, this will be fixed later

* First attempt to simulate thread waiting over information within the query

* Small fix to allow for isDirect handlers to go to sleep.

* Waiting in the necessary places now for the async request to be send.

* Thank you auto-casting compiler, you are totally right i absolutely wanted to use this bool value as an index in may Array. How could i possibly not want to use it here?

* Include cond-var header

* Fixed mutex/cond_var usage

* Added oldAPI wrappers in AQL Blocks for get/skip some variants. This Commit compiles but is NOT tested

* Let getSome now return unique_ptr of AqlItemsBlocks. Also implemented the async variant of getSome in subqueries.

* Removed all references to OLD implementations in AQL. only the base wrappers are allowed to call OLD functions from now on. Now the testing part starts

* Fixed endless virtual recursion

* Implemented new getOrSkip API in SortBlock

* Implemented new getOrSkip API in LimitBlock

* Initilaize all variables

* Fixed logic bug in SubqueryBlock

* getBlock in ExecutionBlock now returns a state. All blocks need to handle this properly!

* Createad a wrapper getBlockOld that servers the old sync api and is used now in AQL. To be replaced overtime.

* Added IndexBlock::skipSome and IndexBlock::getSome

* getBlock now returns its old return value along with the state

* Switch from getBlockOld to getBlock in IndexBlock::skipSome

* Switch from getBlockOld to getBlock in IndexBlock::getSome

* ShortestPathBlock::skipSome is not implemented! Added a regression test

* Attempt to fix SubQueryResult memory management

* Fixed LIMIT Block

* Moved from ShortestPathBlock::getSomeOld to ::getSome

* Implemented ASYNC api on SingletonBlock

* Adapted EnumerateCollectionBlock to new async API

* Fixed FilterBlock and adapted return block to async API

* Adapted NORESULTS block to async AQL api.

* Adapted Modification Blocks to async API

* Fixed some initialize cursor functions to reset values required during get/skipSome

* First steps to adapt ClusterNodes to Async AQL api. Not there yet, need to implement the core still

* Added asnyc implementation for xxxForShard in ClusterBlocks. This commit changes internal logic of _doneForShard. Needs additional testing as soon as everything is in place.

* Adapted CalculationBlock to async API

* Adapted TraversalBlocks to ASYNC Aql. This is not optimal yet, we need a better decission if we are DONE or not on RETURN

* Adapted EnumerateListBlock to Async AQL api

* Adapted RemoteBlock to ASYNC API in getSome/skipSome. The whole thing is now LIVE in the cluster. Exetensive testing to be started now

* Fixed IndexBlock WAITING behaviour if Waiting occurs during a index processing

* Adapted IReasearchViewBlock to ASYNC AQL API

* Fixed SortingGatherBlock in WAITING state.

* Adapted IResearch ExecutionBlockMock to Async API

* Unified the HASMORE/DONE distinction. Code is much more readable now and harder to get incorrect 👍

* Implemented tonly heoretically reachable function of non void function.

* Fixed last commit

* Added inline TODO comments

* fix warning

* Fixed a clearing logic bug in RemoveNodes

* Fixed Error Handling in RemoteBlocks. Also fixed a logic bug (true/false simply has a 50% chance of getting it wrong) in Distribute and Scatter.

* remove unused methods

* Fixed failure test

* implement skipping

* Moved the Query Waiting out of the ExecutionEngine.

* changed one of the collect blocks

* Removed _upstreamState from ExecutionBlockMock, that is in the base-class now

* Added a Test Mock for a an ExecutionBlock that simulates the WAITING/HASMORE/DONE api.

* do not check "hasMore" if not necessary

* Added DistinctCollectBlock::getOrSkipSome from ~Old and changed its return type

(still uses getBlockOld)

* Save state to resume in DistinctCollectBlock::getOrSkipSome

* Extracted redundant code

* fixed some ops

* added one more test

* fix endless blocking

* fix compile error

* fix test

* Refactored HashedCollectBlock::getOrSkipSome

* Return blocks to the manager

* Replaced usage of getBlockOld in HashedCollectBlock::getOrSkipSome

* remove unused shutdown calls, simplify ownership for expressions

* Removed superfluous variable

* Capture const variable by value

* Removed SortedCollectBlock::getOrSkipSomeOld in favour of getOrSkipSome

* Added a working version of SortedCollectBlock::getOrSkipSome

Has yet to be cleaned up

* Removed isTotalAggregation special treatment

* On no input, return a group of nulls (instead of no group at all)

* Bugfixes

* Simplified code

* Move return to the end, eliminate duplicate code

* Corrected skipped count in HashedCollectBlock

* Aligned getNextRow() implementations

* Added comments

* some cleanup

* fix potential memleak

* Bugfix

* Fixed failure tests

* Removed usage of getBlockOld in ExecutionBlock::getOrSkipSome

* Replaced hasMore with an async implementation (mostly)

* Removed getBlockOld()

* Added hasMoreState to the AQL API (and renamed hasMore methods to hasMoreState)

* RemoteBlock now uses the async hasMoreState route

* remove job queue

* options

* Bugfixes in the async implementation of LimitBlock

* LimitBlock::getOrSkipSome now always skips when calculating the fullcount

* fix compile warnings

* restrict threads

* Fixed api of Waiting ExecBlockMock. Unused yet

* Made SortedGatherBlock async-capable

* Removed nonEmptyIndex hack

* Removed duplicate traceGetSome~ calls, moved all to getSome

* Added asserts before replacing getNr*Registers

* Added a TODO note and a comment

* Removed getSomeWithoutRegisterClearoutOld()

* Removed skip()

* Removed common code by using getNr*Registers()

* Use getNr*Registers() in the TraversalBlock as well

* started to add lane

* started to add lane

* added lane

* completed lane

* removed debug output

* fixed merge

* Began working on a test suite for AQL tracing/profiling

* Added more tests and asserts in aql-profiler

* Made some ExecutionBlocks final

* Added a type enum to all blocks and the per-block stats

* Add block type to stats nodes when tracing AQL on block level

* Removed initializeCursor call from instantiateFromPlan

* Avoided additional getSome calls after DONE

* Added more profiler tests

* Refactored ExecutionBlock::getOrSkipSome and fixed two bugs

- set _upstreamState also when skipping
- explicitly use xecutionBlock::getHasMoreState()

* Bugfix: update state

* Reuse parent _skipped wherever possible; rename where not (LimitBlock)

* Simplified SortedCollectBlock::getOrSkipSome and reused general pattern & code

* Implemented missing virtual function (with USE_FAILURE)

* Reset neccessary values during initializeCursor

* Simplified code in EnumerateListBlock a little

* Added a test for DistinctCollectBlock in aql-profiler

* Avoid redundant getSome calls in DistinctCollectBlock

* fix compilation

* Fixed DistinctCollectBlock profiler test

* Added a second profiler test for the DistinctCollectBlock

* Added a profiler test for EnumerateCollectionBlock

* Bugfix in EnumerateListBlock

* added --server.fifoN-size

* Simplified EnumerateCollectionBlock::getSome

* Simplified EnumerateCollectionBlock::getSome, and return HASMORE less often when DONE

* Fix testEnumerateCollectionBlock1 for mmfiles

* do not pass by reference

* Fixed compile error

* fixed merge conflicts

* Added profiler tests for EnumerateCollectionBlock

* Test fix for mmfiles

* Fixed IResearch tests

* Bugfix in DistinctCollectBlock and a regression test

* Updated comment

* Bugfix for query statistics in cluster

* Check plan in distinct test

* Fix aql-profiler tests in cluster

* Removed unused line / bugfix for single server test runs

* This commit implements waking up of AQL queries. (#5651)

* Non-compiling intermediate commit for handover.

* Make branch compile again

* Started implementation of continueable rest cursor handler by moving the callbacks to the outer part. This is not yet fully tested!

* Made finalizeExecute noexcept. We cannot react to this errors as the response was potentially written before. Also introduced continueExecution in the RestHandler engine.

* First successful query wakeup.

* The wakeup callback now posts on the scheduler directly. A resthandler only needs to provide a callback that encapsulates the continueExecution call on this handler

* renamed finalizeExecute to shutdownExecute

* Added a differentiation between Handler and Callback in Query continuation. Handler will be posted in IO service. Callback will be executed directly

* fix audit log

* Removed callback from deleteQueryCursor. This cannot be waiting

* use CONDITION_LOCKER

* removed yet another thread-local variable

* Fixed forward declaration

* Made RestAqlHandler repeatable

* Use defer to close the query in RestAqlHandler. Now waiting will close the query as well.

* Added a mutex in the RestHandlers to make sure if the callback over network is too fast that there is only one Thread running in the RestHandler

* Captured the GeneralCommTask if it is posted to a RestHandler. This is necessary in the PAUSED case

* Refactoring of _noLockHeader responsibilities. Now the BaseHandler selects them and resets them after it is done. Only Coordinators are allowed to define them if a query is loaded.

* Removed reaction to existing nolockheaders in Coordinator Query Planning Phase

* Removed incorrect assertion.

* Further refactoring of NoLockHeaders. Now there is a wrapper class around it which allows for debugging and logging. The state now seems to be better. Also all non-rest-handler triggered queries clean up the NoLockHeaders properly.

* Fixed UserManager, now deletes nolock headers properly

* Swing to the Symphony of Destruction

* Forgot about community build...

* Fixed compiling of Catch tests

* Fixed community build

* need thread for size

* Made the restSimpleHndler repeatable

* Implemented dump and dumpSync in Cursors, Sync will block a thread, dump allows to wait, only relevant for Streaming cursor

* Reactivated StreamingCursors

* Removed debug output.

* Fixed false query continuation

* Reset thread output to non-debug

* Added missing return statements

* Allow some CollectionMethods to hand-in a context that may contain a transaction. This is meant to honor nolock headers.

* Fixed hidden merge conflict

* Bugfix in aql-profiler.js: use plan.nodes order, not stats

* Added two profiler tests for filter

* Avoid too many getBlock calls in the FilterBlock

* Removed debug output

* RemoteBlock API will now send a done(bool) flag whenever we request documents from remote Servers. It is possible that we are DONE and have a result. The pre 3.4.0 API uses exhausted which is exclusive to a result. This API is still implemented for beckwards compatibility.

* Implemented an executeSync function in AqlQuery. This will block the thread until query execution is complete

* Added another test for FILTER, and one test for the HashedCollectBlock

* Added more tests for HashedCollectBlock; avoid unneccessary getSome calls

* Added an profiler IndexBlock test

* IndexBlock: avoid redundant getSome calls, added missing traceGetSomeEnd calls

* Added a second test profiling IndexBlock

* Added a third test for IndexBlock

* Moved general code to module

* Moved noncluster tests into a separate file

* Split aql-profiler testsuite into three files

* Added profiler tests for LimitBlock

* Added a test for NoResultsBlock

* Added profiler tests for TraversalBlock

* Shutdown of an AQL query is now asynchronous. However in Error-Cases it will be executed in a blocking way still

* Optimized TraversalBlock getSome calls due to new (nightly) test results

* Fixed std::min calls I broke

* Let shutdown calls in AQL wait, if the query is executed successfully.

* Fixed queryResult going out of scope

* fix compile error through merge conflict with devel

* Fixed compiler warning "mismatching tags"

* Removed debug log output

* Added TODO notes

* Fixed test fail due to devel merge

* Fixed some invalid sync waiting implementations

* Added a profiler test for SortBlock

* Added profiler tests for SortedCollectBlock

* Fixed bug introduced by devel merge

* Fixed Remoteblocks ignoring errors!

* Added some more continue Callbacks in used places. And removed debug log

* Removed debug log output

* Suppress clang warnings

* Bugfix: use of invalid stack pointer

* Bugfix: RemoteBlock::shutdown now sends code as int, not string

* Revert "Suppress clang warnings"

This reverts commit 05591649c59743c992edd5e78814edc8ca2a83e0.

* Bugfix: cleanup state in RemoteBlock ::shutdown, ::getSome and ::skipSome

* Bugfix in Subquery shutdown: don't skip subquery shutdown when main query shutdown failed

* Allow copy elision
2018-07-09 14:24:10 +02:00
sleto-it edd5eba814
Doc - Cluster Administration Improvements (#5799) 2018-07-09 02:20:31 +02:00
Wilfried Goesgens bd8976956c Doc - Add example anchors (#5752) 2018-07-06 16:19:36 +02:00
jsteemann dd36442c47 added missing function parameters to documentation 2018-07-05 22:51:25 +02:00
Dan Larkin-York a5ef1e8e86 Finishing touches for cursor load balancer support. (#5787) 2018-07-05 22:48:32 +02:00
sleto-it 939b63cea3
Doc - Update ChangeRootPassword.md 2018-07-05 17:58:57 +02:00
Simon f47367a495 Allow dumping / restoring of views (#5774)
* allow dumping and restoring of views

* fix restore, adding some tests

* remove debug print

* fix global replication
2018-07-05 17:55:28 +02:00
Omar_A 97987d6c57 Doc - added EE note (#5784) 2018-07-05 16:18:57 +02:00
Omar_A 16f3a57014 Doc - Change Root Password page (#5771) 2018-07-05 10:44:44 +02:00
Jan f9dc610c1e
Bug fix/internal issue 2658 (#5760) (#5778) 2018-07-05 10:19:28 +02:00
Wilfried Goesgens 5ed2ca5a56 Doc - fix link layer1 (#5763) 2018-07-04 19:20:10 +02:00
jsteemann 2d622bcd9e updated CHANGELOG 2018-07-04 19:02:50 +02:00
Jan 0001fbae92 Doc - fix planning issue 2623 (#5725) 2018-07-04 18:16:56 +02:00
Simran eef962d619 Doc - Fix UPDATE example, add details about single document operations (#5222) 2018-07-04 18:07:33 +02:00
Jan Christoph Uhde 5bf28ee587 Doc - fix aql-insert-options (#5633)
* fix aql-insert-options
* Syntax, INTO over IN, be explicit about OPTIONS being optional
* partial work of a more wider effort
2018-07-04 16:57:10 +02:00
Simran 26814b9918 Doc - Add ArangoSearch as top-level chapter in Manual and AQL docs (#5702)
* Add ArangoSearch as top-level chapter in Manual and AQL docs
* Update SUMMARY.md
* `Views/README.md` already has content, so we shouldn't remove it. It acts as intro page to ArangoSearch, which is okay-ish. The actual ArangoSearch page appears as sub-chapter called _Usage_.
* Change ArangoSearch chapter names for Manual and AQL book
* Fix links
2018-07-04 14:46:26 +02:00
Simran 9fcab2fbe5 Docs - Add drivers integrations section (#5754) 2018-07-04 14:44:36 +02:00
Simran 2ebad67906 Doc - Startup parameter usage improvements (#5759) 2018-07-04 13:58:15 +02:00
Simran 38839c336e Doc - Remove Crawling Github and SailsJS recipes (#5764) 2018-07-04 13:55:47 +02:00
Andrey Abramov 17e955d837
ArangoSearch advanced AQL functions (#5756)
* extend filter checking

* extend IResearchViewNode tests

* distinguish scorer and filter arangosearch functions

* initial implementation

* add some tests for the recently added aql functions

* more tests

* force phrase function to use context-wise analyzer

* more tests

* ensure exists function uses analyzer from context

* fix query execution tests

* allow to override context analyzer in phrase function

* modify EXISTS signature to accept optional analyzer, fix tests

* more tests

* even moar tests

* more tests

* update documentation

* add testing scorer

* fixes after review

* attempt to fix msvc compilation issues

* add extra check

* add another check
2018-07-04 02:59:31 +03:00
maxkernbach 10a2709318 Doc - fix documentation build script + a few other things (#5751) 2018-07-03 18:12:36 +02:00
Jan b88fde9659
added key generators "uuid" and "padded" (#5740) 2018-07-03 15:23:47 +02:00
Simon 545561e9a9 Read only server (#5652) 2018-07-03 09:58:16 +02:00
Simran 0aa1ae24b3 Doc - Take whatever line endings and turn them into LF in generation (#5714) 2018-07-02 15:34:35 +02:00
Wilfried Goesgens 8c586a1a91 Doc - reference swagger on a prominent place (#5731) 2018-07-02 15:33:23 +02:00
Wilfried Goesgens 8c39f9f666 Doc - fix links (#5739) 2018-07-02 13:56:09 +02:00
sleto-it 60bc6a948c
Doc - Dangling interbook checker [New] (#5735) 2018-06-30 13:23:02 +02:00
sleto-it edc31ff7dd
Doc - Upgrade & Deployment Refactor (#4750) 2018-06-30 11:11:56 +02:00
jsteemann b1a7316df4 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2018-06-28 19:03:27 +02:00
jsteemann b1002075b3 Merge branch 'feature/add-distinct-aggregator' of https://github.com/arangodb/arangodb into devel 2018-06-28 19:03:16 +02:00
Simran 23808ce707 Doc - Typo (#5707) 2018-06-28 17:15:59 +02:00
sleto-it 4dd98f9f07
Doc - New pages: "Starter Architecture" & "Securing Starter Deployments" + Sync from external repos (#5666) 2018-06-28 17:14:56 +02:00
Simran 0f6a234ba0 Doc - Add version to Gitbook configs + fix (#5701) 2018-06-27 20:56:57 +02:00
Vasiliy bf1f2eab29 issue 401.2: split IResearchViewMeta into the user configurable part and internal state (#5683)
* issue 401.2: split IResearchViewMeta into the user configurable part and internal state

* backport: update documentation and integration tests to reflect the IResearchViewMeta changes

* backport: addresss typo

* backport: address another typo
2018-06-27 16:40:51 +03:00
maxkernbach 6586504441 Update demo graphs (UI + documentation) (#5535) 2018-06-27 14:16:44 +02:00
jsteemann cc9c5db7bb added generated files 2018-06-26 23:06:30 +02:00
jsteemann 81af9a05ba updated documentation 2018-06-26 23:03:26 +02:00
jsteemann 2610af55f8 Merge branch 'devel' of https://github.com/arangodb/arangodb into feature/add-distinct-aggregator 2018-06-26 20:16:46 +02:00
Vinay Pyati 8992a361ff Doc - Fix typos and link (#5669) 2018-06-26 19:18:25 +02:00
Simon 52f44596ba Adding MultiPolygon support, fixing some outstanding bugs (#5613)
* Adding MultiPolygon support, fixing some outstanding bugs

* removing dead code

* Adding MultiPolygon tests

* Added multi-polygon docs

* adjust the docs

* fixing remaining occurrences of geo1 / geo2, added note into UpgradingChanges34.md

* some clarification

* Improve Geo docs, reformatting

* Release notes: responses are JSON, reformatting

* Update release notes: /_api/aqlfunction has an isNewlyCreated attribute now

* Update Geo.md
2018-06-22 10:03:27 +02:00
maxkernbach ea8cb68e27 Doc - improve Java Driver doc + fetch external repos (#5642)
- restructure java-driver doc
- fetch fixed link in js repository
- fetch external changes for Kubernetes/PHP/SpringData
2018-06-20 18:59:38 +02:00
Jan 5ce22a3bc9
make API for POST /_api/aqlfunction downwards-compatible again (#5636) 2018-06-20 12:52:54 +02:00
jsteemann 8af5e06223 refactoring of aggregators 2018-06-20 02:33:20 +02:00
Simran 6da71d0308 Doc - Arangoinspect tool (#5537) 2018-06-19 18:47:30 +02:00
sleto-it ed11b41be9
Doc - Updated kube-arangodb docs to 0.2.1 (#5630) 2018-06-19 13:18:54 +02:00
Simran d4ad460fb7 Doc - Remove stale link to GeoConstructors (#5587) 2018-06-18 11:00:28 +02:00
maxkernbach 2a4d5878d3 Doc - clarify WITH for cluster traversal (#5540) 2018-06-18 10:53:49 +02:00
Vinay Pyati 5c9015df09 Doc - blog post links were interchanged (#5592) 2018-06-18 09:48:29 +02:00
Ewout Prangsma 530b52a882 Doc - Updated kube-arango docs to upcoming 0.2 (#5608) 2018-06-14 16:15:55 +02:00
Jan Christoph Uhde f81e42af36 Add optimizer rule that replaces js function calls (NEAR/WITHIN/FULLTEXT) with pure AQL (#5529) 2018-06-12 13:48:31 +02:00
Simon 352fedd29c Seeded pagerank (#5491)
* Seeded pagerank

* Fix the docs
2018-06-08 16:44:23 +02:00
Wilfried Goesgens 25f77ceeb1 documentation/fix cygwin pdf generation (#5545) 2018-06-07 10:45:04 +02:00
sleto-it 1d102024c5
Doc - Agency Dump fixes 2018-06-05 10:42:23 +02:00
Simran 325d1b6153 Doc - Improve JS Driver TOC (#5492) 2018-06-05 09:45:53 +02:00
maxkernbach 9d622c566c Doc - Dataset and example for Multiple Path Search (#5483) 2018-06-05 09:39:48 +02:00
Simran 861f4cef92 Doc - Typo in managing users (#5500) 2018-06-05 09:37:08 +02:00
Simran abfa11017d Doc - Add link to relational-to-ArangoDB white paper (#5501) 2018-06-05 09:35:08 +02:00
Simran 769fe88ba9 Doc - Administration refactor, intermediate commit (#5493) 2018-06-05 09:34:08 +02:00
Omar_A fd01522c55 Doc - Agency dump page (#5516) 2018-06-05 09:29:39 +02:00
Vinay Pyati e7b3afa96b Doc - fix SSL endpoints (#5502) 2018-06-05 09:13:37 +02:00
maxkernbach 45ab16900f Doc - DC2DC - Improve directory structure (#5480) 2018-06-05 09:09:58 +02:00
Simran eec96120cc Doc - Program options, part 2 (#5444) 2018-06-05 09:06:23 +02:00
Jan Christoph Uhde edd3168023 add test for RocksDB exclusive collections in js transactions (#5469) 2018-06-01 18:38:39 +02:00
Jan Christoph Uhde 547f69cd7f removes the man target from default maintainer build (#5129) 2018-06-01 18:28:28 +02:00
Wilfried Goesgens 59390ef374 Doc - Improves fetch-script. Fresh Swagger. Sync external repos (#5463) 2018-05-28 16:29:30 +02:00
Jan dc97eb0111
Subquery optimizations (#5398) 2018-05-28 13:56:03 +02:00
maxkernbach 744fe669cb Doc - fix doc build + remove unsupported option for graph traversals (#5470) 2018-05-28 13:22:49 +02:00
Heiko beb8aae99c Updated Geo.md - typos and wrong distance query (#5365) 2018-05-25 19:26:40 +02:00
Jan Christoph Uhde 551844ff15 add missing examples for overwrite (#5460) 2018-05-25 12:00:54 +02:00
Jan Christoph Uhde a2dcb6cc5d WIP - start adding optional overwrite to insert operation (RepSert) (#5268) 2018-05-24 19:47:15 +02:00
Simran d934a4c155 Doc - Updated paths to fit ArangoDB v3 (#5443) 2018-05-23 19:21:26 +02:00