1
0
Fork 0
Commit Graph

1267 Commits

Author SHA1 Message Date
Simon 948820e484 Various small changes (#6234) 2018-08-24 09:39:03 +02:00
Simon Grätzer 73640d6b7c Merge branch 'devel' of github.com:arangodb/arangodb into bug-fix/add-arangosearch-view-to-resilience-tests
# Conflicts:
#	3rdParty/fuerte/src/HttpConnection.cpp
2018-08-22 14:54:26 +02:00
Simon Grätzer d7b773f2c3 Fixing a race in fuerte 2018-08-22 14:48:42 +02:00
Simon 736e12e89c Fuerte retries connections (#6216) 2018-08-22 10:10:53 +02:00
Simon 247d41287b More fuerte changes (#6212) 2018-08-22 10:08:33 +02:00
Jan cb12be3e4e
fix crash when pressing CTRL+c in arangosh (#6187) 2018-08-21 11:12:11 +02:00
Jan e5864838d5
use rocksdb::Transaction::PopSavePoint() (#6192)
this prevents stacking many useless SavePoints in transactions with
many operations.

The PopSavePoint method in RocksDB is forward-ported from upstream
RocksDB commit 90f744941d48f15d5d070dfcab5d51b77abac8ad.
This is likely to be released with a future release of RocksDB.
2018-08-20 12:13:26 +02:00
Jan 86204ed0b8
fix memory leaks in arangosh connections (#6160) 2018-08-17 08:48:54 +02:00
Jan d6a3b66e2a
micro optimizations (#6162) 2018-08-16 08:50:16 +02:00
Jan ed9d901846
fixed smaller issues (#6158) 2018-08-16 08:49:46 +02:00
Jan 614469de8b
micro-optimize a few VelocyPack components (#6157) 2018-08-15 11:57:56 +02:00
Vasiliy 4d88aed82f issue 427.4: ackport utf8_path changes from iresearch upstream (#6112)
* issue 427.4: ackport utf8_path changes from iresearch upstream

* backport file_utils changes from iresearch upstream
2018-08-09 15:57:44 +03:00
Simon 606c15ce48 VST support in arangosh (#6047) 2018-08-08 12:18:54 +02:00
Andrey Abramov b8e7752787 Feature/arangosearch stabilization (#6069)
* Added authentication tests for ArangoSearch views creation (client and task)

* Added authentication tests for ArangoSearch views querying (client and task)

* Added authentication tests for ArangoSearch views update (client and task) and correct other tests

* Added authentication tests for ArangoSearch views drop (client and task) and correct other tests

* Fix tests to support additional 'properties' layer of a view

* Add data to dumped/restored collection with a link from a view to single server test and view dump/restore to cluster tests

* backport from iresearch upstream: use a bitvector instead of an acceptor lambda for consolidation policies

* ensure view access permissions are checked for REST calls

* ensure view access permissions are checked for V8 calls

* do not allow LogicalView property modification if reading the properties fails

* Fixed authentication tests for ArangoSearch views to pass regardless of errorNum and possible multiple REST codes

* add missing ldap feature for enterprise version

* do not store useless data in ArangoSearch index (see #289, #441)
2018-08-05 20:47:22 +02:00
Wilfried Goesgens b37719732f fix symlink, move version dependend part into 3rdparty so we find it on next upgrade (#6013) 2018-08-03 13:31:29 +02:00
Frank Celler da7ef0a025
added __attribute__((unused)) and other minor tweaks to silence some of the warnings (#6035) 2018-08-01 13:22:45 +02:00
Jan 21064144c8
Bug fix/replication improvements (#5962) 2018-07-25 09:04:50 +02:00
Jan a5bb50b0bf
remove methods from VelocyPackHelper that are also in VPackSlice (#5946) 2018-07-25 09:01:29 +02:00
Wilfried Goesgens 8facda8ba0 upgrade rocksdb (#5937) 2018-07-23 13:04:02 +02:00
Wilfried Goesgens 8fec3292f0 pull latest rocksdb changes to the v5.14.X branch (#5871) 2018-07-13 18:46:11 +02:00
Jan a98cec3fdd
make curl not close that many connections due to connection cache being full (#5835) 2018-07-13 11:45:38 +02:00
jsteemann 2d795c1f8a fix some undefined behavior 2018-07-12 21:54:51 +02:00
Wilfried Goesgens 74a6361ed0 add flag to allways turn on RTTI (#5846) 2018-07-11 17:52:33 +02:00
Andrey Abramov ea731e0507
backport fixes from IResearch upstream (#5847) 2018-07-11 18:29:01 +03:00
Jan 0b7c74ca96
make curl not send "Expect: 100-continue" headers (#5730) 2018-07-10 09:17:01 +02:00
Andrey Abramov b767e5625e
Bug fix/internal issue #417 (#5775)
* ensure correctness of log level mapping

* fix bug

* code cleanup
2018-07-05 16:58:44 +03:00
Wilfried Goesgens cf688487d4 make the string cached so its not regenerated on each invokation, and thus re-creates the lib (#5783) 2018-07-05 14:07:52 +02:00
Wilfried Goesgens bcdcb43c4c Feature/upgrade rocksdb (#5484) 2018-07-04 12:04:41 +02:00
Jan af7299691d
update velocypack library to latest version (#5605) 2018-06-18 11:58:57 +02:00
Wilfried Goesgens 1e01374ec9 for windows we need to add the build config to the path (#5576) 2018-06-11 17:15:05 +02:00
Frank Celler c258eea27f fixed dependencies 2018-06-10 09:46:58 +02:00
Wilfried Goesgens 9196a7450f Bug fix/locate snowball executeable (#5567)
* fix locating of the fresh built snowball executeable

* we may find it in two places :-/
2018-06-08 18:21:25 +03:00
Max Neunhöffer 7bed3f2df0 Try openssl 1.1 (#5123) 2018-06-08 13:21:31 +02:00
Wilfried Goesgens 230ac322ea fresh catch, more flags. (#5452) 2018-06-01 18:07:25 +02:00
Wilfried Goesgens 0b81f003a5 Bug fix/fix cmake warnings (#5503) 2018-06-01 15:51:20 +02:00
Max Neunhöffer 6fdc811c41
Small fix in jemalloc to allow for static linking. (#5489) 2018-05-30 17:04:27 +02:00
Max Neunhöffer e5b4ce95cb
Compile rocksdb with PORTABLE=On also on Linux and Mac. (#5473) 2018-05-29 14:47:19 +02:00
Jan 16707535db
velocypack micro optimizations (#5402) 2018-05-22 13:27:28 +02:00
Vasiliy 370bde71d9 issue 389.7: expand workaround to include MSVC2015 debug code, backport from iresearch upstream: skip importing empty readers (#5391)
* issue 389.7: expand workaround to include MSVC2015 debug code, backport from iresearch upstream: skip importing empty readers

* backport: address MSVC V8/ICU link issues

* backport: fix typo
2018-05-20 22:43:37 +03:00
Vasiliy d48bdf72e1 issue 373.4: address issue with MSVC picking incorrect function, minor formatting changes, backport from iresearch upstream: ensure id_to_column contains enough slots for all column ids, address another issue with _T(...) macro not working when _MBCS is defined on MSVC (#5310) 2018-05-10 20:12:37 +03:00
jsteemann 03acfe7cf5 Merge branch 'bug-fix/remove-jemalloc-feature' of https://github.com/arangodb/arangodb into devel 2018-05-08 08:31:56 +02:00
Wilfried Goesgens 68345ec514 don't install headers (#5278) 2018-05-07 16:47:35 +02:00
Wilfried Goesgens 545019ce37 Bug fix/downgrade s2 2 (#5276)
* downgrade s2 for windows compatibility

* undefine constants if they're already there

*     Fix compilation on Windows for S2 and VS 2017. (#5267)

    * Fix compilation on Windows VS 2017 (s2).

    * Improve compilation fix for windows.

* downgrade reference
2018-05-07 16:24:47 +02:00
Simon fdee0544b7 Using asio::io_context::strands instead of locks (#5266)
* initial try adding strands

* working, stable amount of threads

* improve shell_client cluster

* Fixing some accounting for the scheduler

* Fix accounting

* Fixing wrong strand usage

* add missing return

* Fixing thread accounting

* More scheduler accounting issues

* Fixing various things

* Fixing some stuff

* Fixing some stuff

* Some more subtle bugfixes

* Some cleanup code

* fixing some stuff

* adding some more fixes

* Fixing possible issues

* Fixing missing _storeResult

* Fixing some stuff

* Reducing lambda stack, perhaps fixing hangups

* Fix writeunlocker

* Fixing possible issues

* adding some debugging stuff

* refactor sockets

* possible fixes

* Adding more job guards

* Fixin possible bug

* cleaning up some stuff

* working impl

* Remove debugging output

* Fixing build

* fixing import

* Fixing another bug

* removing debug log

* Removing examples

* Reverting scheduler working code

* Cleanup

* Addressing review comments
2018-05-07 15:58:19 +02:00
Max Neunhöffer b1aac15764
Fix compilation on Windows for S2 and VS 2017. (#5267)
* Fix compilation on Windows VS 2017 (s2).

* Improve compilation fix for windows.
2018-05-04 21:31:03 +02:00
Jan acab8b45f6
add missing override specifiers (#5262) 2018-05-04 11:55:53 +02:00
Simon 8d5a30cca6 S2 upgrade (#5258) 2018-05-03 18:18:09 +02:00
Mark 34709327ef Fix windows compile errors (#5254) 2018-05-03 11:48:55 +02:00
Simon 828f1d423c S2 based Geo-Spatial index (#5249) 2018-05-02 23:54:41 +02:00
Vasiliy 9062c41592 issue 383.3: implement remainder of IResearchViewDBServer tests, use the data-source id (primary key) instead of an arbitrary instance for dropCollection()/dropView(), backport from iresearch upstream: ensure block is flushed if key index is full (#5176) 2018-04-23 00:33:46 +03:00
jsteemann 88a8686654 remove ApplicationFeature "JemallocFeature" 2018-04-21 00:56:10 +02:00
Vasiliy da4519df43 issue 383.2: backport from iresearch upstream: address issue with _T(…) macro not working when _MBCS is defined on MSVC, backport from iresearch upstream: address issue with _T(...) macro not working when _MBCS is defined on MSVC (#5152)
* issue 383.2: backport from iresearch upstream: address issue with _T(...) macro not working when _MBCS is defined on MSVC, backport from iresearch upstream: address issue with _T(...) macro not working when _MBCS is defined on MSVC

* backport: add more tests for IResearchViewDBServer
2018-04-20 18:20:31 +03:00
Jan Christoph Uhde bad4f2103a reduces warnings during build (#5131) 2018-04-19 14:48:49 +02:00
Vasiliy e62d6b5e09 backport: address typo during last backport 2018-04-11 16:01:25 +03:00
Vasiliy 84dc75c8b5 backport: backport from iresearch upstream: change field_id type to be uint64_t 2018-04-11 14:49:54 +03:00
Vasiliy 38705fd75d backport: backport from iresearch upstream: do not set symbol visibility globally 2018-04-11 10:04:53 +03:00
Vasiliy b8245f9be7 address MacOS build failure, backport from iresearch upstream: ensure build_version builds as a separate target and no visibility is set on static libraries, ensure doc_ids are not truncated in the postings list, address some MSVC warnings, address MacOS warnings 2018-04-10 19:14:39 +03:00
Vasiliy 4e49b1afad backport: backport from iresearch upstream: address some MSVC warnings 2018-04-10 15:38:39 +03:00
Vasiliy 2554f109e3 backport: remove unused boost dependency, backport from iresearch upstream: ensure doc_ids are not truncated in the postings list 2018-04-10 15:05:19 +03:00
Vasiliy e7889507f9 issue 374.1: backport from iresearch upstream: address some MSVC warnings 2018-04-10 14:01:26 +03:00
Vasiliy 08b1bf965b backport: MacOS does not support 'u' option on 'cp' 2018-04-05 19:57:20 +03:00
Simon 3ec8bcfd97
Merge branch 'devel' into bug-fix/internal-issue-#355.5 2018-04-05 17:34:55 +02:00
Simon 9980067e73 fixing various warnings (#5013) 2018-04-05 17:01:16 +02:00
Vasiliy 99b83ba8c8 issue 355.5: remove more unused methods, move view-related storage engine functionality from vocbase into DBServerLogicalView, address MSVC cmake dependency issue 2018-04-05 16:17:07 +03:00
Vasiliy 635db3b409 issue 355.4: remove redundant methods and code, use 'cp' instead of 'cmake copy_directory' where possible, use vocbase reference instead of pointer 2018-04-04 10:53:48 +03:00
Vasiliy e7353feeb4 issue 355.2: address issue with cmake deleting files during the configuration stage (#4989) 2018-03-29 16:01:43 +02:00
Vasiliy e798ddf5c4 issue 355.1: backport from IResearch upstream: use same workaround for non-MSVC build to suppress file regeneration by bison for the case where dependency ang generated file timestamps are euqal (#4961) 2018-03-26 17:11:52 +02:00
Manuel B 215777736e Move AQL Date Functions => CPP 2018-03-22 15:22:24 +01:00
Vasiliy 399c1ce2f0 manually-merge: add more tests, backport some miscellaneous fixes 2018-03-20 16:40:35 +03:00
Wilfried Goesgens 7b99fd05d9 Fix building V8 with debug mode (#4878) 2018-03-19 11:03:32 +01:00
Max Neunhöffer 4f0de2990c
Fix compilation on libmusl. (#4686)
`blksize_t` is only defined in `sys/types.h`.
2018-02-27 11:58:04 +01:00
Vasiliy 00557d0119 Changes since last PR: backport upstream IResearch patches to address nightly-build issues (#4668) 2018-02-26 08:06:30 +01:00
Andrey Abramov 1b64f03bf8 Bug fix/internal issue #327 (#4649) 2018-02-22 11:11:23 +01:00
Max Neunhöffer 152f60b80a Add processor architecture specific flags to BASE_FLAGS again. (#4605) 2018-02-20 10:50:17 +01:00
Wilfried Goesgens 1c891978e6 Packaging/fix curl rebuild 2 (#4620) 2018-02-19 14:24:20 +01:00
Wilfried Goesgens 290d5989d7 another file that gets re-generated but doesn't have to (#4619) 2018-02-19 13:03:15 +01:00
Wilfried Goesgens 94e67c950c make sure libcurl doesn't recompile itself during the packaging process (#4606) 2018-02-16 13:59:22 +01:00
Vasiliy 8a2b9f3dc6 Changes since last PR: backport from IResearch upstream: address issue with unnecessary rebuild of parser.cc on Linux (#4597) 2018-02-15 17:37:21 +01:00
Vasiliy 828f8fb48c locally tested only, Changes since last PR: ensure parser.cc dependency is tracked in the build directory to avoid bison invocation on MSVC, aquire IResearchView snapshot at transaction begin() and reuse it for all queries, remove unused callback registration from Methods (#4564) 2018-02-14 12:32:29 +01:00
Vasiliy cf0d575246 locally tested only, Changes since last PR: disable IResearch IQL until IResearch upstream is updated, address some warnings (#4519) 2018-02-07 09:40:06 +01:00
Wilfried Goesgens 97e2a9d968 we mustn't deliver curl build results with our packages (#4506) 2018-02-06 15:44:50 +01:00
Jan Christoph Uhde 3fadaf72c6 Feature/upgrade curl (#4283) 2018-02-05 20:37:12 +01:00
Vasiliy aa041ddfb9 locally tested only (#4476) 2018-02-05 11:24:34 +01:00
Max Neunhöffer 858d875e8b
Further fixes for libmusl completely static build. (#4474)
* Make crc assembler code position independent.
* Fix PIE compilation for libmusl in alpine linux.
* Use backtrace library if found.
2018-02-01 13:38:34 +01:00
Jan Christoph Uhde fd166d07f4 try to fix windows build (#4468) 2018-01-31 10:09:39 +01:00
Andrey Abramov 76c21660b6 disable `IQL` (#4377) 2018-01-22 12:44:57 +01:00
Andrey Abramov a1cfb3d72b Feature iresearch (#4105) 2018-01-19 14:23:58 +01:00
Jan b32cf3822a
explicitly control activation of RocksDB write-throttling feature (#4360)
also consistently use -DNDEBUG to avoid different class layouts when
the same class are used by different translation units
2018-01-19 09:33:01 +01:00
Jan c69868bde7
fix small issues found by codescan (#4241) 2018-01-16 00:27:42 +01:00
Jan 7f860153ba
Bug fix/msvc fixes (#4243) 2018-01-08 11:20:53 +01:00
Jan b2b6c06cbf
Feature/efficiency (#3736) 2018-01-05 16:51:31 +01:00
Heiko 78213b3b4a fixed some macos ires related warnings and errors (#4196) 2018-01-05 14:51:13 +01:00
Jan 9dd63e4907
remove unused USE_BOOST_UNITTEST CMake variable (again!) (#4089) 2018-01-05 14:49:40 +01:00
Jan 2a96df5ca5
Feature iresearch (#4071) 2017-12-18 15:04:59 +01:00
Jan Christoph Uhde 41a8c581a3 fix windows build (#3855) 2017-12-06 16:35:45 +01:00
Wilfried Goesgens 7dd439f203 add build target to compile the starter if its present (#3679) 2017-12-06 16:33:37 +01:00
Jan 8273923cb4
remove unused CMake control variable USE_BOOST_UNITTESTS (#3834) 2017-12-06 10:51:35 +01:00
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
jsteemann 910de592bf remove libcuckoo 2017-05-18 09:26:54 +02:00
Jan Christoph Uhde 41d144fc23 VPackIterators are no move assignable | same costs as copy 2017-05-10 13:47:16 +02:00
jsteemann a2411488ae remove unused files (with long filenames that produce problems on Windows checkouts) 2017-05-08 10:46:07 +02:00
Frank Celler d90f0136bc fixed compile with USE_JEMALLOC=OFF 2017-04-27 12:43:48 +02:00
Frank Celler b1f8fdbef9 Merge pull request #2456 from servusoft/devel
cross compiling
2017-04-26 13:59:36 +02:00
Max Neunhoeffer 925051afe4 Rename an argument and add a comment. 2017-04-26 08:25:42 +02:00
Frank Celler 0d71aaeb9d fix for compiler path 2017-04-20 20:53:04 +02:00
Frank Celler 9064305c95 malloc_stats_print under Linux, je_malloc_stats_print under Apple 2017-04-19 20:40:34 +02:00
Frank Celler 1a6cadbfe1 added generated files 2017-04-19 20:36:31 +02:00
Frank Celler 1bad259868 added generated files 2017-04-19 20:35:15 +02:00
Frank Celler c59b527865 added generated configure script 2017-04-19 20:29:15 +02:00
Frank Celler f1d0c5eba1 added jemalloc feature 2017-04-19 19:57:54 +02:00
Frank Celler 5ef5c5650c added rocksdb CMakeLists 2017-04-19 19:57:54 +02:00
Frank Celler 406d09befa added jemalloc 4.5.0 2017-04-19 19:57:54 +02:00
servusoft d0435cf42c crosscompiling 2017-04-17 16:05:55 +02:00
Wilfried Goesgens ce45df98d7 remove debug print 2017-04-06 14:19:24 +02:00
Frank Celler 45a4fac4d3 removed v from version 2017-03-23 22:27:48 +01:00
Frank Celler baafc2ceee removed V8 prefix 2017-03-23 22:15:12 +01:00
Frank Celler 74cf8a0f75 fixed boost version 2017-03-23 21:25:54 +01:00
Wilfried Goesgens 3ee0472ed3 unify handling of 3rdparty revisions 2017-03-23 16:28:24 +01:00
Simon Grätzer e8258063b8 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
# Conflicts:
#	3rdParty/V8/v8
#	CMakeLists.txt
2017-03-15 12:59:22 +01:00
Wilfried Goesgens b17ba1d967 add .gitignored files 2017-03-14 16:39:53 +01:00
Wilfried Goesgens 1cbb0ee262 add missing file 2017-03-14 16:32:10 +01:00
Wilfried Goesgens 45595b8f4d switch V8 from git submodule to flat copy 2017-03-14 16:02:40 +01:00
Wilfried Goesgens 9acbada99a remove git submodules - they don't work reliably. 2017-03-14 15:26:08 +01:00
Simon Grätzer 876bbb98f9 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-03-13 23:27:11 +01:00
Frank Celler 41c0bd3332 do not enable -Werror for rocksdb 2017-03-13 18:13:08 +01:00
Wilfried Goesgens 646baee446 adopt rocksdb cmake for elderly systems 2017-03-13 17:48:17 +01:00
Wilfried Goesgens 08a1473235 move forward so windows may compile properly 2017-03-13 14:46:39 +01:00
Simon Grätzer fb560eece1 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-03-13 13:02:55 +01:00
Simon Grätzer 7b35f75b23 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
# Conflicts:
#	arangod/CMakeLists.txt
#	arangod/GeneralServer/GeneralServerFeature.cpp
2017-03-13 12:25:28 +01:00
Wilfried Goesgens 65af41e802 where did this submodule vanish to? 2017-03-13 12:25:21 +01:00
jsteemann 45a68f54f8 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-03-13 12:10:54 +01:00
jsteemann 454d583863 fix building tests 2017-03-13 12:06:11 +01:00
Simon Grätzer ddf25e6352 Changed rocksdb commit 2017-03-13 12:00:14 +01:00
Wilfried Goesgens faa100644e fix include of rocksdb 2017-03-13 11:45:13 +01:00
Wilfried Goesgens 5fe4a431a0 move rocksdb subrepo pointer forward 2017-03-13 10:49:32 +01:00
Simon Grätzer 871272d7c1 Merge from devel 2017-03-12 12:32:22 +01:00
Wilfried Goesgens 00bcb07624 exclude rocksdb gtest from the build 2017-03-10 15:31:57 +01:00
Wilfried Goesgens 3c6bdccde3 add submodule rocksdb 2017-03-10 14:42:02 +01:00
Wilfried Goesgens 4b41444c0a remove in working copy rocksdb 2017-03-10 14:40:36 +01:00
Simon Grätzer 2c77f42486 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-03-07 15:08:06 +01:00
Andreas Streichardt 408a831611 Revert "Fix options"
This reverts commit 80da46e2b0.
2017-03-07 10:16:47 +01:00
Andreas Streichardt 80da46e2b0 Fix options 2017-03-07 08:42:38 +01:00
jsteemann b95f082718 upgraded version of bundled zlib library from 1.2.8 to 1.2.11 2017-03-07 08:15:45 +01:00
Andreas Streichardt 59b49485b5 Merge branch 'devel' into catch_tests_ng 2017-03-06 18:34:46 +01:00
Andreas Streichardt ce3c17e7de Merge branch 'devel' into catch_tests_ng 2017-03-06 17:59:26 +01:00
jsteemann 8ba2654540 cleanup 2017-03-06 16:08:49 +01:00
jsteemann e27cf1bc5e Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-03-06 15:55:00 +01:00
Simon Grätzer c0a390aefe Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-03-06 15:53:43 +01:00
jsteemann f7b819579d attempt to fix clang build 2017-03-06 15:40:03 +01:00
Andreas Streichardt 6168e81b2e first steps 2017-03-02 19:23:32 +01:00
jsteemann 8eb6ccfa85 pulled some fixes from linenoise-ng repository 2017-03-02 15:23:30 +01:00
Simon Grätzer 27c617fe10 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
# Conflicts:
#	3rdParty/V8/v8
#	arangod/Transaction/Methods.h
#	arangod/Utils/UserTransaction.h
#	arangod/V8Server/v8-collection.cpp
2017-03-01 14:52:35 +01:00
Dan Larkin 290f6c182d Reverted mistaken V8 change. 2017-02-24 16:07:42 -05:00
Dan Larkin 09600f0971 Added hash cache system. 2017-02-24 15:31:40 -05:00
Wilfried Goesgens 1895aa333d properly install the ICU file on windows to the build-target folders 2017-02-24 13:37:09 +01:00
Wilfried Goesgens 7512f2cc09 fix windows icu install to build directory 2017-02-24 09:50:07 +01:00
jsteemann eb293ba0d3 speedup for object comparisons 2017-02-21 17:21:25 +01:00
Wilfried Goesgens d3291a1137 remove crosscompile hack - it doesn't work anymore 2017-02-16 18:13:43 +01:00
jsteemann 1b5445731b potential fixes for MSVC 2017-02-14 16:01:00 +01:00
Wilfried Goesgens 756fca0807 follow subrepo 2017-02-13 22:08:41 +01:00
Wilfried Goesgens 884844ee30 fight git submodules 2017-02-13 21:35:39 +01:00
Wilfried Goesgens a12e02cdd2 fix gitmodules file 2017-02-13 20:56:30 +01:00
Wilfried Goesgens 2cb3169c54 Revert "unfuck windows by copying the gtest header into the V8 target directory" it didn't work - we now have a matching git repo for this lonely header.
This reverts commit 6777a4143b.
2017-02-13 20:40:43 +01:00
Wilfried Goesgens 31730ed86c move forward - no more symlinks for the wintendo 2017-02-13 20:40:25 +01:00
Wilfried Goesgens 6777a4143b unfuck windows by copying the gtest header into the V8 target directory 2017-02-13 20:07:36 +01:00
Wilfried Goesgens 1724c4f04b fix check 2017-02-13 15:33:07 +01:00
Wilfried Goesgens 41ee789fcc abort uf submodules aren't properly existing 2017-02-13 15:24:30 +01:00
Simon Grätzer f2bae38ed6 Merge branch 'devel' of https://github.com/graetzer/arangodb into devel
# Conflicts:
#	arangod/Pregel/Worker.cpp
2017-02-10 16:35:48 +01:00
Simon Grätzer edab268572 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
# Conflicts:
#	arangod/Aql/FunctionDefinitions.cpp
#	arangod/Aql/Functions.h
#	arangod/Utils/ExplicitTransaction.h
2017-02-10 15:21:24 +01:00
jsteemann 8dd1b9fa1c attempt to fix some compile warnings caused by Boost header files 2017-02-10 11:49:38 +01:00
Wilfried Goesgens 562bce64d0 SILENCE! 2017-02-08 15:39:07 +01:00
Wilfried Goesgens ae59abf5ea remove superfluous installs of icu 2017-02-08 15:36:38 +01:00
Kaveh Vahedipour 3ee7a8d595 compaction thread tested and functional 2017-02-08 14:18:46 +01:00
Wilfried Goesgens 9c377f194b SILENCE! I KILL YOU! 2017-02-08 13:27:34 +01:00
jsteemann 349de845d2 attempt to fix reported V8 version number 2017-02-08 01:06:15 +01:00
Simon Grätzer 79f1b94db8 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-02-07 21:35:02 +01:00
jsteemann 9d0a210545 prevent memleaks in C++ UnitTests 2017-02-07 17:30:30 +01:00
Wilfried Goesgens 1025b29b1a fix windows compile 2017-02-07 17:14:05 +01:00
Wilfried Goesgens 65a7c7d946 follow external repo 2017-02-07 16:06:18 +01:00
Wilfried Goesgens 5590cee2d0 fix branch 2017-02-07 14:18:39 +01:00
Wilfried Goesgens ffba5da5fd move forward 2017-02-07 14:17:14 +01:00
Wilfried Goesgens c0af0bac81 fix windows compile for next V8 2017-02-07 13:48:34 +01:00
Wilfried Goesgens d35d3b6fff fix sub repo 2017-01-31 16:53:45 +01:00
Wilfried Goesgens e96405b5f0 fix icu dat location 2017-01-31 14:45:49 +01:00
Wilfried Goesgens 1406e5c4a7 move forward 2017-01-31 14:44:06 +01:00
Wilfried Goesgens de08af5f98 choose proper branch 2017-01-31 13:47:53 +01:00
Wilfried Goesgens b7fcbac21a add v8 as a submodule 2017-01-31 13:46:39 +01:00
Wilfried Goesgens 685f8955e5 remove old V8 version, we now handle this via a sub repo. 2017-01-30 12:34:24 +01:00
Wilfried Goesgens 584f3120dd Upgrade V8
- ICU now doesn't build the icudata library anymore
    - ship the icu database on all platforms and all packages
    - we now load the icu database file ourselves, and hand over the pointer to ICU.
  - follow the V8 changes around Weak pointer handling
2017-01-30 12:30:07 +01:00
Simon Grätzer d1394b466c Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-20 17:30:59 +01:00
jsteemann 8e92459480 mini changes 2017-01-20 17:13:53 +01:00
Simon Grätzer d71ebf7c1d Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-20 14:42:19 +01:00
jsteemann 3641b94857 micro optimizations 2017-01-19 17:22:44 +01:00
Simon Grätzer 891209ed9b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-19 13:15:02 +01:00
jsteemann 4dab3847ea potential fixes for Iterator 2017-01-19 13:04:54 +01:00
jsteemann 1e24b00a82 speed up object iteration 2017-01-19 12:44:09 +01:00
Simon Grätzer e7174beaef Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-19 12:38:11 +01:00
jsteemann 487fa44b04 attempt to speed up updates a bit 2017-01-19 11:06:10 +01:00
Simon Grätzer f4e02c58a9 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-17 22:28:07 +01:00
Simon Grätzer 2204ba7de0 Some refactoring 2017-01-17 22:27:41 +01:00
jsteemann 20b2221fe8 updated vpack library 2017-01-17 21:38:17 +01:00