1
0
Fork 0
Commit Graph

7043 Commits

Author SHA1 Message Date
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
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