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
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
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
Michael Hackstein
3845f8b7eb
Merge branch 'JHMH' of github.com:arangodb/arangodb into JHMH
2015-11-17 08:54:59 +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
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
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
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