1
0
Fork 0
arangodb/lib
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
..
Admin the great rename: array => object, list => array 2014-12-18 21:07:06 +01:00
ApplicationServer fixed syslog 2014-11-18 18:16:29 +01:00
Basics added random iteration for collections 2014-12-19 18:01:13 +01:00
Dispatcher remove superfluous threads after a grace period 2014-11-10 21:42:32 +01:00
Documentation
GeneralServer Squashed commit of the following: organise locking in distributed AQL 2014-12-22 14:40:22 +01:00
HttpServer the great rename: array => object, list => array 2014-12-18 21:07:06 +01:00
JsonParser the great rename: array => object, list => array 2014-12-18 21:07:06 +01:00
MRuby the great rename: array => object, list => array 2014-12-18 21:07:06 +01:00
ProgramOptions
Rest Squashed commit of the following: organise locking in distributed AQL 2014-12-22 14:40:22 +01:00
Scheduler the great rename: array => object, list => array 2014-12-18 21:07:06 +01:00
ShapedJson the great rename: array => object, list => array 2014-12-18 21:07:06 +01:00
SimpleHttpClient Put a loop around select() to take care of EINTR. 2014-12-03 23:45:20 +01:00
Statistics Fixed statistics for FreeBSD 2014-11-26 16:57:40 +01:00
Utilities
V8 the great rename: array => object, list => array 2014-12-18 21:07:06 +01:00
Zip
CMakeLists.txt removed unused file 2014-12-16 17:30:48 +01:00
Makefile.files removed unused file 2014-12-16 17:30:48 +01:00
Makefile.flex