jsteemann
9f0576c65f
don't rely so much on namespace std being present
2016-01-08 01:05:06 +01:00
Jan Steemann
3ad20c0cae
auto-generated headers
2016-01-06 18:41:51 +01:00
Jan Steemann
a3b026d9d1
removed useless sections from code, unified include guards
2016-01-06 14:15:22 +01:00
Jan Steemann
f422576ee0
clang-format
2016-01-05 17:43:24 +01:00
Michael Hackstein
c2eb6553ae
The web of TRI_col_info_t is increasing...
2015-12-16 18:56:54 +01:00
Jan Steemann
6ee813c65a
fixed compaction
2015-12-08 16:08:25 +01:00
Jan Steemann
04f3abae2a
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-07 16:51:21 +01:00
Jan Steemann
1daeb7ad28
deadlock tests for drivers
2015-12-07 15:01:35 +01:00
Jan Steemann
0dd207f9f5
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-01 11:14:12 +01:00
jsteemann
37f72fa721
micro optimizations
2015-11-30 19:37:58 +01:00
Jan Steemann
19b2d28167
pass transaction to index APIs
2015-11-25 14:42:29 +01:00
Jan Steemann
bcb31ab4c2
insertv continued
2015-11-19 16:46:06 +01:00
Jan Steemann
01499dde43
added deadlock detection for lazy locking of collections
2015-10-29 11:57:22 +01:00
Michael Hackstein
1ba2efed60
Fixed GraphNeighbors as locking was not woring for include data
2015-10-07 15:50:41 +02:00
Jan Steemann
4249095456
issue #1507 : added optional *allowImplicit* sub-attribute for transactions
2015-09-24 15:50:00 +02:00
CoDEmanX
b4593a7e82
Change spelling of 'initialize' to American English (comments and log messages only)
2015-09-01 17:07:21 +02:00
Jan Steemann
7540059f36
uint32_t => uint64_t
2015-08-25 15:08:09 +02:00
Jan Steemann
31a6547d4c
fix replication resumption
2015-08-21 15:57:24 +02:00
Jan Steemann
ffde050e0d
check for empty collections list
2015-08-20 20:25:01 +02:00
Jan Steemann
4e771b2728
replication improvements
2015-08-17 18:41:05 +02:00
Jan Steemann
b591706484
fixed locking
2015-08-04 15:42:39 +02:00
Jan Steemann
6070250e9a
only invalidate query cache if turned on
2015-07-27 16:03:16 +02:00
Jan Steemann
e25ecb5be8
added function cacheability info
2015-06-27 09:06:35 +02:00
Jan Steemann
66eec2ac7e
fix invalidation
2015-06-25 16:46:04 +02:00
Jan Steemann
91621685fb
cache invalidation
2015-06-24 23:02:19 +02:00
Jan Steemann
39cf9c527c
micro optimizations
2015-06-01 14:56:01 +02:00
Jan Steemann
4dde6e49cd
goodbye barriers, welcome ditches
2015-05-28 10:23:30 +02:00
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
Jan Steemann
aa173b315b
update cap constraint sizes
2014-06-10 13:40:33 +02:00
Jan Steemann
da9f8247fb
barriers are now created automatically by transactions
2014-06-10 11:56:40 +02:00
Jan Steemann
72a102e794
major internal changes
2014-06-08 00:12:53 +02:00
Jan Steemann
f6a157b3af
removed unused function
2014-06-06 23:06:59 +02:00
Jan Steemann
982673ef52
read "old" transactions when loading a database
2014-06-06 18:32:48 +02:00
Jan Steemann
362838ae69
TRI_ASSERT
2014-06-06 11:25:19 +02:00
Jan Steemann
0f25f8a2b0
Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
arangod/Wal/CollectorThread.cpp
2014-06-05 18:14:45 +02:00
Jan Steemann
b9b1db3e02
WAL logfile collection
2014-06-05 18:06:42 +02:00
Max Neunhoeffer
4de7e852f9
Merge branch 'mjmh' of ssh://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
arangod/V8Server/v8-vocbase.cpp
arangod/VocBase/document-collection.cpp
2014-06-05 12:07:48 +02:00
Max Neunhoeffer
2776dc78fa
Make TRI_doc_mptr_t a C++ struct.
2014-06-05 12:03:57 +02:00
Jan Steemann
8e1d9d05d8
simplified save API
2014-06-04 20:35:53 +02:00
Jan Steemann
3d4873457b
unload
2014-06-04 18:21:06 +02:00
Jan Steemann
7b7f42118e
fixed some unique constraint violation handling
2014-06-04 17:28:06 +02:00
Max Neunhoeffer
f3653015b6
First part of protection proof.
2014-06-04 14:31:38 +02:00
Max Neunhoeffer
13541cf4ec
Rename component _data -> _dataptr in master pointer.
2014-06-03 22:27:08 +02:00
Jan Steemann
3c4f986fc2
hand over fail information for transactions
2014-06-02 16:24:16 +02:00
Jan Steemann
bccd6f3112
update sealedInfo
2014-06-02 15:45:51 +02:00
Jan Steemann
8ba93e25a2
use marker protectors
2014-06-02 11:00:05 +02:00
Jan Steemann
b08e100336
simplified writing of markers
2014-06-02 10:41:48 +02:00
Jan Steemann
d4dd58b264
merged primary-collection.cpp with document-collection.cpp
2014-05-31 00:22:32 +02:00
Jan Steemann
fb6b97b9b9
re-added transactions
2014-05-30 17:42:39 +02:00
Jan Steemann
7b521a4c9e
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
arangod/VocBase/document-collection.cpp
arangod/VocBase/document-collection.h
2014-05-30 12:51:20 +02:00
Jan Steemann
e52f6f9d05
reworked
2014-05-27 18:42:40 +02:00