1
0
Fork 0
Commit Graph

970 Commits

Author SHA1 Message Date
Jan 733f27e997 Bug fix/fix compilation with gxx7 (#3637) 2017-11-10 16:00:57 +01:00
Jan 0195ede1d8 potential fix for issue #3581: Unexpected "rocksdb unique constraint violated" with unique hash index (#3596) 2017-11-07 10:42:41 +01:00
Jan 98eecaae20 bug fix for agency precondition checks (#3579) 2017-11-06 23:55:41 +01:00
Dan Larkin f13174310e Fix environment variable name to enable jemalloc background threads on Linux. (#3558) 2017-10-31 21:29:50 +01:00
Wilfried Goesgens 71466b9129 Upgrade V8 to v5.7.492.77 (#3536) 2017-10-27 17:11:43 +02:00
Matthew Von-Maszewski f64a2eb996 removed posix_fadvise call from PosixSequentialFile::Read(). this is consistent with facebook PR 2573 (#3505) 2017-10-25 14:39:46 +02:00
Wilfried Goesgens 9ed7a5e8f4 capture the time of the first configure run, don't re-generate it everytime we get here. (#3393) 2017-10-10 15:05:07 +02:00
Wilfried Goesgens 2c1e4dae98 remove remaints of libev. (#3372) 2017-10-10 15:01:59 +02:00
Frank Celler d303c81b4b windows news special care for std::min 2017-10-03 23:15:25 +02:00
Simon Grätzer f28bb69f6a Out of bounds access on console when using history search (#3361) 2017-10-03 11:58:05 +02:00
Jan 56fab56ff5 Bug fix/issues 2709 (#3333)
* logging improvements

* fixed copy&paste error

* enable assertions in non-release mode

* updated CHANGELOG

* fix --temp.path (was dysfunctional), fix creation of temporary directories and races
2017-10-01 09:43:03 +02:00
Frank Celler 70e206fc25 terminal codes 2017-09-28 22:23:54 +02:00
Wilfried Goesgens a1f217b323 fix windows warning (#3277) 2017-09-21 10:27:42 +02:00
Jan 4a648a68c1 fix buffer overrun (#3292) 2017-09-19 21:57:32 +02:00
Jan 8a9b4cd9df fix Slice::findDataOffset for compact arrays and objects (#3257) 2017-09-15 14:35:30 +02:00
Frank Celler d541109042 trying to fix include path (#3263) 2017-09-14 21:21:22 +02:00
m0ppers caac5c64b9 gitignores would include snappy.*/build-tests and jemalloc (#3242)
* gitignores would include snappy.*/build-tests and jemalloc

* Remove general log ignore (matched v8/v8/log-inl.h)

* some boost stuff is named core
2017-09-13 09:17:27 +02:00
Simon Grätzer ffc465433a No access collections Improvements (#3190)
* consolidated EdgeDocumentToken

* optimizing cluster traversal

* adding skip collection checks

* API cleanup

* copying AQLValue to avoid use-after-free bugs

* Fixing rocksdb SingleServerEdgeCursor

* Fixing a collection resolving issue
2017-09-07 14:55:07 +02:00
Jan 47e29e6e1f Bug fix/issues 1806 (#3069)
* fix buffer overruns in linenoise for long input lines

* don't make historian repeatedly print the same error messages that nothing can be done about

* make the implementations of the logging operator<<s not throw exceptions, so that logging does throw exceptions as an unintended side effect

* update CHANGELOG

* improve error message

* don't copy strings, but pass them by const reference
2017-08-18 22:58:09 +02:00
m0ppers 0dfea58d54 Feature/remove manual zippery (#3036) 2017-08-17 23:30:27 +02:00
Jan e3acec24b6 Bug fix/v8 syslog (#3055)
* don't try to return something from a void function

* log to syslog if V8 aborts
2017-08-17 21:36:58 +02:00
Jan b4c58d757f Bug fix/small issues 1608 (#3049)
* extend linenoise character buffer size

* dont make it throw exceptions all the time

* set INSTANCE to nullptr at a later stage

otherwise a nullptr may be accessed during shutdown
2017-08-17 21:35:41 +02:00
Frank Celler 98ea24676b Bug fix/macosx jemalloc background threads (#3034) 2017-08-15 17:15:02 +02:00
m0ppers 897e2d6467 Properly set PORTABLE flag (#3019) 2017-08-10 15:57:12 +02:00
Jan 2b791af3dd Feature/jemalloc 5.0.1 (#2991)
* updated CHANGELOG
2017-08-10 09:46:43 +02:00
m0ppers 6c3bc05419 Make rocksdb portable on windows by default (#2972) 2017-08-08 10:22:27 +02:00
Jan 9ded187324 prevent V8 from causing SIGILL errors (#2932)
* prevent V8 from causing SIGILL errors

* updated CHANGELOG
2017-08-03 22:15:25 +02:00
Frank Celler a5a25754ed Feature/reduce extraction to projection (#2792)
* reduce extractions to projections

* recycle string buffers in SocketTask

* micro optimizations for mmfiles indexes

* added special lookup function for _key

* moved function into the correct file

* speed up key buffer allocations a bit

* added noexcept specifier

* correctly name variable

* explicitly move bounds

* fix and speedup from/toPersistent functions

* reuse string from ManagedDocumentResult for multiple lookups

* use move-assign

* a bit less work for single server

* speedup AQL function HASH

* single fetch optimization

* performance optimization for the case when no documents need to be returned

* make reduce-extraction-to-projection a RocksDB-only optimizer rule

* cppcheck

* try to fix compile error on MacOS

* bug fix for MacOSX

* missing namespace (in Windows compile)
2017-07-14 08:40:29 +02:00
Jan 289513dff8 added VPackSlice::isNumber<type>() (#2779) 2017-07-12 22:12:09 +02:00
Frank Celler 40d73d5a8b Revert "[WIP] Feature/reduce extraction to projection (#2735)"
This reverts commit 5bfcff30cd.
2017-07-12 12:52:14 +02:00
Jan 5bfcff30cd [WIP] Feature/reduce extraction to projection (#2735)
* reduce extractions to projections

* recycle string buffers in SocketTask

* micro optimizations for mmfiles indexes

* added special lookup function for _key

* moved function into the correct file

* speed up key buffer allocations a bit

* added noexcept specifier

* correctly name variable

* explicitly move bounds

* fix and speedup from/toPersistent functions

* reuse string from ManagedDocumentResult for multiple lookups

* use move-assign

* a bit less work for single server

* speedup AQL function HASH

* single fetch optimization

* performance optimization for the case when no documents need to be returned

* make reduce-extraction-to-projection a RocksDB-only optimizer rule
2017-07-12 11:22:29 +02:00
Jan 418105b1f5 remove obsolete cmake commands (#2709) 2017-07-02 23:26:29 +02:00
Jan d281328c22 fix even more issues with SSE detection (#2664) 2017-06-26 16:29:40 +02:00
Jan 921ab97bd5 fix compile warnings with newer compilers (#2604) 2017-06-22 12:28:19 +02:00
Jan ef3a7a32e5 attempt to fix SSE4.2 detection for RocksDB (#2628) 2017-06-22 12:20:50 +02:00
Frank Celler ce8b1fb885 Feature/rocksdb update 5.6 (#2621) 2017-06-20 18:12:43 +02:00
m0ppers 772ed1dbbd Hotfix for crashes with encryption on (at least) arch linux (#2572) 2017-06-13 14:46:51 +02:00
Jan 7c1c7b49e4 fix compile warning (#2551)
* fix compile warning
2017-06-12 18:15:20 +02:00
Ewout Prangsma 4d6fa5bb87 Import RocksDB encryption support (#2491)
* Import RocksDB encryption support

* Adding enterprise hooks

* Allocate scratch space in BlockCipher, used for all subsequent calls to EncryptBlock

* Adding more enterprise hooks

* Added encryption test script

* Added (commented) entry for encryption-keyfile

* Use correct env

* Updated ARANGODB value

* Log startup at debug level

* Removed TTY flag

* Fixed build

* Added prefix block support with unique initial counter & IV for CTR implementation
2017-06-08 08:51:02 +02:00
Frank Celler 38091587fc unpatched v4.5.0 and enabled munmap (#2529) 2017-06-07 20:12:14 +02:00
jsteemann 3f0b3970cf micro optimizations 2017-06-07 13:22:56 +02:00
Frank Celler a2bf0434a8 Feature/jemalloc 3.6 (#2526)
jemalloc 3.6.0
2017-06-06 20:50:10 +02:00
Jan Christoph Uhde b3ed8a659c Fix creation of millions of VPackBuilders in edge import - part 2 - #194 2017-06-02 13:52:11 +02:00
Jan Christoph Uhde 0669e517ed Fix creation of millions of VPackBuilders in edge import - part 1 - #194 2017-06-01 17:58:18 +02:00
jsteemann 4fe7247b80 fixed a race in RocksDB group commit.
it seems that the most relevant part of this fix has also been made upstream so we can forget about this change after upgrading to latest RocksDB (5.5.0 or higher)
2017-06-01 17:51:22 +02:00
Frank Celler b7961ef3dd Reenabled snappy (#2504)
* fixed snappy config

* added numactl and GLIBCXX_FORCE_NEW

* enabled snappy

* fix snappy include path

* windows paths
2017-05-26 20:53:23 +02:00
Frank Celler 4800a8b7f6 Feature/hugepages (#2497)
* enabled checks for memory management

* added MADV_NOHUGEPAGE

* added documentation about NUMA and file systems
2017-05-25 16:04:23 +02:00
jsteemann 16873425d3 fix crc decision 2017-05-19 16:51:46 +02:00
jsteemann 410d1c6ad7 try to fix build Cmake 2017-05-19 15:35:33 +02:00
jsteemann 305377b56f SSE42 hack for RocksDB 2017-05-19 14:03:00 +02:00