1
0
Fork 0
Commit Graph

6886 Commits

Author SHA1 Message Date
Wilfried Goesgens 418ddc4dd5 Implement simple condition extractor 2015-11-13 16:49:12 +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
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
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
Jan Steemann 0b13b01e77 fixed potentially invalid pointer access 2015-11-11 17:03:36 +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
Wilfried Goesgens 04b1d75d51 Improve error handling, differenciate between collection not found and collection wrong for vertex 2015-11-10 13:32:46 +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
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
Wilfried Goesgens 10fd57c391 remove debug output 2015-11-09 11:21:27 +01:00
Wilfried Goesgens c27ee437dd Properly communicate whether we altered the plan or not. 2015-11-09 10:59:40 +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
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
Jan Steemann cb60466228 removed useless RestAdminBaseHandler layer 2015-11-06 12:42:02 +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