Jan Steemann
0099fe260a
return value optimization for AQL
2015-04-30 23:38:27 +02:00
Jan Steemann
bf3a1daaa9
recycle AqlItemBlocks
2015-04-27 12:41:55 +02:00
Jan Steemann
7c5cc16a8a
less locking for cluster status checks
2015-02-18 18:14:12 +01:00
Jan Steemann
a327016312
added method for cluster test
2015-01-24 14:07:06 +01:00
Max Neunhoeffer
05c069f361
Another fix for the distributed locking problem in cluster AQL.
2014-12-23 14:35:19 +01:00
Max Neunhoeffer
e50a705d9a
Squashed commit of the following: organise locking in distributed AQL
...
Locking is now done in an extra round after the query is fully
instanciated in the cluster. All participating shards are locked
in alphabetical order of their shard ID (local collection name).
For this to work there is a new action in the RestAqlHandler plus a
mechanism to prevent the usual locking from happening: Each thread has a
thread local static class variable of
triagens::arango::Transaction::_makeNolockHeaders
which is of type std::unordered_set<std::string>*.
Whenever this is not equal to nullptr and a local collection name is
stored in there, no locking or unlocking takes place. This information
is forwarded by the X-Arango-Nolock HTTP header, whenever an HTTP
request is sent via ClusterComm to a shard.
2014-12-22 14:40:22 +01:00
Willi Goesgens
5ed8816788
Remove Explain of cluster snippets
2014-10-27 16:10:13 +01:00
Willi Goesgens
91e04e3230
Implement outputting of splitted plans which are to be distributed to the db servers
2014-10-24 17:14:13 +02:00
Jan Steemann
54a0f182e2
call shutdown using an errorCode
2014-10-22 19:01:56 +02:00
Jan Steemann
e2ef21c33a
fixed non-working DistributeBlock
2014-10-22 12:07:31 +02:00
Willi Goesgens
b3beff3053
Call shutdown() on execution abortion, so we don't leave trash behind on the cluster nodes.
2014-10-20 16:36:54 +02:00
Jan Steemann
c93c952c05
fixed from/to-handling in cluster
2014-10-20 12:32:08 +02:00
Jan Steemann
4ff58364f1
fixed cloning of plans
2014-10-07 12:00:37 +02:00
Willi Goesgens
4b399236f1
Make the Transaction a smart pointer living inside of Query.
2014-10-01 14:30:53 +02:00
Jan Steemann
643ffa104d
moved isCoordinator to function of its own
2014-09-29 09:38:15 +02:00
Jan Steemann
0d075dca3f
pass queryRegistry into the AQL functions
2014-09-29 09:30:32 +02:00
Jan Steemann
9e47f3ca27
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
...
Conflicts:
arangod/Aql/ExecutionNode.h
2014-09-26 20:23:52 +02:00
Jan Steemann
c3ce45e0dd
added block instanciation for coordinator, v0.0.0
2014-09-26 20:17:42 +02:00
Max Neunhoeffer
865d513dd0
Add skipSome to HTTP API and to ExecutionEngine.
2014-09-26 16:18:47 +02:00
Max Neunhoeffer
25ee17c075
initializeCursor and shutdown methods for ExecutionEngine.
2014-09-26 14:50:28 +02:00
Max Neunhoeffer
31e02e42cb
Instanciate expressions for variable bounds.
...
And various cleanups.
2014-09-11 14:28:38 +02:00
Jan Steemann
1442b9ebeb
pass ExecutionEngine to ExecutionBlock, added stats for ExecutionEngine
2014-08-21 12:33:13 +02:00
James
69ad2e3209
tweaking ExecutionEngine initialisation.
2014-08-13 16:24:31 +02:00
James
11ffc1cac0
added getSome etc methods to ExecutionEngine.
2014-08-13 16:16:42 +02:00
Max Neunhoeffer
96d8dcc054
Major cleanup, not yet working.
2014-08-05 12:29:36 +02:00
Max Neunhoeffer
fd28a5cc4f
Fix something.
2014-08-01 11:59:54 +02:00
Max Neunhoeffer
5315f35ed3
Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
arangod/Aql/ExecutionBlock.h
2014-08-01 11:57:27 +02:00
Max Neunhoeffer
e7e98262ea
Redo instanciator using Walker and in ExecutionEngine.
2014-08-01 11:56:39 +02:00
Jan Steemann
2881409527
renaming
2014-08-01 11:46:31 +02:00
Jan Steemann
7ca38317b2
execution engine
2014-08-01 11:22:35 +02:00
Jan Steemann
d492271b93
added ExecutionEngine
2014-08-01 11:21:08 +02:00