Max Neunhoeffer
c0f1b72bab
Add "sensible" madvise calls.
...
Essentially the strategy is: A newly created and a newly opened file
is advised to be "SEQUENTIAL ACCESS", because we will either write to
it or scan it sequentially. As soon as it is sealed, we switch the
advice to "RANDOM ACCESS", because this should be the normal pattern and
aggressive read-aheads tend to be bad. The collector and the compactor
switch a sealed file back to "SEQUENTIAL ACCESS" just before they scan
it and back to "RANDOM ACCESS", when they are done.
Furthermore, all data files in a collection are advised with "WILLNEED"
just before the collection is scanned during loading.
Finally, the actual hash table of AssocMulti is advised to be random
access, although this is an anonymous map given to us by malloc and not
a memory mapped file.
2015-08-26 16:45:26 +02:00
Jan Steemann
31a6547d4c
fix replication resumption
2015-08-21 15:57:24 +02:00
Jan Steemann
f0ef3d450f
refactoring
2015-08-20 18:25:47 +02:00
Jan Steemann
6d7ccd7699
move shaper to cxx
2015-07-28 17:38:31 +02:00
Frank Celler
4c5d57f1b8
merged Exceptions.h and Exception.h
2015-03-23 14:05:19 +01:00
Jan Steemann
9295755202
track the number of (ignored) errors during recovery
2015-03-18 17:45:21 +01:00
Jan Steemann
cc72257363
abort recovery if one of a collection's datafiles cannot be opened
2015-03-17 18:28:26 +01:00
Jan Steemann
bc4ad22ab6
parallel secondary index building when loading collections
2015-03-03 10:52:51 +01:00
Jan Steemann
d534a41e21
recovery tests
...
Conflicts:
arangod/Wal/LogfileManager.cpp
Conflicts:
arangod/Wal/LogfileManager.cpp
2015-01-19 18:14:03 +01:00
Jan Steemann
20e7fe7a7a
the great rename: array => object, list => array
2014-12-18 21:07:06 +01:00
Jan Steemann
5d1e77f3ea
more log output
2014-11-14 15:30:43 +01:00
Jan Steemann
8bb213e7ba
sort and cache list expression values
...
emplace
fixed wrong assertion
2014-10-29 01:02:20 +01:00
Jan Steemann
40ddb93eee
flush log at shutdown
2014-10-18 00:44:44 +02:00
Jan Steemann
dcb9427b6f
rewrote transaction contexts
2014-10-16 15:53:28 +02:00
Jan Steemann
1fff0ecac2
optimization for recovery of collections that are going to be dropped anyway
2014-09-18 18:20:56 +02:00
Jan Steemann
1016debd2e
more robust recovery
2014-09-18 17:47:37 +02:00
Jan Steemann
e5e2cfe4da
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
arangod/V8Server/v8-vocbase.cpp
2014-09-17 11:50:42 +02:00
Jan Steemann
d3f4f05df1
issue #1020
2014-09-17 11:42:01 +02:00
Jan Steemann
0dc0bc834f
more files renamed
2014-09-13 00:20:30 +02:00
Jan Steemann
87afcf5e8d
the great rename
2014-09-13 00:10:11 +02:00
Jan Steemann
4c033b8962
fixed hanging recovery procedure
2014-07-22 17:38:19 +02:00
Jan Steemann
f939b079c4
recovery
2014-07-03 22:49:49 +02:00
Jan Steemann
7554ead5d4
fixed recovery
2014-07-03 16:58:10 +02:00
Jan Steemann
599176d1e3
do not delete foxx apps on replay
2014-07-03 11:42:16 +02:00
Jan Steemann
d4858f90d3
added test for renaming
2014-07-02 16:53:23 +02:00
Jan Steemann
28965618d1
handle renaming of collections
2014-07-02 10:28:43 +02:00
Jan Steemann
84ef51aaf4
handle properties marker
2014-07-02 09:54:28 +02:00
Jan Steemann
7c9de61e48
fix compile warnings
2014-07-01 20:49:00 +02:00
Jan Steemann
ef6f7b44ab
comments
2014-07-01 15:14:16 +02:00
Jan Steemann
4cd20bfb7c
fixed syncs across multiple files
2014-07-01 13:12:36 +02:00
Jan Steemann
d55626c038
xxx
2014-06-30 19:00:36 +02:00
Jan Steemann
bda2db16da
recovery and replication
2014-06-30 13:07:48 +02:00
Jan Steemann
56a9361f9f
fill secondary indexes after recovery only
2014-06-29 00:18:21 +02:00
Jan Steemann
c393ea6600
removed unused code
2014-06-27 23:58:46 +02:00
Jan Steemann
067dbf63b2
WAL recovery
2014-06-27 19:11:41 +02:00