1
0
Fork 0
Commit Graph

1732 Commits

Author SHA1 Message Date
Andreas Streichardt bf541e71cf Add distinct log messages 2017-01-26 15:03:13 +01:00
jsteemann fdde284fe6 cleaned up macros a bit 2017-01-25 17:50:23 +01:00
jsteemann 617b3f2949 fix warning 2017-01-25 16:37:06 +01:00
jsteemann db80ce4d1b fixed issues reported by coverity scan 2017-01-24 11:31:40 +01:00
Frank Celler f12c38dc0b added work context 2017-01-22 12:53:52 +01:00
Kaveh Vahedipour d2760f4ef1 pushing avoidServers property 2017-01-20 15:15:03 +01:00
Wilfried Goesgens d6a1d967af blanks destroy documentation building regexes here 2017-01-20 10:08:22 +01:00
jsteemann 6f9927fea0 avoid constructing temporary lookup strings 2017-01-19 14:27:04 +01:00
Kaveh Vahedipour ea7e16979a agency bug in precondition and log handling fixed 2017-01-18 11:07:30 +01:00
Andreas Streichardt 4458f04e46 More specific error codes for the cluster 2017-01-11 17:54:45 +01:00
jsteemann 0590b98442 properly initialize variables... 2017-01-09 17:08:28 +01:00
jsteemann a92b49d46e fix races in VST response handling 2017-01-09 17:06:33 +01:00
jsteemann fc1b913791 fixed some issues found by coverity build tool 2017-01-09 12:39:04 +01:00
jsteemann 63dc0ee5df moved global function into translation unit 2017-01-06 21:10:10 +01:00
jsteemann 0481f5ec8b added define for unaligned memory accesses 2017-01-06 21:09:53 +01:00
jsteemann 41cc216012 properly reset _nrCollisions 2017-01-06 14:55:50 +01:00
jsteemann 31375b25b9 removed debug output 2017-01-06 14:32:12 +01:00
jsteemann 213cda0462 more diagnostics 2017-01-06 13:27:45 +01:00
jsteemann f89c6af178 debug output 2017-01-05 15:41:28 +01:00
jsteemann d7246c1fdf more diagnostic output 2017-01-05 12:16:45 +01:00
jsteemann 7359ac44b2 more style cleanup 2017-01-05 10:52:03 +01:00
jsteemann 3285a6032f Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-05 10:40:28 +01:00
jsteemann b65ba4ef15 reduce heap usage on 32 bit systems 2017-01-05 10:40:01 +01:00
Wilfried Goesgens 2379db10d7 style cleanup 2017-01-05 10:09:49 +01:00
jsteemann 31472900a8 fix `--define` parameter passing 2017-01-04 18:08:21 +01:00
jsteemann fca1a5431c clean up macros a bit. hopefully clang and MSVC won't complain about this 2017-01-04 12:45:23 +01:00
jsteemann 668c097bb4 cheaper string construction 2016-12-28 21:34:30 +01:00
jsteemann f77f2fb20b fix function name 2016-12-20 17:34:34 +01:00
jsteemann 16e2881db1 better don't change mmap flags... instead let mapping a file fail when protection cannot be changed later on 2016-12-20 11:20:43 +01:00
jsteemann 0da02e2f4a map memory-mapped datafiles/journals with PROT_READ | PROT_WRITE at the start
Previously, all datafiles/journals that were initially mapped were mapped with PROT_READ only, and later the memory protection was changed to PROT_READ | PROT_WRITE using mprotect().
However, on filesystems that are mounted with NOEXEC, changing the protection from PROT_READ to PROT_READ | PROT_WRITE later may fail. This has been reported in issue #2220.
This change now maps all datafiles/journals with PROT_READ | PROT_WRITE in the beginning, and will later change the mapping to PROT_READ if no writes are required
2016-12-20 10:32:47 +01:00
jsteemann 9b42e9cee6 some improvements for memory management
added more memory diagnostics for memory usage:
- collection.figures() now returns a "readCache" attribute which contains the
  number of and memory usage of entries in the document revisions cache for the
  collection, and a "revisions" attribute with the number and memory usage
  of entries in the storage engine's revision lookup table for the collection
- the default value for --database.revision-cache-target-size was changed from
  75% of RAM to 30% of RAM
2016-12-15 15:30:28 +01:00
jsteemann b96897e296 fixed some issues detected by coverity build tool 2016-12-12 15:41:54 +01:00
jsteemann e68ba685d5 fix VS warning 2016-12-12 11:53:30 +01:00
jsteemann f0a4d69b69 use bulk allocator for index elements 2016-12-09 21:40:49 +01:00
jsteemann 909335fc61 fix VS compile errors 2016-12-09 09:52:38 +01:00
jsteemann 350da367bd fixes for Visual Studio 2016-12-08 17:32:46 +01:00
jsteemann 6920bb65f1 added IndexBucket.h 2016-12-08 17:31:54 +01:00
jsteemann ce03d08e8b added specialized fasthash version for uint64 input 2016-12-08 13:32:48 +01:00
Andreas Streichardt 82682f8d25 Wait for synchronous replication to settle 2016-12-07 18:38:15 +01:00
Jan Steemann 0ac353e109 fix solaris compile error 2016-12-07 11:44:04 +01:00
jsteemann 369b2c7bc6 added optional memory limit for AQL queries 2016-12-06 13:23:41 +01:00
jsteemann e8a27f293c cppcheck 2016-12-02 17:33:08 +01:00
jsteemann 20d8b91a93 added ARM port for fasthash64, added tests 2016-12-02 17:14:18 +01:00
jsteemann aba74ae1f9 try to avoid unnecessary function calls 2016-12-01 14:02:59 +01:00
Michael Hackstein c8db0eb2fe Clang format fix 2016-12-01 10:38:15 +01:00
jsteemann 0ee7023085 remove usages of strerror_r 2016-11-29 10:47:02 +01:00
jsteemann ddd0c0877b cosmetics 2016-11-29 10:41:41 +01:00
jsteemann fa45011ee7 code cleanup 2016-11-28 17:23:15 +01:00
jsteemann 1a4ab1d0be hopefully fix NOATIME 2016-11-28 16:11:36 +01:00
jsteemann 2757fd91ae handle OOM a bit more gracefully 2016-11-28 14:22:12 +01:00