1
0
Fork 0
Commit Graph

7021 Commits

Author SHA1 Message Date
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
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
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
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
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 5d2951a15b removed unused method 2015-11-25 14:59:43 +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
Michael Hackstein bcd5813bb1 CXX RestEdgesHandler now actually returns a result. All tests are green now 2015-11-24 10:47:07 +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
Wilfried Goesgens e34f3824a5 Add link to the reference 2015-11-23 14:01:42 +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
Wilfried Goesgens 16eee4793d Improve error reporting if selecting a graph description fails 2015-11-19 16:27:36 +01:00
Jan Steemann bc3bbc46b5 fixed Visual Studio warnings 2015-11-19 14:29:49 +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