1
0
Fork 0
arangodb/arangod/Cluster
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
..
AgencyComm.cpp the great rename: array => object, list => array 2014-12-18 21:07:06 +01:00
AgencyComm.h the great rename 2014-09-13 00:10:11 +02:00
ApplicationCluster.cpp the great rename: array => object, list => array 2014-12-18 21:07:06 +01:00
ApplicationCluster.h less namespace pollution 2014-10-28 00:24:37 +01:00
ClusterComm.cpp Squashed commit of the following: organise locking in distributed AQL 2014-12-22 14:40:22 +01:00
ClusterComm.h Cleanup code after making dispatcher elastic. 2014-11-07 20:25:05 -05:00
ClusterInfo.cpp the great rename: array => object, list => array 2014-12-18 21:07:06 +01:00
ClusterInfo.h the great rename: array => object, list => array 2014-12-18 21:07:06 +01:00
ClusterMethods.cpp the great rename: array => object, list => array 2014-12-18 21:07:06 +01:00
ClusterMethods.h Renamed mergeArrays->mergeObjects to make API less confusing. 2014-12-02 17:03:03 +01:00
HeartbeatThread.cpp the great rename: array => object, list => array 2014-12-18 21:07:06 +01:00
HeartbeatThread.h do not spam dispatcher queue 2014-10-28 16:01:40 +01:00
RestShardHandler.cpp Allow asynchronous cluster internal communication between DBservers. 2014-07-30 10:47:28 +02:00
RestShardHandler.h updated disclaimer 2014-06-20 16:40:35 +02:00
ServerJob.cpp The Big V8 upgrade Merge. 2014-12-15 17:30:56 +01:00
ServerJob.h less namespace pollution 2014-10-28 00:24:37 +01:00
ServerState.cpp added enterContext and exitContext to Query 2014-10-17 12:01:50 +02:00
ServerState.h updated disclaimer 2014-06-20 16:40:35 +02:00
v8-cluster.cpp The Big V8 upgrade Merge. 2014-12-15 17:30:56 +01:00
v8-cluster.h The Big V8 upgrade Merge. 2014-12-15 17:30:56 +01:00