Michael Hackstein
86fc1267e7
Removed obsolete Json imports
2016-02-15 23:58:06 +01:00
Jan Steemann
16df093e8f
added barrier query API
2016-02-05 18:20:21 +01:00
Jan Steemann
a0cb3b1832
replication changes
2016-02-05 18:06:39 +01:00
Jan Steemann
b7abf5a40d
attempt to fix Windows build
2016-02-01 12:04:28 +01:00
jsteemann
353c9732b7
removed last LOG_xxx macros
2016-01-30 04:03:18 +01:00
jsteemann
ff21453255
logger transition: all files in arangod exception transactions.cpp
2016-01-29 23:28:44 +01:00
Jan Steemann
9046e1831b
clang-format
2016-01-27 13:43:46 +01:00
Jan Steemann
3d8a52cdf4
some refactoring
2016-01-27 13:28:19 +01:00
Jan Steemann
3fc862f0ef
changed locking macros
2016-01-26 15:39:12 +01:00
jsteemann
431900f17a
changed namespace from triagens to arangodb
2016-01-17 00:44:53 +01:00
Michael Hackstein
0371083fd0
Added a function to compare two VelocyPacks which is compatible to the old compare two shaped json values.
2016-01-15 13:42:03 +01:00
Michael Hackstein
212b3752b1
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-15 10:58:20 +01:00
jsteemann
1b959c827d
more const unification
2016-01-15 00:09:52 +01:00
Michael Hackstein
84ad532078
REmoved TRI_json_t from WAL
2016-01-14 12:44:23 +01:00
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
Jan Steemann
7dd4cab103
potential fix for server start
2015-12-17 15:40:20 +01:00
Frank Celler
3500e569a8
reverted 011117edee
, 72c8847324
, 5da5715fa9
, a371aac4af
, 7decf1560a
, 0331ff7993
, 6ec2014052
, ae8d686ae6
, 7efd0a1ec7
, 3449b87e2c
, d35a4034ef
, 7b3c1ed4dd
, e0c88e4a1a
, 952d643101
, fc9de8ed08
, 2f4319b31a
, 105662d5ba
, 0a08833b0f
, 4ac19a99fc
, 4c5494c67d
, 528bb85b30
, 528bb85b30
becuase of missing CLA
2015-11-03 10:19:25 +01:00
Jan Steemann
dc7ac83354
incremental sync fixes
2015-09-15 14:20:08 +02:00
Jan Steemann
29d37eb346
added diagnosis functions
2015-09-07 20:48:42 +02:00
CoDEmanX
3a9648d78a
More Americanization
2015-09-03 22:25:43 +02:00
Jan Steemann
2e617ac0cc
Merge branch 'american-english' of https://github.com/CoDEmanX/ArangoDB into devel
...
Conflicts:
arangod/Wal/Slots.cpp
lib/Basics/debugging.cpp
lib/Basics/files.cpp
2015-09-02 13:14:49 +02:00
Jan Steemann
6a3f479c98
simplifications
2015-09-02 10:28:50 +02:00
Jan Steemann
a80d6635ab
create fat datafiles
...
This prevents SIGBUS when a sparse datafile is accessed and the disk is full. In
this case the mmapped region is not necessarily backed by physical memory, and
accessing the memory may crash the program
2015-09-02 10:18:24 +02:00
CoDEmanX
956b396e43
Change spelling of 'initialize' to American English (actual code and files)
2015-09-01 17:29:22 +02:00
CoDEmanX
b4593a7e82
Change spelling of 'initialize' to American English (comments and log messages only)
2015-09-01 17:07:21 +02:00
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
4e771b2728
replication improvements
2015-08-17 18:41:05 +02:00
Jan Steemann
22cff81a5c
added status methods for logfiles
2015-08-17 15:04:26 +02:00
Jan Steemann
2d91797685
remove useless reserve
2015-08-06 13:16:56 +02:00
Jan Steemann
658eed7654
hold write lock on databases less often
2015-08-05 14:18:23 +02:00
Jan Steemann
1af98f40fb
added reserve()
2015-08-04 16:23:21 +02:00
Jan Steemann
b591706484
fixed locking
2015-08-04 15:42:39 +02:00
Jan Steemann
3d3024a54e
cppcheck
2015-07-28 09:51:24 +02:00
Jan Steemann
2ae83d03c5
split _logfilesLock into two separate locks
2015-07-27 16:24:57 +02:00
Jan Steemann
a5db59cc47
remove some locks in HttpServer and friends
2015-07-17 17:48:45 +02:00
Willi Goesgens
11f640e874
try to create the database directories if they don't exist; some installers fail to transport empty directories.
2015-06-03 11:38:53 +02:00
Jan Steemann
c352ba6a03
small logging refactoring
2015-03-26 03:09:07 +01:00
Frank Celler
4c5d57f1b8
merged Exceptions.h and Exception.h
2015-03-23 14:05:19 +01:00
Jan Steemann
d1d4daefb8
updated documentation
2015-03-18 17:46:48 +01:00
Jan Steemann
9295755202
track the number of (ignored) errors during recovery
2015-03-18 17:45:21 +01:00
Jan Steemann
5c8cfecc9e
added method to force-change a logfile status
2015-03-18 17:44:23 +01:00
Jan Steemann
39d72b1530
more sanity checks on startup & shutdown
2015-01-29 09:51:11 +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
63bf4c888a
flush WAL status file after collection to shorten recovery
2015-01-18 21:06:57 +01:00
Jan Steemann
b54dfae96f
removed several JSON functions
2015-01-13 01:31:04 +01:00
Jan Steemann
20e7fe7a7a
the great rename: array => object, list => array
2014-12-18 21:07:06 +01:00
Jan Steemann
cbe8150e97
fixed potential reason for segfault
2014-11-06 12:59:50 +01:00