Frank Celler
4c5d57f1b8
merged Exceptions.h and Exception.h
2015-03-23 14:05:19 +01:00
Jan Steemann
f3b142849f
fixed leaks during reverts
2015-01-03 01:28:23 +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
a56ad5df36
fixed unintentionally broken tests
2014-12-17 14:44:18 +01:00
Jan Steemann
db1ddb880b
wait for sync thread outside of lock
2014-12-17 14:21:24 +01:00
Jan Steemann
da007f5640
skip writing begin/abort/commit markers for transactions without write operations
2014-11-20 14:19:23 +01:00
Jan Steemann
cbe8150e97
fixed potential reason for segfault
2014-11-06 12:59:50 +01:00
Max Neunhoeffer
3960ff5667
Fix TRI_FreeBarrier by giving two variants.
2014-10-30 09:51:13 +01:00
Max Neunhoeffer
1d867643d5
Protect some flags in a barrier by the barrier lock.
2014-10-30 09:36:38 +01:00
Jan Steemann
64f5b22e4f
changed interface for locking
2014-09-19 12:45:29 +02:00
Jan Steemann
506936dcdb
rename orgy
2014-09-13 02:35:13 +02:00
Jan Steemann
87afcf5e8d
the great rename
2014-09-13 00:10:11 +02:00
Willi Goesgens
f97044952e
Add de/stringifyier for transaction type enum
2014-09-11 17:59:32 +02:00
Max Neunhoeffer
c4918e4fb7
Silence another compiler warning.
2014-08-22 09:36:31 +02:00
Jan Steemann
f0f9664bae
fix compile warnings for Visual Studio
2014-07-23 11:35:17 +02:00
Max Neunhoeffer
0a414b7e48
Fix bug with the size counting.
2014-07-23 10:27:39 +02:00
Max Neunhoeffer
04065a951d
Find original legend in same WAL file if needed.
2014-07-22 23:32:08 +02:00
Max Neunhoeffer
a8e3236560
Snapshot, legend cache started.
2014-07-22 16:59:19 +02:00
Jan Steemann
6f4ab77d9b
fixed WAL collector moving markers
2014-07-04 13:52:31 +02:00
Jan Steemann
7c9de61e48
fix compile warnings
2014-07-01 20:49:00 +02:00
Jan Steemann
6d5da6d834
fixed test
2014-06-30 13:28:26 +02:00
Jan Steemann
bda2db16da
recovery and replication
2014-06-30 13:07:48 +02:00
Jan Steemann
76de1ae762
cppcheck
2014-06-27 22:20:17 +02:00
Jan Steemann
067dbf63b2
WAL recovery
2014-06-27 19:11:41 +02:00
Frank Celler
291c92dbf3
renamed ReadOnly to NoCreate
2014-06-25 14:32:00 +02:00
Jan Steemann
c4aad1e0cd
added tests
2014-06-24 15:11:19 +02:00
Jan Steemann
98f87b1f80
write-throttling
2014-06-24 10:55:05 +02:00
Jan Steemann
d56719ae4d
simplification of signatures
2014-06-24 00:32:40 +02:00
Jan Steemann
16bf152c8f
fully removed replication logger
2014-06-21 00:32:47 +02:00
Frank Celler
4dcf5dc817
updated disclaimer
2014-06-20 16:40:35 +02:00
Jan Steemann
7e52ebbc3b
fixes for Visual Studio
2014-06-20 15:46:33 +02:00
Jan Steemann
9b713fccba
renamed macro
2014-06-20 13:43:29 +02:00
Jan Steemann
cc35e4696c
added more tests
2014-06-20 09:20:27 +02:00
Jan Steemann
c60bde28b6
added crash tests
2014-06-20 08:36:36 +02:00
Jan Steemann
8b9cdbe075
fixed tests
2014-06-18 16:34:11 +02:00
Jan Steemann
2a0e0b18d0
added many tests
2014-06-16 14:39:26 +02:00
Jan Steemann
b54b89d68d
key generator rework
2014-06-14 00:33:40 +02:00
Jan Steemann
35a81dc54d
more asserts
2014-06-13 21:40:34 +02:00
Jan Steemann
0c5950507c
fixed test
2014-06-13 17:50:44 +02:00
Jan Steemann
47999865d6
read-only mode
2014-06-13 15:32:13 +02:00
Jan Steemann
d7f35bcc7b
fixed datafile ticks issues
2014-06-13 14:46:21 +02:00
Max Neunhoeffer
82ab5bc0ac
More checks for protected getShaper accesses.
...
Also: Make arangodump possible using fake trx objects.
2014-06-12 10:38:39 +02:00
Jan Steemann
b802973273
Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
arangod/Wal/CollectorThread.cpp
2014-06-11 11:33:48 +02:00
Jan Steemann
7e6750c397
wal flush w/ collection unload
2014-06-11 11:33:02 +02:00
Max Neunhoeffer
c2bddb1c19
Let TRI_document_collection_t inherit from TRI_collection_t.
2014-06-11 10:51:47 +02:00
Jan Steemann
5a8cdb0ec5
wal flush
2014-06-11 09:32:20 +02:00
Jan Steemann
7c599ef893
barriers
2014-06-10 16:42:15 +02:00
Jan Steemann
a8e28a01b6
properly return logfile id
2014-06-10 14:32:28 +02:00
Jan Steemann
0883a973aa
set header fid
2014-06-10 13:44:25 +02:00