jsteemann
3d6582ed52
micro optimizations
2015-12-22 21:58:20 +01:00
Jan Steemann
2b3f3f997b
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-17 10:59:30 +01:00
Jan Steemann
a694b7ef48
make_unique
2015-12-16 11:36:35 +01:00
Jan Steemann
0dd207f9f5
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-01 11:14:12 +01:00
jsteemann
37f72fa721
micro optimizations
2015-11-30 19:37:58 +01:00
Jan Steemann
75e4e6e815
added transaction to all signatures
2015-11-24 17:34:23 +01:00
Max Neunhoeffer
a5728d6793
Get rid of unnecessary warning about _lockedShards.
2015-01-30 15:04:39 +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
Jan Steemann
8bb213e7ba
sort and cache list expression values
...
emplace
fixed wrong assertion
2014-10-29 01:02:20 +01:00
Jan Steemann
13d240384f
less namespace pollution
2014-10-28 00:24:37 +01:00
Jan Steemann
a37c3cea93
added comment
2014-10-23 15:36:59 +02:00
Jan Steemann
819d2bada7
fixed shutdown error
2014-10-23 14:46:59 +02:00
Jan Steemann
612abc6a20
less throwing in destructors
2014-10-23 10:18:30 +02:00
Jan Steemann
54a0f182e2
call shutdown using an errorCode
2014-10-22 19:01:56 +02:00
Jan Steemann
7f2373204a
fixed cloning of coordinator queries
2014-10-22 17:25:59 +02:00
Max Neunhoeffer
cb75b0b18a
Sort out transactions in cluster, part I.
2014-10-17 15:25:46 +02:00
Jan Steemann
c4ce98a442
fixed some bugs in distributed plan instanciation
2014-09-30 15:19:44 +02:00
Jan Steemann
3ac25ad56f
fixed some issues with remote queries
2014-09-29 12:14:03 +02:00
Jan Steemann
166179c6d5
fixed compile warnings
2014-09-29 09:05:15 +02:00
Max Neunhoeffer
f1483a4ea0
Optimize/debug HTTP API for queries and AqlItemBlock serialisation.
2014-09-25 11:47:50 +02:00
Max Neunhoeffer
20f345ccdd
Fix automatic expiry of queries.
2014-09-24 23:12:23 +02:00
Max Neunhoeffer
85ce0f0674
Remove some empty comments.
2014-09-24 16:27:45 +02:00
Max Neunhoeffer
37894bc628
Fix expireQueries.
2014-09-24 16:27:02 +02:00
Max Neunhoeffer
afc54a07a9
Implement expireQueries in QueryRegistry.
2014-09-24 16:26:31 +02:00
Max Neunhoeffer
cf5e1be91e
Version version of HTTP API done.
2014-09-24 16:17:18 +02:00
Max Neunhoeffer
b4af145317
Add QueryRegistry.
2014-09-18 16:50:59 +02:00