1
0
Fork 0
Commit Graph

1717 Commits

Author SHA1 Message Date
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
jsteemann b29f075f94 add intentionally failing operator new 2016-11-28 11:40:37 +01:00
jsteemann 17cf262d42 add NOATIME flag when opening datafiles 2016-11-28 11:25:49 +01:00
Michael Hackstein ee4008cf2c Fixed compile error on Mac systems in mmap files. 2016-11-25 15:23:20 +01:00
jsteemann 8c832273ba fix wrong range size 2016-11-24 15:23:13 +01:00
jsteemann 13615a155d experimental mlock flag 2016-11-24 10:02:51 +01:00
Michael Hackstein 90c646fc54 Added another smart graph error that disallows using system attributes for smart graphs 2016-11-22 17:54:12 +01:00
jsteemann 77e2cf5a65
fix passing of special chars in URLs in cluster
- this sets option CURLOPT_PATH_AS_IS to keep ".." and other special components in paths
- this also changes the behavior of StringUtils::urlEncode() to always encode the "."
  character to "%2e"
2016-11-15 15:46:22 +01:00
jsteemann 68c15ebc9e
do not url-decode paths eagerly 2016-11-15 15:46:21 +01:00
Alan Plum 5788b2e3ca
Fix failing test 2016-11-13 15:08:40 +01:00
Alan Plum c0a3f5a8a1
Better Foxx API error handling 2016-11-12 22:33:07 +01:00
Kaveh Vahedipour 1f10de105f assembly fix relocation R_X86_64_32S against 2016-11-10 14:19:02 +01:00
Kaveh Vahedipour a898aa03ce assembly fix relocation R_X86_64_32S against 2016-11-10 12:36:23 +01:00
Jan Steemann 31bf14b6b7 fixed issue #2163 2016-11-10 08:56:27 +01:00
jsteemann da2aa24703 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-11-09 14:46:56 +01:00
jsteemann ab4933c994 performance optimizations 2016-11-09 14:46:50 +01:00