1
0
Fork 0
Commit Graph

7425 Commits

Author SHA1 Message Date
Michael Hackstein 35fbe9aefd Fixed include <array> did not compile under Mac Os X 2015-12-04 15:28:49 +01:00
Max Neunhoeffer 60df924ac1 Change data structures for collections in Agency.
Snapshot, compiles, untested, needs new VelocyPack.
2015-12-04 15:08:47 +01:00
Max Neunhoeffer a926c7570a Cleanup ClusterInfo library w.r.t. Current/Collections. 2015-12-04 15:08:47 +01:00
Jan Steemann 3b7cbef240 Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-04 13:50:42 +01:00
Jan Steemann 5c033f566b Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-04 13:47:08 +01:00
Michael Hackstein c60271d3c8 Fixed early optimizations of Cluster traversal filters, when document does not exist. Now behaves identical to single server and to execution without optimization 2015-12-04 13:30:40 +01:00
Jan Steemann 785beaa625 cppcheck 2015-12-04 12:18:15 +01:00
Michael Hackstein 9a724cd5a6 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-12-04 11:21:28 +01:00
Michael Hackstein 9495117238 Fixed invalid traversal optimization if vertex is not existing but filter would let null pass 2015-12-04 11:21:15 +01:00
Jan Steemann 3b1df26a79 added AQL function `IS_DATESTRING` 2015-12-04 10:53:01 +01:00
jsteemann f3e35b6497 updated grammar file 2015-12-03 23:26:28 +01:00
Michael Hackstein bf83a0e6a2 Potential fix for memleak 2015-12-03 16:08:33 +01:00
Michael Hackstein 11640a15ad Fixed a comment 2015-12-03 16:05:06 +01:00
Jan Steemann d8bf728fd3 added TRAVERSAL nodes for optimization checks 2015-12-03 15:25:16 +01:00
Jan Steemann 75a888d9ac Windows fixes 2015-12-03 15:06:20 +01:00
Jan Steemann b8cd633276 Windows fixes 2015-12-03 15:00:19 +01:00
Wilfried Goesgens c9e6e066fb one more missing file. 2015-12-03 14:16:59 +01:00
Wilfried Goesgens 650a7c6d7c Add missing file to the cmake build 2015-12-03 14:04:22 +01:00
Jan Steemann 46f1e4624d Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-12-03 13:46:23 +01:00
Jan Steemann ec3ab298e1 added test for traversal after data modification 2015-12-03 13:46:11 +01:00
Wilfried Goesgens 2377c4d628 Add new files to cmake. 2015-12-03 13:45:36 +01:00
Jan Steemann fdcc7adf03 fixed memleak for cluster databases 2015-12-03 12:18:13 +01:00
Jan Steemann 6c1717ec90 updated keywords list 2015-12-03 12:11:52 +01:00
Jan Steemann d572f3ed03 Merge branch 'aql-multi-modify' of https://github.com/arangodb/arangodb into devel 2015-12-03 11:38:30 +01:00
Michael Hackstein 86b4a7137d Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-12-03 11:35:33 +01:00
Michael Hackstein 605e1bce55 Style fixes 2015-12-03 11:35:18 +01:00
Michael Hackstein 04f65ff8c1 Fixed a memleak in ClusterTraverser 2015-12-03 11:35:08 +01:00
jsteemann 9caaff18fb fixed leaks 2015-12-03 11:25:05 +01:00
jsteemann eb5b68089e even more unconstification 2015-12-03 11:11:10 +01:00
jsteemann 135d434a7f more unconstification 2015-12-03 11:09:35 +01:00
jsteemann 7892c98996 unconstify return types 2015-12-03 11:06:25 +01:00
Michael Hackstein e6fffda489 Merge branch 'JHMH' of github.com:arangodb/arangodb into devel 2015-12-03 10:26:56 +01:00
Michael Hackstein 8919a068ba Adapted to new API of cluster async request 2015-12-03 10:24:01 +01:00
Michael Hackstein 3ea14e66a3 Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-12-03 10:19:17 +01:00
jsteemann 840df0bf09 Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-multi-modify 2015-12-03 10:16:59 +01:00
Max Neunhoeffer 16e181fe05 Adjust comments to reality for asyncRequest. 2015-12-03 09:23:15 +01:00
Jan Steemann c0729fbc6b allow calling AQL functions that require collection name arguments with string values 2015-12-02 18:20:21 +01:00
Michael Hackstein b2e4673c65 Added a test for early filtering of < <= => > in Traversal 2015-12-02 17:52:01 +01:00
Michael Hackstein 23e2ac5da7 Fixed status reporting for Cluster and Single Server Case for the AQL Traverser Node. 2015-12-02 17:20:09 +01:00
jsteemann 9fa0f6d3a7 Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-multi-modify 2015-12-02 16:38:50 +01:00
Jan Steemann 3a7eca45b8 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-12-02 15:41:51 +01:00
Jan Steemann df946dd3c4 use emplace() 2015-12-02 15:41:41 +01:00
Jan Steemann 61a8e4c686 issue #1593: add POW() AQL function 2015-12-02 15:41:30 +01:00
Jan Steemann 460b51734e fixed disappearing of documents for collections transferred via `sync` if the collection was dropped right before synchronization and drop and (re-)create collection markers were located in the same WAL file 2015-12-02 14:48:08 +01:00
Max Neunhoeffer 3821a775a3 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2015-12-02 14:48:04 +01:00
Max Neunhoeffer 3556f76469 Fix ClusterComm::asyncRequest w.r.t. body shared_ptr. 2015-12-02 14:15:18 +01:00
Michael Hackstein e47ebdd48d Fixed statistics reporting for AQL traversal in Cluster. The tests are green in cluster mode now. 2015-12-02 13:41:24 +01:00
Michael Hackstein 10a898c791 UTF-8 circus 2015-12-02 13:37:49 +01:00
Michael Hackstein 18db3bf681 The edges api now returns a stats property encapsulating how many items where scanned and how many where filtered 2015-12-02 11:38:51 +01:00
Michael Hackstein 043de86039 Fixed compareTo value send accross the cluster. Was deleted after first use but was sent multiple times 2015-12-02 11:37:23 +01:00
Michael Hackstein 3891d0a268 Fixed illegal no results optimization in traversal nodes. Also changed internal format for the reported graph 2015-12-02 11:36:44 +01:00
Michael Hackstein c109c86b06 Indention fix 2015-12-02 11:35:12 +01:00
Michael Hackstein 1a13af6f36 Merged remote changes with local stash 2015-12-02 11:34:58 +01:00
Jan Steemann eb8899d9ae applied changes suggested by cppcheck 2015-12-02 10:17:14 +01:00
Jan Steemann 6ce29823a8 fixed more memleaks 2015-12-01 17:22:14 +01:00
Jan Steemann 9497ca9c7c fixed memleaks 2015-12-01 17:07:32 +01:00
Jan Steemann e05cd2df37 Merge branch 'JHMH' of https://github.com/arangodb/arangodb into JHMH 2015-12-01 16:49:08 +01:00
Jan Steemann 2bbcaa868f fixed invalid memory usages 2015-12-01 16:48:55 +01:00
Wilfried Goesgens 4b861dd44a Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH 2015-12-01 16:37:06 +01:00
Jan Steemann 9c0d7420f4 removed unused struct attribute 2015-12-01 12:56:41 +01:00
hkernbach 6d25ac57e9 Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-12-01 11:25:58 +01:00
Jan Steemann 0dd207f9f5 Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-01 11:14:12 +01:00
jsteemann 49af794f5d Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-multi-modify 2015-12-01 01:56:46 +01:00
jsteemann e7e00e95c1 some cleanup 2015-12-01 01:26:27 +01:00
jsteemann 3a73ec1a52 optionally trigger auto-resync in case of "no start tick" issue 2015-12-01 01:22:19 +01:00
jsteemann 04e81ea851 more replication 2015-11-30 23:33:59 +01:00
jsteemann 37f72fa721 micro optimizations 2015-11-30 19:37:58 +01:00
Jan Steemann f013c809ea replication improvements 2015-11-30 18:27:31 +01:00
Michael Hackstein 0fa55cff05 Fixed a bug in TraverserExpression deserialisation 2015-11-30 16:29:16 +01:00
Michael Hackstein 2c61930752 Enabled the CXX RestEdges Handler in coordinator case as well 2015-11-30 15:10:13 +01:00
Max Neunhoeffer f7e0b53fff Fix AQL query shutdown in cluster. 2015-11-30 14:24:31 +01:00
Michael Hackstein e9a36a3fbf Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-11-30 14:17:44 +01:00
Michael Hackstein 43ac825241 The CXX Edges handler now first checks if the collection is an edge collection 2015-11-30 14:17:13 +01:00
Michael Hackstein 0ab087c764 Added an internal filter option for lookup-by-keys. It is used by AQL traversel to move vertex filtering to the server 2015-11-30 13:29:31 +01:00
Michael Hackstein 73669ae774 Implemented a short-cut to query a list of documents by _id in the cluster. It's baby-aware 2015-11-30 13:27:22 +01:00
Michael Hackstein ceddc4d7f4 Added a convenience check to evaluate if a collection uses default shardKeys 2015-11-30 13:26:42 +01:00
Jan Steemann 593b5dc8df fixed non-deterministic query results in some cluster queries 2015-11-30 13:01:57 +01:00
Jan Steemann 5acd13e8e9 fixed assertion failure in some cluster queries 2015-11-30 12:48:26 +01:00
Jan Steemann 4e33bda538 fixes for new replication features 2015-11-30 12:46:26 +01:00
Jan Steemann e3c7760262 indentation 2015-11-30 12:46:01 +01:00
Michael Hackstein d79c2f9048 Added a test if the traverser prunes early 2015-11-27 17:03:24 +01:00
Michael Hackstein a7b7d1ec18 Adapted traverser implementations to new Path Enumerator for improved pruning 2015-11-27 16:25:02 +01:00
Michael Hackstein d0021131b5 Document accessor now works on TRI_json_t as well 2015-11-27 16:24:29 +01:00
Michael Hackstein 5a8b6ad721 Fixed out of scope when requesting edges in cluster 2015-11-27 16:24:08 +01:00
Jan Steemann b13284a0c3 replication improvements 2015-11-27 16:16:31 +01:00
Jan Steemann bd8b70455a replication improvements 2015-11-27 16:16:15 +01:00
Wilfried Goesgens 55b8fb0c6f Fix links not to point to .html - .md is right, else the non-html generators won't work properly. 2015-11-27 11:51:29 +01:00
Michael Hackstein 07f772c758 Fixed potential memleaks and bad access in edges api 2015-11-27 11:20:54 +01:00
Michael Hackstein bba4fe6089 Added a basic implementation to receive filtered documents in the cluster. Right now it does not yet filter and is inefficent but serves the API 2015-11-27 11:20:12 +01:00
Jan Steemann dea7a3f56f fixed API 2015-11-26 17:41:58 +01:00
Jan Steemann a66368e10c Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-11-26 17:13:33 +01:00
Michael Hackstein 7c4e59bf22 Revert "removed unused method" it is actually used in the new Graph
Traverser

This reverts commit 5d2951a15b.
2015-11-26 16:38:44 +01:00
Michael Hackstein 7bf37620bb Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-11-26 16:32:26 +01:00
Jan Steemann 389c3e0cf0 small optimizations 2015-11-26 16:31:25 +01:00
Michael Hackstein cda189d5ca Unvirtualized toJson of Traversal Node. Base Class toJson is required in Cluster. Explainer requires specific toJson 2015-11-26 16:02:38 +01:00
Michael Hackstein 7290507c25 Removed debug output 2015-11-26 16:01:26 +01:00
Michael Hackstein 14f68cc648 Adopted implementation of filteredEdges in cluster 2015-11-26 16:01:10 +01:00
Jan Steemann 15368d12ba added a C++ implementation for AQL function `FULLTEXT` 2015-11-26 14:12:43 +01:00
Richard Parker bad2ed09e7 Cursor functionality written, compiles but totally untested. 2015-11-26 13:03:46 +00:00
Michael Hackstein d109a4e2aa Filtered edges are now able to react to a list of expressions instead of only one expression. The list symbolises an AND 2015-11-26 11:38:09 +01:00
Michael Hackstein 5fb76d7481 Merge branch 'JHMH' of github.com:arangodb/arangodb into JHMH 2015-11-26 09:32:15 +01:00
Michael Hackstein e9a7c6fa85 Adoption of Traversal and AstNode to newest changes in TraversalExpression 2015-11-26 09:31:54 +01:00
Michael Hackstein 38cf7dc8ed First implementation of a filtered edges API. This is for cluster internal use only. 2015-11-26 09:26:46 +01:00
Michael Hackstein a12f390e77 Added a Json constructor for Traverser Expression. Required in the cluster 2015-11-26 09:20:58 +01:00
Jan Steemann 9b23953a07 add primary index lock 2015-11-25 17:40:21 +01:00
Wilfried Goesgens f49ae38f25 make toJson() virtual so derived ones can overload it. 2015-11-25 16:49:38 +01:00
Wilfried Goesgens 42081165e0 Don't copy while iterating, use const references. 2015-11-25 16:49:01 +01:00
Wilfried Goesgens 8f04b616b5 fix typo 2015-11-25 16:48:35 +01:00
Jan Steemann e29bc893b7 finalized index API changes 2015-11-25 16:44:01 +01:00
Jan Steemann db85c926be added transaction to AssocUnique APIs 2015-11-25 15:57:48 +01:00
Jan Steemann db078f1554 changed some APIs of AssocMulti 2015-11-25 15:40:01 +01:00
Wilfried Goesgens 513404e9e8 Split searching for conditions and extracting them for analysis, so we can run the optimizer inbetween. 2015-11-25 15:22:45 +01:00
Wilfried Goesgens a0f9524df8 Add routine to normalize conditions without re-running the optimizer. 2015-11-25 15:22:11 +01:00
Wilfried Goesgens c061a3309a - implement new function that scans for nodes of a spcific types
- fix scanning for variable references with n-nary ors / ands
2015-11-25 15:21:11 +01:00
Jan Steemann 981c578812 changed other index APIs 2015-11-25 15:05:02 +01:00
Jan Steemann 5d2951a15b removed unused method 2015-11-25 14:59:43 +01:00
Jan Steemann 0ee556d07d added transaction to hash index APIs 2015-11-25 14:55:43 +01:00
Jan Steemann 19b2d28167 pass transaction to index APIs 2015-11-25 14:42:29 +01:00
Jan Steemann 9ef5b4746a removed several includes from Common.h 2015-11-25 12:21:55 +01:00
Jan Steemann b6752faf0b Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-11-25 11:44:32 +01:00
Jan Steemann 9d217b92ce improved DocumentAccessor 2015-11-25 11:43:01 +01:00
Jan Steemann a7c8a37938 use range-based for loop 2015-11-25 11:05:31 +01:00
Jan Steemann 9b1ef915eb issue #1589 2015-11-25 10:49:31 +01:00
Alan Plum 7538d71333 URL parameter -> {query,path} parameter 2015-11-24 18:09:43 +01:00
Jan Steemann 75e4e6e815 added transaction to all signatures 2015-11-24 17:34:23 +01:00
Jan Steemann 5518244942 less iostream-ing 2015-11-24 13:55:06 +01:00
Jan Steemann 442a5f25c6 added convenience functions 2015-11-24 13:25:18 +01:00
Jan Steemann 317ef4b8a2 remove, not working yet 2015-11-24 11:30:15 +01:00
Michael Hackstein bcd5813bb1 CXX RestEdgesHandler now actually returns a result. All tests are green now 2015-11-24 10:47:07 +01:00
Jan Steemann b9f04ec5eb Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-11-24 10:33:58 +01:00
Michael Hackstein 4c8c98524e Fixed errorNum whenever the vertex-handle is incorrect 2015-11-24 10:30:16 +01:00
Michael Hackstein aa8e1daaf7 Moved String->VertexId conversion into the general traverser. It is required outside of V8Server 2015-11-24 10:24:19 +01:00
Michael Hackstein 430eb2fd07 First version of CXX RestEdgesHandler. Required for early filtering in Cluster Traversals 2015-11-24 10:23:35 +01:00
Michael Hackstein 561ef30ac1 Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-11-24 08:59:01 +01:00
Jan Steemann bd090571fb insertion of documents using vpack 2015-11-23 18:34:36 +01:00
Wilfried Goesgens e34f3824a5 Add link to the reference 2015-11-23 14:01:42 +01:00
Jan Steemann 7bd6a00c84 changed API 2015-11-23 13:26:33 +01:00
Jan Steemann 6192ff6ac1 fixed test 2015-11-23 12:41:17 +01:00
Jan Steemann b08e1a76bc Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-11-23 12:06:29 +01:00
Jan Steemann 1bf5abaf14 changed HTTP return code for canceled operations from 408 to 410 2015-11-23 10:25:05 +01:00
Michael Hackstein b18ce56a68 Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-11-20 10:49:00 +01:00
Wilfried Goesgens a5c50ad8e9 we have to flush the work vectors before we invoke findVariableAccess() 2015-11-19 17:21:33 +01:00
Jan Steemann 982568aec7 insertv 2015-11-19 16:52:39 +01:00
Jan Steemann bcb31ab4c2 insertv continued 2015-11-19 16:46:06 +01:00
Wilfried Goesgens 16eee4793d Improve error reporting if selecting a graph description fails 2015-11-19 16:27:36 +01:00
Jan Steemann 08d817ba53 Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-11-19 14:36:11 +01:00
Jan Steemann bc3bbc46b5 fixed Visual Studio warnings 2015-11-19 14:29:49 +01:00
Jan Steemann 59084c193d Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-11-19 13:28:57 +01:00
Jan Steemann 89e0f887b9 velocypack update 2015-11-19 13:28:40 +01:00
jsteemann 19373f80fa removed dependency on vector.h 2015-11-19 01:41:42 +01:00
jsteemann f900090584 fixed undefined behavior 2015-11-19 00:16:00 +01:00
jsteemann cb62c657e0 initial commit 2015-11-18 17:46:19 +01:00
Michael Hackstein 001dd4debf The local traverser now early filters on vertices 2015-11-18 16:14:17 +01:00
Michael Hackstein 201c54e6b0 Removed unnecessary constructors 2015-11-18 15:32:04 +01:00
Michael Hackstein ff732237fc Fixed compilation error 2015-11-18 15:31:50 +01:00
Michael Hackstein 6b8b039fe6 Added implementation for binary comparison aperators in the TraversalExpression 2015-11-18 15:23:36 +01:00
Michael Hackstein 1f6519b01e Using early abortion in local Traverser for AQL. Now it's cluster time 2015-11-18 14:50:03 +01:00
Michael Hackstein 57afbb31bf Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-11-18 14:00:24 +01:00
Jan Steemann 9e5308fb43 make it a struct 2015-11-18 14:00:07 +01:00
Michael Hackstein 7a36bbb43f Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-11-18 13:58:47 +01:00
Jan Steemann 6f262b6083 added DocumentAccessor 2015-11-18 13:58:14 +01:00
Michael Hackstein f880592025 Used the TraverserExpression in Local case for Edges. Right now it fails hardcoded. 2015-11-18 11:26:55 +01:00
Michael Hackstein 9a42870b6b Fixed BAD_ACCESS 2015-11-18 09:41:41 +01:00
Michael Hackstein d002ccccff Deactivated late complete condition check in AQL Traverser 2015-11-18 09:41:25 +01:00
Michael Hackstein 508b63803c Improved error message AQL execute 2015-11-18 09:40:54 +01:00
Max Neunhoeffer eec37d1e8b Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2015-11-17 17:17:10 +01:00
Max Neunhoeffer 68941c1ea9 Fix a typo in a variable name. 2015-11-17 17:16:59 +01:00
Michael Hackstein 0adbef4f76 Transformed the TraversalExpression vector into a map ordered by access level. This is way more convenient on the Traverser side to be used. 2015-11-17 16:25:45 +01:00
Michael Hackstein 3afddb32ed The TraversalBlock now executes all expressions locally. It is able to hand them over to Traversers 2015-11-17 14:11:15 +01:00
Jan Steemann a6b898c34a Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-11-17 14:09:15 +01:00
Jan Steemann 82eddeb120 allow using array indexes without specifying the `[*]` extension 2015-11-17 14:03:58 +01:00
Jan Steemann c690e91d77 improved error messages 2015-11-17 12:15:18 +01:00
Max Neunhoeffer 48c121bb24 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2015-11-17 11:46:19 +01:00
Wilfried Goesgens 5428ac0682 Broaden the range of expressions we can push out into the cluster as simple expression. 2015-11-17 11:34:45 +01:00
Michael Hackstein a5273e8fec Preperation for DBServer local filtering 2015-11-17 11:01:51 +01:00
Michael Hackstein 2d9f466f38 Minor style fixes 2015-11-17 10:35:32 +01:00
Jan Steemann 4c0dca210a Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-11-17 10:29:56 +01:00
Michael Hackstein 3845f8b7eb Merge branch 'JHMH' of github.com:arangodb/arangodb into JHMH 2015-11-17 08:54:59 +01:00
jsteemann f5e71197ce document creation 2015-11-17 01:46:58 +01:00
jsteemann 5f25de1710 implementation for custom type handling 2015-11-16 23:55:06 +01:00
jsteemann 8dbcf9e940 error message adjustment 2015-11-16 21:53:05 +01:00
Michael Hackstein 6572806300 Fixed ClusterTraverser if there is a vertex without edges 2015-11-16 20:24:10 +01:00
Michael Hackstein 5eaf990405 Fixed converting VertexId -> String in Cluster 2015-11-16 20:13:44 +01:00
Michael Hackstein 4c45e3fb5a Fixed a bug when using edge collections in Traversal 2015-11-16 19:48:20 +01:00
Michael Hackstein 3926e82247 Added an otion to extract the collection type in a cluster with the CollectionNameResolcer 2015-11-16 19:47:50 +01:00
Wilfried Goesgens ed7ba7f573 append javascript stacktraces to the errormessage, so the caller of AQL-JS function can find out where it broke 2015-11-16 16:59:15 +01:00
Wilfried Goesgens 5dd70c78c0 Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH 2015-11-16 15:55:33 +01:00
Wilfried Goesgens c2fcef77e6 remove p.edges[*].foo detection, we can't handle this. 2015-11-16 15:43:54 +01:00
Michael Hackstein 21cf784cbc First attempt for multi collection graphs. Not yet functional. 2015-11-16 15:36:00 +01:00
Jan Steemann 6a6358121e added ostream handlers 2015-11-16 15:05:33 +01:00
Michael Hackstein e8cdc5190f Single Collection Traversals are now functional within the cluster. 2015-11-16 14:55:07 +01:00
Michael Hackstein b391d9cb22 Fixed a bug when the cluster iterates over more than one edge 2015-11-16 13:20:32 +01:00
Michael Hackstein fa4b08a4b8 Further implemenetation for ClusterTraverser. It now returns the correct format. However there seems to be an undefined state which can be reached 2015-11-16 11:37:29 +01:00
Michael Hackstein 85233c366c Added a convenience function to transofmr VertexId to std::string 2015-11-16 09:13:28 +01:00
Michael Hackstein 3923c7936e EdgeCollections are now evaluated to cids later in TraversalBlock. This change was necessary for the Cluster 2015-11-16 09:09:34 +01:00
Jan Steemann b0ea7dd562 added V8ToVPack conversion 2015-11-13 17:27:35 +01:00
Michael Hackstein eec9c02a36 Merge branch 'JHMH' of github.com:arangodb/arangodb into JHMH 2015-11-13 17:12:36 +01:00
Michael Hackstein 04da539ba1 Further implementation of Cluster Traverser. It now has code that in theory should fetch the first set of edges. Right now it fails for undefined collection name 2015-11-13 17:12:33 +01:00
Wilfried Goesgens 418ddc4dd5 Implement simple condition extractor 2015-11-13 16:49:12 +01:00
Jan Steemann d45ef6d699 marker definitions 2015-11-13 16:22:14 +01:00
Michael Hackstein e475d9c778 Added a function to get all edges for a specific vertex in the cluster. 2015-11-13 16:04:49 +01:00
Jan Steemann 8f6105aa18 added new marker types 2015-11-13 15:42:42 +01:00
Max Neunhoeffer 8c2be32b48 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2015-11-13 15:08:39 +01:00
Michael Hackstein e24135df09 Extracted some more common functionality from V8 and Cluster Traverser to the abstract class 2015-11-13 14:54:32 +01:00
Michael Hackstein 9a95e1d36b Added Files for Cluster Traverser. 2015-11-13 14:53:46 +01:00
Jan Steemann ddc79bfa8a Merge branch 'vpack' of https://github.com/arangodb/arangodb into vpack 2015-11-13 11:57:50 +01:00
Michael Hackstein b7a8a364fc Started Including the Cluster Traversal in AQL. Right now the result is empty but the server will not crash any more. Now starting with the real implementation. 2015-11-13 11:08:18 +01:00
Michael Hackstein 173a746cc9 Added new constructor for AstNodes which is independent from AQL. 2015-11-13 11:07:06 +01:00
Michael Hackstein 8d0d921ab6 Included two Abstract classes for Traversals. Traverser and TraversalPath. Implemented both of them for Single-Server Traversals. 2015-11-12 16:25:36 +01:00
Wilfried Goesgens e18e1fa75b Fix shape access for graph object 2015-11-12 13:57:15 +01:00
Michael Hackstein fbee0b0859 Started to transform Parts of AQL Query to VPack. Especially the QueryResult is now using VPack internally. 2015-11-12 11:09:35 +01:00
Jan Steemann c45bd56dbd Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-11-11 17:33:40 +01:00
Jan Steemann 0b13b01e77 fixed potentially invalid pointer access 2015-11-11 17:03:36 +01:00
Jan Steemann 39715be1ab Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-11-11 15:18:00 +01:00
Jan Steemann a3e4a2f863 removed some includes 2015-11-11 15:16:37 +01:00
Jan Steemann 25fa71187d fixed error messages 2015-11-11 14:43:28 +01:00
Jan Steemann aa38f5d036 fixed error messages 2015-11-11 13:58:48 +01:00
Wilfried Goesgens 92ad802bd6 Cache Graphs inside of the Query object
- split Graph clas into Aql/Graphs
  - cleanup includes
2015-11-11 13:52:33 +01:00
Wilfried Goesgens 2d5d2d881e Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH 2015-11-11 11:05:06 +01:00
Wilfried Goesgens ae4d888c9a - Make graphs lookup clustrer ready
- remove cache, its hard to maintain when its valid and when not.
2015-11-11 11:04:12 +01:00
Max Neunhoeffer c2c8bf95f3 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2015-11-11 10:47:30 +01:00
Michael Hackstein 8cd8e048bc Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2015-11-10 17:25:40 +01:00
Michael Hackstein c971dead79 Removed some TRI_json_t parts from the RestCursorHandler. But now it does not state anymore that it used the query cache 2015-11-10 17:18:47 +01:00
Jan Steemann ccf75ab804 updated vpack library 2015-11-10 15:49:38 +01:00
Jan Steemann c39be860b4 fixed compile errors 2015-11-10 15:21:25 +01:00
Michael Hackstein 9055f629ba Fixed forgotten close() of VelocyPack Objects 2015-11-10 14:35:33 +01:00
Michael Hackstein d12daaaef7 Replaced TRI_Json_t in RestExportHandler by VelocyPack 2015-11-10 14:12:40 +01:00
Wilfried Goesgens 04b1d75d51 Improve error handling, differenciate between collection not found and collection wrong for vertex 2015-11-10 13:32:46 +01:00
Michael Hackstein 400059db93 Removed references to TRI_Json_t in RestSimpleQueryHandler 2015-11-10 10:50:55 +01:00
Michael Hackstein b30a656c1e Use VPackSlice::copyString in favor of rebuilding the string ourselfes 2015-11-10 10:49:59 +01:00
Jan Steemann e321c9747a added option `--server.hide-product-header` 2015-11-10 10:27:59 +01:00
Max Neunhoeffer af3cb6868f Increase timeouts for larger clusters. 2015-11-10 10:21:36 +01:00
Jan Steemann 1506a6cd4a fixed access to wrong value 2015-11-10 09:57:06 +01:00
Michael Hackstein f6622011bf Removed references to TRI_json_t in RestSimpleHandler 2015-11-10 09:56:14 +01:00
Michael Hackstein 1a84b49b3a RestQueryHandler now uses VelocyPack input as well 2015-11-09 16:02:26 +01:00
Wilfried Goesgens 18f8d084b8 Implement checking for invalid range-attributes to the traversalnode, and emplace a NoResultsNode in that case. 2015-11-09 15:39:08 +01:00
Michael Hackstein b003cf6de9 Merge branch 'vpack' of github.com:arangodb/arangodb into vpack 2015-11-09 15:37:12 +01:00
Michael Hackstein ff2552a9b2 Further adoption of VelocyPack in RestQueryHanlder 2015-11-09 15:36:58 +01:00
Jan Steemann 9c471df56f fixed compile warning 2015-11-09 15:33:39 +01:00
Michael Hackstein 34e4d461d0 RestQueryHandler uses the first VelocyPack parsed user input 2015-11-09 15:13:47 +01:00
Michael Hackstein 2ff01110f7 Added a option to VelocyPackify HTTP request bodies 2015-11-09 14:40:19 +01:00
Michael Hackstein 7555c2add0 Added a convenience OOM result builder in RestBaseHandler 2015-11-09 13:39:14 +01:00
Michael Hackstein 1d7b825462 Many parts of ReplicationHandler now use VelocyPack. Some parts interfere with the ReplicationApplier used in several places. Will be added later 2015-11-09 13:25:31 +01:00
Michael Hackstein 7fb1d9747c Continue moving RestReplicationHandler to VPack 2015-11-09 12:50:09 +01:00
Wilfried Goesgens 10fd57c391 remove debug output 2015-11-09 11:21:27 +01:00
Michael Hackstein f5ef995d16 The UploadHandler now uses VelocyPack instead of TRI_json_t 2015-11-09 11:20:32 +01:00
Michael Hackstein 769bcd8dfc Started to replace TRI_json_t in RestReplication handler. 2015-11-09 11:15:44 +01:00
Wilfried Goesgens c27ee437dd Properly communicate whether we altered the plan or not. 2015-11-09 10:59:40 +01:00
Michael Hackstein a649e36431 Fixed output of QUERY_CACHE json 2015-11-08 15:00:39 +01:00
Michael Hackstein 1daca4f156 Constified generateResult in RestBaseHandler 2015-11-07 19:09:48 +01:00
Michael Hackstein 52e198b59f Fixed a bug in RestDocumentHandler. One VelocyPack did result in an illegal representation 2015-11-07 19:06:38 +01:00
Michael Hackstein bedb61ea49 Removed cast for size_t in VPack. It is different in Mac and Linux but now VPack supports both natively 2015-11-07 18:51:31 +01:00
Michael Hackstein 22a7d1e49a The rest Query Handler now uses VelocyPack in most places. One place still missing... 2015-11-06 16:17:49 +01:00
Wilfried Goesgens 68190856ac - fix matching *
- implement filtering out conditions that would reference variables unknown to the traversal node
2015-11-06 15:52:01 +01:00
Wilfried Goesgens 9ad613a0a8 Return the variables that expressions use too in getVariablesUsedHere() 2015-11-06 15:50:59 +01:00
Michael Hackstein ede603b74a QueryCache and it's RestHandler now use VelocyPack 2015-11-06 15:43:47 +01:00
Michael Hackstein 0b2d40ef1d RestImportHandler now uses VelocyPack instead of TRI_json_t* 2015-11-06 15:28:21 +01:00
Michael Hackstein e20f0d9f11 RestDocumentHandler now uses VelocityPack instead of TRI_json_t 2015-11-06 15:12:24 +01:00
Michael Hackstein 42cf09e7f0 The RestVersionHandler now uses VPack instead of TRI_json_t 2015-11-06 15:02:13 +01:00
Michael Hackstein 454b3f0d7a The ShutdownHandler now uses VelocityPack instead of TRI_json_t 2015-11-06 14:39:50 +01:00
Michael Hackstein aff851ec81 The RestJobHandler now uses VelocyPack generateResult instead of TRI_json_t* 2015-11-06 14:22:06 +01:00
Michael Hackstein bcc79cc1cf AdminLogHandler and DebugHelperHandler now use generateResult for VelocyPack insted of TRI_json_t 2015-11-06 14:10:59 +01:00
Wilfried Goesgens 7a54982eb4 Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH 2015-11-06 13:53:21 +01:00
Wilfried Goesgens d51b5cdc9b Finalize the explain feature 2015-11-06 13:41:44 +01:00
Michael Hackstein 746c1a2573 Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2015-11-06 12:43:03 +01:00
Jan Steemann cb60466228 removed useless RestAdminBaseHandler layer 2015-11-06 12:42:02 +01:00
Michael Hackstein bc76a8999c RestBaseHandler now uses VelocyPack internally 2015-11-06 12:38:45 +01:00
Michael Hackstein 0a08c31b95 The first function now uses VelocyPack. Yay 2015-11-06 11:40:04 +01:00
Jan Steemann 725529e5f8 updated CHANGELOG 2015-11-06 10:47:56 +01:00
Michael Hackstein 6b62d50ced Added CXX Implementation of MERGE_RECURSIVE 2015-11-05 17:35:03 +01:00
Michael Hackstein e377cbab9d Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-11-05 15:29:05 +01:00
Michael Hackstein 2542ea5924 Added a CXX implementation for POSITION 2015-11-05 15:29:00 +01:00
Jan Steemann c4fd0d524e Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-11-05 15:16:34 +01:00
Jan Steemann a5be448a6d more diagnostic output for replication progress 2015-11-05 15:16:24 +01:00
Michael Hackstein e97e7a9e9b Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-11-05 14:27:03 +01:00
Michael Hackstein 6cab84e972 Added CXX implementation for RANGE 2015-11-05 14:26:53 +01:00
Jan Steemann 3c04642550 moved object cache from `db` object into object of its own 2015-11-05 14:20:02 +01:00
Jan Steemann 2a7430e5e8 minor fixes for replication 2015-11-05 12:51:19 +01:00
Jan Steemann 237ef1112e Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-11-05 11:23:44 +01:00
Jan Steemann b692cae352 never respond with empty error messages 2015-11-05 11:23:26 +01:00
Michael Hackstein 92c394e1ce Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-11-05 11:21:34 +01:00
Michael Hackstein 90aa5c858f Added CXX implementation for MEDIAN and PERCENTILE 2015-11-05 11:21:16 +01:00
Jan Steemann dc53e9fe95 move away from mutex to atomic variables 2015-11-05 10:58:35 +01:00
Michael Hackstein dbc67518a4 Added CXX implementation for STDDEV_SAMPLE and STDDEV_POPULATION 2015-11-04 17:53:45 +01:00
Wilfried Goesgens 179660e87c Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH 2015-11-04 17:07:09 +01:00
Michael Hackstein 0294be6ebe Added a CXX implementation for VARIANCE_POPULATION. 2015-11-04 16:49:08 +01:00
Michael Hackstein a1f947c9bf Added a CXX implemention for VARIANCE_SAMPLE 2015-11-04 16:39:45 +01:00
Michael Hackstein a958714bcc Added a CXX implementation for CURRENT_DATABASE. 2015-11-04 14:40:16 +01:00
Michael Hackstein b43eb25135 Added CXX implementation for REMOVE_VALUES 2015-11-04 14:02:27 +01:00
Michael Hackstein 03b6a021ce Adde CXX implementation of NOT_NULL 2015-11-04 13:38:22 +01:00
Jan Steemann dca3d207a1 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-11-04 13:19:04 +01:00
Jan Steemann 3f078553f9 fixed leaks 2015-11-04 13:18:48 +01:00
Michael Hackstein d28f2f8d24 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-11-04 12:44:39 +01:00
Michael Hackstein 3549be5088 Added CXX implementation for REMOVE_VALUE and REMOVE_NTH 2015-11-04 12:44:30 +01:00
Jan Steemann ad133ea862 turn off replication applier when starting with --no-server 2015-11-04 12:22:02 +01:00
Jan Steemann 2d84bb4439 added comments 2015-11-04 12:18:27 +01:00
Jan Steemann 3fd59fa3aa improved dfdb output 2015-11-04 12:17:29 +01:00
Jan Steemann 9df8128b94 duplicate attributes or shapes detection in shaper
when detecting duplicate attributes or shapes in Shaper, warn if their binary representation is distinct
and ignore them if their binary representation is the same as one of a previous shape/attribute with the
same id
2015-11-04 11:53:11 +01:00
Jan Steemann 9d74b48b94 fixed "no start tick" issue in replication applier
This error could occur after restarting a slave server after a shutdown
when no data was ever transferred from the master to the slave via the
continuous replication
2015-11-04 11:10:52 +01:00
Jan Steemann 9d94792140 disable replication applier when running with `--upgrade` and `--check-version` 2015-11-04 09:56:37 +01:00
Michael Hackstein 1957ef668d Added CXX implementation of SHIFT 2015-11-03 17:36:28 +01:00
Michael Hackstein c74aca37ac Added CXX implementation for UNSHIFT 2015-11-03 17:07:47 +01:00
Michael Hackstein c430a0ba36 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-11-03 11:51:21 +01:00
Michael Hackstein 7ace3c42e4 Added a CXX implementation of APPEND 2015-11-03 11:51:12 +01:00
Jan Steemann e7a955ea26 added comment 2015-11-03 10:55:25 +01:00
Michael Hackstein 5154e4de7a Added CXX implementation of POP 2015-11-03 10:21:35 +01:00
Jan Steemann 496e1cbc0f do not use strdup() 2015-11-03 10:21:35 +01:00
Jan Steemann 6d04ade890 avoid Visual Studio compile warnings 2015-11-03 10:21:35 +01:00
Michael Hackstein d75bc51647 Added a CXX implementation of PUSH 2015-11-03 10:21:31 +01:00
Michael Hackstein 1848c0f1f4 Added CXX implementation for FIRST_DOCUMENT and FIRST_LIST. 2015-11-03 10:21:31 +01:00
Michael Hackstein b71fa3e140 Added CXX implementation of Modulo. 2015-11-03 10:21:31 +01:00
Michael Hackstein 4627cdabb3 Added warnings for division by zero in CXX implementation. 2015-11-03 10:21:30 +01:00
Jan Steemann 2a2ddea576 fixed compile warning 2015-11-03 10:21:30 +01:00
jsteemann b1a95cb42c added AQL function `UNSET_RECURSIVE` 2015-11-03 10:21:30 +01:00
jsteemann cbb691410c added CXX implementations for `FIRST`, `LAST` and `NTH` 2015-11-03 10:21:28 +01:00
jsteemann 8d2c3fd7ca remove even more FILTER conditions 2015-11-03 10:21:26 +01:00
jsteemann a9a0a7e8cb removed unused method 2015-11-03 10:19:31 +01:00
Michael Hackstein 0339cb5e0c Added a CXX implementation of BINARY_OPERATOR_DIV. Deactivated CXX implementation of BINARY_OPERATOR_MOD have to check for data types 2015-11-03 10:19:31 +01:00
Michael Hackstein f23259b2bb Added CXX implementation of BINARY_OPERATOR_DIV 2015-11-03 10:19:30 +01:00
Michael Hackstein ceec76f13b Added CXX implementation for BINARY_OPERATOR_TIMES 2015-11-03 10:19:29 +01:00
Michael Hackstein 344f70fee2 Added CXX implementation for BINARY_MINUS 2015-11-03 10:19:29 +01:00
Max Neunhoeffer 21bc08715a Fix heartbeat thread of DBserver, less sleeping. 2015-11-03 10:19:26 +01:00
Michael Hackstein 11606c1f55 Added a CXX implementation of BINARY_PLUS. 2015-11-03 10:19:26 +01:00
Frank Celler 3500e569a8 reverted 011117edee, 72c8847324, 5da5715fa9, a371aac4af, 7decf1560a, 0331ff7993, 6ec2014052, ae8d686ae6, 7efd0a1ec7, 3449b87e2c, d35a4034ef, 7b3c1ed4dd, e0c88e4a1a, 952d643101, fc9de8ed08, 2f4319b31a, 105662d5ba, 0a08833b0f, 4ac19a99fc, 4c5494c67d, 528bb85b30, 528bb85b30 becuase of missing CLA 2015-11-03 10:19:25 +01:00
Jan Steemann afdcc68e51 minor patches 2015-11-03 10:19:25 +01:00
Michael Hackstein 4a0bd0f72c Refactored executeSimpleExpression. It now is a simple switch case with different private function calls. Instead of a 500 lines long function. 2015-10-30 15:53:49 +01:00
Michael Hackstein 2a32f71fe1 Started refactoring executeSimpleExpression. 2015-10-30 14:55:38 +01:00
Jan Steemann f646110a86 fixed author 2015-10-30 13:59:04 +01:00
Jan Steemann 72f7eed100 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-10-30 11:36:00 +01:00
Jan Steemann 41c388eab5 don't sleep in DBServer's HeartbeatThread::run() in case of plan changes 2015-10-30 11:35:18 +01:00
Michael Hackstein ac1cf36daf Added CXX implementation for ROUND and RAND 2015-10-30 11:06:57 +01:00
Michael Hackstein 858a8ba4f8 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-10-30 10:27:21 +01:00
Michael Hackstein 2cbfce5cc2 Added CXX implementations for ABS, CEIL, FLOOR, SQRT 2015-10-30 10:26:52 +01:00
Jan Steemann c98eae05e1 use indexes in more cases 2015-10-30 10:12:26 +01:00
Michael Hackstein d7bbd1e9e2 Removed temporary allowPartialIndex from IndexInformation. This is an internal variable and should never bother the user 2015-10-30 09:25:21 +01:00
Wilfried Goesgens 9c3402876d Now we know to filter for conditions that we can't analyze. 2015-10-29 17:48:46 +01:00
Wilfried Goesgens a05e96b508 these AST-nodes are optional. 2015-10-29 17:47:36 +01:00
Wilfried Goesgens bb9039c855 Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH 2015-10-29 16:01:01 +01:00
Jan Steemann 9aa1ba1f68 potential fix for ::stringify() 2015-10-29 15:58:47 +01:00
Michael Hackstein cc35fdb7b0 Added the implementation and more tests for EDGES in CXX only 2015-10-29 15:52:46 +01:00
Wilfried Goesgens ba159428be Implement function to find all variable references in an expression. 2015-10-29 13:29:21 +01:00
Jan Steemann 581521949e Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-10-29 11:57:34 +01:00
Jan Steemann 01499dde43 added deadlock detection for lazy locking of collections 2015-10-29 11:57:22 +01:00
Michael Hackstein 82424a4623 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-10-29 09:51:39 +01:00
Michael Hackstein e2d8bb2094 Added an additional assertion for nullptr in orderDitch. It was asserted on a subattribute of collection but never on collection itself 2015-10-29 09:51:30 +01:00
Michael Hackstein 6552c73d25 Added a CXX implementation of DOCUMENT 2015-10-29 09:50:40 +01:00
jsteemann 733a3000b7 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-10-28 21:43:08 +01:00
jsteemann cd745f3266 order ditches 2015-10-28 21:43:02 +01:00
Michael Hackstein 293bdf4458 Implemented a CXX version of MINUS 2015-10-28 17:29:51 +01:00
Michael Hackstein 18d72e526c Fixed memleak in ZIP 2015-10-28 16:45:47 +01:00
Michael Hackstein d8d37a3bd5 Added a CXX implementation for PARSE_IDENTIFER 2015-10-28 16:02:15 +01:00
Michael Hackstein 66ae927e3c Added a CXX implementation of ZIP. Made the CXX implementation of FLATTEN more relaxed. It now works with invalid maxDepth entries and falls-back to 1 there 2015-10-28 15:06:22 +01:00
Michael Hackstein 9e98d5b87b Added CXX implementation of FLATTEN incl tests. 2015-10-28 14:10:03 +01:00
Wilfried Goesgens 327b408a22 Start implementing early filtering of paths to exclude from the result 2015-10-28 12:37:13 +01:00
Wilfried Goesgens 5ef165a245 Autogenerated file. 2015-10-28 12:36:35 +01:00
Jan Steemann 31cacfb9f9 do not allow remaining in already-deleted database with _useDatabase() 2015-10-28 11:22:58 +01:00
Wilfried Goesgens 951165ab1e Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH
Conflicts:
	arangod/Aql/grammar.cpp
	arangod/Aql/grammar.h
	js/common/modules/org/arangodb/graph-examples/example-graph.js
2015-10-28 11:08:18 +01:00
jsteemann 5fff134c80 added CXX implementations of `WITHIN` and `NEAR` AQL functions 2015-10-27 23:24:00 +01:00
Michael Hackstein 021eb6ae4b Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-10-27 16:36:33 +01:00
Michael Hackstein c655cbc65f The cluster will not ask any other index than Skiplist or Hash if it can serve for condition. All others can only be used by functions and use different ways. 2015-10-27 16:36:19 +01:00
Jan Steemann da8519b1a2 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-10-27 16:16:57 +01:00
Jan Steemann 63bebc4fe2 index printing 2015-10-27 16:16:46 +01:00
Michael Hackstein 58cd64639b Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-10-27 14:19:14 +01:00
Michael Hackstein a94eb7fd49 In an array index with subattributes the document will be indexed with null if it has the array, but the subattribute is not existing. And it will not be indexed if it does not have the array 2015-10-27 14:19:06 +01:00
Michael Hackstein d7f3ca496d The Array Index now allows to query for null IN in sparse version 2015-10-27 13:00:49 +01:00
Jan Steemann 3c4655124a Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-10-27 11:16:19 +01:00
Jan Steemann d73a5b7ff7 fixed logic error in replication dump function 2015-10-27 11:16:03 +01:00
Jan Steemann 67d033c8b2 fixed segfault with string collection names 2015-10-27 11:14:52 +01:00
Michael Hackstein 52e372ab27 Added some more Array Indexing tests. And improved the pathbased index. Now it is checked when trying to array-index a non-array value. And if non existing attributes are added to the index or not. 2015-10-27 11:14:02 +01:00
Michael Hackstein d9eb549335 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-10-26 17:22:06 +01:00
Michael Hackstein 817c9827e1 Added tests for Array-Indexing non Array elements. It should allow partial indexing in the skiplist and forbid indexing in the hash index now. 2015-10-26 17:22:01 +01:00
Jan Steemann 970c5a7e52 fixed SSL shutdown issue 2015-10-26 17:21:21 +01:00
Wilfried Goesgens 36f289ea16 We picked the Executionnode from the plan to a local variable, we can use it later on. 2015-10-26 13:52:32 +01:00
Wilfried Goesgens d113f2e17a We picked the Executionnode from the plan to a local variable, we can use it later on. 2015-10-26 13:51:35 +01:00
Michael Hackstein c35ccc02d5 Fixed unique-constrain-violated behaviour in SkiplistIndex 2015-10-26 09:28:14 +01:00
Frank Celler 4b99be0c30 added --enable-console to configure 2015-10-25 19:59:16 +01:00
Jan Steemann 3cf1b237ee dfdb improvements 2015-10-23 19:03:24 +02:00
Jan Steemann ad068ce49f Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-10-23 17:23:11 +02:00
Jan Steemann 50d5176adf potential fix for unique index constraint violation with array indexes 2015-10-23 17:22:37 +02:00
Max Neunhoeffer e6a81de395 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2015-10-23 16:45:37 +02:00
Max Neunhoeffer cc45a0d352 Implement role switching. 2015-10-23 16:45:21 +02:00
Jan Steemann 025e470e3b added a single-array parameter variant for the AQL MERGE function 2015-10-23 15:29:53 +02:00
Jan Steemann 56ea700546 fixed parse error 2015-10-23 13:27:36 +02:00
Michael Hackstein d478f8dcc9 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-10-23 12:50:02 +02:00
Michael Hackstein 0a175a4271 Removed getOne in SimpleAttribute Matcher. All of the attributes are in sorted order rendering getOne and getAny useless 2015-10-23 12:49:57 +02:00
Jan Steemann e2136ea21a do not allow index creation with multiple [*] in single attribute 2015-10-23 11:45:17 +02:00
jsteemann fad9782a4a removed unused functions 2015-10-23 01:22:41 +02:00
jsteemann 058fec96f6 removed some dependencies 2015-10-23 00:15:07 +02:00
Jan Steemann ec7bb3e820 fix for Windows build 2015-10-22 18:41:13 +02:00
Jan Steemann 66f3840563 attempt to fix leak 2015-10-22 18:24:35 +02:00
Jan Steemann 8751ee2866 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-10-22 18:03:32 +02:00
Jan Steemann 03da10bb51 attempt to fix failing Windows build 2015-10-22 18:03:07 +02:00
Jan Steemann 49d8e94daf added includes 2015-10-22 17:26:22 +02:00
Jan Steemann d428aeca93 fix some Visual Studio complaints 2015-10-22 17:23:21 +02:00
Jan Steemann 5a190d1110 fixed leaks, index speedup 2015-10-22 17:03:05 +02:00
Michael Hackstein 3af1f80dc9 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-10-22 16:23:05 +02:00
Michael Hackstein c3c57d26a0 Improved skip in Enumerate collection 2015-10-22 16:22:56 +02:00
Frank Celler b7de227138 removed readline 2015-10-22 15:41:33 +02:00
Jan Steemann 07aa9a7daf Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-10-22 14:12:00 +02:00
Jan Steemann 0fee6fd856 attempt to speed up index queries 2015-10-22 14:11:54 +02:00