1
0
Fork 0
arangodb/arangod/VocBase
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
..
FILES.md new upgrade-database (formely known as version-check) and new startup procedure 2014-08-07 14:12:19 +02:00
LOCKS.md updated docs 2013-09-26 09:57:02 +02:00
auth.cpp the great rename: array => object, list => array 2014-12-18 21:07:06 +01:00
auth.h the great rename 2014-09-13 00:10:11 +02:00
barrier.cpp Fix TRI_FreeBarrier by giving two variants. 2014-10-30 09:51:13 +01:00
barrier.h Fix TRI_FreeBarrier by giving two variants. 2014-10-30 09:51:13 +01:00
cleanup.cpp more cleanup 2014-10-18 01:39:47 +02:00
cleanup.h updated disclaimer 2014-06-20 16:40:35 +02:00
collection.cpp the great rename: array => object, list => array 2014-12-18 21:07:06 +01:00
collection.h optimization for recovery of collections that are going to be dropped anyway 2014-09-18 18:20:56 +02:00
compactor.cpp fixed potential reason for segfault 2014-11-06 12:59:50 +01:00
compactor.h updated disclaimer 2014-06-20 16:40:35 +02:00
datafile.cpp Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-15 09:51:04 +02:00
datafile.h renamed files 2014-09-13 01:44:01 +02:00
document-collection.cpp Squashed commit of the following: organise locking in distributed AQL 2014-12-22 14:40:22 +01:00
document-collection.h removed bitarray indexes 2014-09-15 14:19:38 +02:00
edge-collection.cpp rename orgy 2014-09-13 02:35:13 +02:00
edge-collection.h updated disclaimer 2014-06-20 16:40:35 +02:00
general-cursor.cpp the great rename: array => object, list => array 2014-12-18 21:07:06 +01:00
general-cursor.h The Big V8 upgrade Merge. 2014-12-15 17:30:56 +01:00
headers.cpp rename orgy 2014-09-13 02:35:13 +02:00
headers.h renamed files 2014-09-13 01:44:01 +02:00
index.cpp the great rename: array => object, list => array 2014-12-18 21:07:06 +01:00
index.h removed unused function 2014-11-24 13:00:45 +01:00
key-generator.cpp fixed tests on ARM 2014-12-19 17:59:36 +01:00
key-generator.h the great rename 2014-09-13 00:10:11 +02:00
primary-index.cpp the great rename 2014-09-13 00:10:11 +02:00
primary-index.h small optimizations 2014-10-08 16:10:27 +02:00
replication-applier.cpp the great rename: array => object, list => array 2014-12-18 21:07:06 +01:00
replication-applier.h include or exclude system collections from replication 2014-12-05 14:58:43 +01:00
replication-common.cpp include or exclude system collections from replication 2014-12-05 14:58:43 +01:00
replication-common.h include or exclude system collections from replication 2014-12-05 14:58:43 +01:00
replication-dump.cpp include or exclude system collections from replication 2014-12-05 14:58:43 +01:00
replication-dump.h include or exclude system collections from replication 2014-12-05 14:58:43 +01:00
replication-master.cpp rename orgy 2014-09-13 02:35:13 +02:00
replication-master.h fully removed replication logger 2014-06-21 00:32:47 +02:00
server.cpp the great rename: array => object, list => array 2014-12-18 21:07:06 +01:00
server.h flush log at shutdown 2014-10-18 00:44:44 +02:00
transaction.cpp Squashed commit of the following: organise locking in distributed AQL 2014-12-22 14:40:22 +01:00
transaction.h skip writing begin/abort/commit markers for transactions without write operations 2014-11-20 14:19:23 +01:00
update-policy.h WAL recovery 2014-06-27 19:11:41 +02:00
voc-shaper.cpp fixed compile warnings 2014-09-26 12:30:42 +02:00
voc-shaper.h Use two shapers in TRI_CompareShapeTypes 2014-08-07 09:51:24 +02:00
voc-types.h Fix bug in AQL that abort() was called after commit() for trx. 2014-10-31 18:15:40 +01:00
vocbase-defaults.cpp the great rename: array => object, list => array 2014-12-18 21:07:06 +01:00
vocbase-defaults.h Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-17 11:50:42 +02:00
vocbase.cpp the great rename: array => object, list => array 2014-12-18 21:07:06 +01:00
vocbase.h removed Ahuacatl [skip ci] 2014-10-31 17:31:00 +01:00