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
fd5a723f30
removed deprecated methods
2014-12-19 14:00:58 +01:00
Jan Steemann
87afcf5e8d
the great rename
2014-09-13 00:10:11 +02:00
Jan Steemann
d56719ae4d
simplification of signatures
2014-06-24 00:32:40 +02:00
Frank Celler
4dcf5dc817
updated disclaimer
2014-06-20 16:40:35 +02:00
Max Neunhoeffer
bb5b341ba6
Get rid of many "using namespace ..." occurrences in header files.
2014-05-22 15:13:16 +02:00
Max Neunhoeffer
69353334eb
Get rid of TRI_ENABLE_CLUSTER everywhere.
2014-05-21 14:46:47 +02:00
Max Neunhoeffer
0af211c1e5
More header cleanups.
2014-05-21 13:42:41 +02:00
Max Neunhoeffer
9b5f015747
Prepare setup for cluster arangorestore.
2014-05-08 22:38:52 +02:00
Max Neunhoeffer
a312d496a9
Finish server functionality for cluster dump.
2014-05-07 16:36:47 +02:00
Max Neunhoeffer
272aa89904
More trampoline functionality in coordinator.
...
inventory and dump (not yet working).
restore-data (not yet tested).
2014-05-06 21:36:52 +02:00
Max Neunhoeffer
271e33be48
Implement trampoline for /_api/replication/batch.
2014-05-06 16:27:27 +02:00
Jan Steemann
e968d62367
re-use planId
2014-03-05 15:33:49 +01:00
Jan Steemann
978e784462
disable replication handlers for coordinators
2014-02-28 21:51:02 +01:00
Frank Celler
f2121ff442
cleanup
2014-02-25 15:32:07 +01:00
Frank Celler
42fb8244e1
added requeue
2014-02-25 12:07:16 +01:00
Jan Steemann
865b70862e
some minor adjustments for arangodump and arangorestore
2013-12-13 11:54:00 +01:00
Jan Steemann
b8318609e2
updated arangorestore
2013-10-10 16:58:21 +02:00
Jan Steemann
6a353a4c38
resolve collection names on reimport
2013-10-10 12:33:27 +02:00
Jan Steemann
ed163164c4
fixed queue naming
2013-09-20 13:17:32 +02:00
Jan Steemann
3a6cabfe44
creating/dropping
2013-09-11 17:16:43 +02:00
Jan Steemann
c6c4c70333
activated arangodump and arangorestore
2013-09-06 00:54:58 +02:00
Jan Steemann
1af5aa6b45
block compaction & datafile removal while dumping
2013-08-30 17:25:09 +02:00
Jan Steemann
6c64a35895
restore client, unfinished
2013-08-30 01:14:21 +02:00
Jan Steemann
e72c6ab20c
fixed a memleak in /_api/replication/dump
2013-08-29 11:46:33 +02:00
Jan Steemann
38d8b0b598
adjusted tests and docs
2013-08-01 18:41:13 +02:00
Jan Steemann
a7c5350455
added server-id method
2013-08-01 18:27:42 +02:00
Jan Steemann
f1418ec667
updated tests and docs
2013-08-01 16:53:29 +02:00
Jan Steemann
461001efd2
split of initial and continuous sync, currently not working
2013-07-30 14:13:49 +02:00
Jan Steemann
002ebd48bc
removed all replication conditionals
2013-07-30 13:16:37 +02:00
Jan Steemann
6b5900e8e0
updated replication api
2013-07-30 09:54:39 +02:00
Jan Steemann
226667bea1
fixed doxygen generation
2013-07-29 13:38:00 +02:00
Jan Steemann
5fe1844ee1
replication tests
2013-07-23 15:03:59 +02:00
Jan Steemann
f49ae77bc5
include replication tests
2013-07-23 11:19:41 +02:00
Jan Steemann
539954894f
log last access time of clients
2013-07-22 18:13:21 +02:00
Jan Steemann
c4f82088dd
replication tests
2013-07-22 18:12:56 +02:00
Jan Steemann
08b9f57166
stoppable replication applier
2013-07-17 10:58:10 +02:00
Jan Steemann
0266e2339a
replication apply state tracking
2013-07-12 15:06:52 +02:00
Jan Steemann
98dd1c2522
moved replication parts into separate files
2013-07-11 14:44:09 +02:00
Jan Steemann
dfd9117fd1
some cleanup, initial implementation of log dump
2013-07-08 12:27:20 +02:00
Jan Steemann
a0c1308edb
initial synching of collections
2013-07-04 15:53:51 +02:00
Jan Steemann
cf10b0e8ff
added missing ifdefs
2013-06-27 19:28:53 +02:00
Jan Steemann
b643ff4b43
added dump command
2013-06-27 19:26:10 +02:00
Jan Steemann
1cb3296e70
implemented start/stop HTTP methods for replication
2013-06-27 16:10:01 +02:00
Jan Steemann
6e9c3e8e2c
replication logging
2013-06-26 12:04:55 +02:00