1
0
Fork 0
Commit Graph

142 Commits

Author SHA1 Message Date
jsteemann 1dfe817fed removed unintentional return statement 2017-01-06 14:49:39 +01:00
jsteemann e4ff3a3611 attempt to fix spurious "permission denied" errors on Windows 2017-01-06 14:35:44 +01:00
jsteemann f9518bcf99 cosmetiscs 2017-01-06 10:33:41 +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 818ffbdc49 better error reporting 2016-12-19 14:55:52 +01:00
jsteemann 6920bb65f1 added IndexBucket.h 2016-12-08 17:31:54 +01:00
jsteemann 1c73f228d7 try to fix build issue 2016-11-29 16:33:55 +01:00
jsteemann 49515f1f02 try using fallocate to zero out file 2016-11-29 10:42:00 +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 17cf262d42 add NOATIME flag when opening datafiles 2016-11-28 11:25:49 +01:00
jsteemann 13615a155d experimental mlock flag 2016-11-24 10:02:51 +01:00
jsteemann cfc9ecd198 fix Visual Studio complaints 2016-10-31 09:59:18 +01:00
jsteemann f2bea01796 fixes for tick handling 2016-10-24 15:20:45 +02:00
Jan Steemann f880ce48de more hexdumps 2016-09-13 09:55:02 +02:00
jsteemann 2d1e0bd3ae fixed some leaks 2016-08-31 15:30:47 +02:00
jsteemann a2048f1255 fix bitshifting 2016-08-30 17:27:50 +02:00
jsteemann 0ccee3b412 nicer hex output 2016-08-30 17:08:50 +02:00
jsteemann 9e708112a6 privatize some TRI_datafile_t internals 2016-08-29 15:43:03 +02:00
jsteemann 8fac72e8d6 Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-08-29 12:52:47 +02:00
jsteemann b3ef2c8206 fix some leaks 2016-08-29 12:48:02 +02:00
Jan Steemann dbd19cb48e hexify corrupted markers 2016-08-29 12:44:58 +02:00
jsteemann 0f31e4ec5a do not set errno on fatal error 2016-08-26 15:04:08 +02:00
jsteemann 4727c833c8 fixed some leaks 2016-08-26 14:29:31 +02:00
jsteemann 6150da7420 remove function pointers from TRI_datafile_t, added constructor and destructor 2016-08-26 09:08:24 +02:00
jsteemann 76f3747d6d removed unused attributes 2016-08-16 16:57:16 +02:00
jsteemann 6b308191e1 moved functionality into TRI_collection_t 2016-07-29 11:49:58 +02:00
jsteemann 2aa2e0dab4 removed server.h 2016-07-25 16:49:52 +02:00
jsteemann 807f287868 moved server id detection and pagesize detection into their own features 2016-07-18 14:37:12 +02:00
Wilfried Goesgens 2a5103c13e Fatal exit if we find an old database version. 2016-06-15 13:19:32 +02:00
jsteemann 0ce8599598 fixes for MSVC 2016-05-10 19:01:21 +02:00
Jan Steemann 365336132f fixed truncation 2016-05-10 11:46:42 +02:00
jsteemann ec7e6d0279 cppcheck 2016-05-05 00:24:44 +02:00
Jan Steemann 430b886eb1 added datafile version check 2016-05-04 18:37:03 +02:00
jsteemann 58736a9d50 prepation for optimizations 2016-04-29 17:26:22 +02:00
jsteemann 6ac4c809ee do not create markers on the heap, but create them in the WAL space directly 2016-04-29 01:01:10 +02:00
Kaveh Vahedipour 1605310908 [[{"url":"test","op":12,"ttl":6}]] broke agency 2016-04-15 16:41:33 +02:00
Kaveh Vahedipour e3dbb4f9b6 [[{url:test,op:12,ttl:6}]] broke agency 2016-04-15 16:31:00 +02:00
Kaveh Vahedipour 97a6c29ec6 [[{url:test,op:12,ttl:6}]] broke agency 2016-04-15 16:29:44 +02:00
Max Neunhoeffer 4dfa9c57f6 FIx compilation. 2016-04-15 15:23:46 +02:00
Max Neunhoeffer 8490606317 Add a warning about shared folders. 2016-04-15 13:48:51 +02:00
Jan Steemann 7c934b43e9 updated library 2016-04-11 13:27:21 +02:00
Jan Steemann 0c00738aff fixes for Visual Studio 2016-04-08 12:07:53 +02:00
Jan Steemann 4bb95321e6 removed unused code 2016-03-22 09:09:29 +01:00
jsteemann 2ade0ef3d0 fixed log output 2016-03-14 18:05:20 +01:00
Jan Steemann b393c3d9bb Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-03-09 09:42:10 +01:00
Frank Celler dfa9047484 switch arangosh to new ApplicationFeatures and ProgramOptions 2016-03-08 23:32:43 +01:00
Jan Steemann b358fa329d fixed replication dump and logger-follow commands 2016-03-07 15:21:11 +01:00
Jan Steemann eb82d96836 constexpr 2016-03-04 12:33:59 +01:00