1
0
Fork 0
Commit Graph

1262 Commits

Author SHA1 Message Date
Andrey Abramov de30a5f04f
Feature/arangosearch pk endianness (#7306)
* refactor arangosearch pks

* minor refactoring

* store PK as BigEndian since it leads to more compact index representation

* force iresearch to not to use libbfd

* fix tests
2018-11-14 01:42:38 +03:00
jsteemann 62645c1370 fix file privileges 2018-11-10 23:17:12 +01:00
Andrey Abramov 779809d3e1
Feature/arangosearch optimize documents reading (#7280)
* optimize reading documents from arangosearch index

* simplify code

* get rid of useless interface

* even more simplifications

* update iresearch to commit 40128bf50cea3546313fbfd71e5a32bb88e418a2

* optimize PK reading

* cleanup

* minor refactoring

* address review comments

* micro optimization
2018-11-09 18:10:22 +03:00
Vasiliy facb4043a1 issue 496.5: minor API cleanup and error reportin enhancements, update iresearch to commit d69f7bd184e009da7bf0a478efd34a0c85b74291 (#7216)
* issue 496.5: minor API cleanup and error reportin enhancements, update iresearch to commit d69f7bd184e009da7bf0a478efd34a0c85b74291

* add workaround for shell-collection-rocksdb-noncluster.js::testSystemSpecial test failure

* fix typo
2018-11-06 13:59:18 +03:00
Vasiliy f088733420 issue 496.3: move more coordinator-related logic out of TRI_vocbase_t, rename some arangosearch view configuration parameters, remove some consolidation policies, update iresearch to revision 6fd9760d81b136f769e277ea5b8f53996ed7a1ca (#7166)
* issue 496.3: move more coordinator-related logic out of TRI_vocbase_t, rename some arangosearch view configuration parameters, remove some consolidation policies, update iresearch to revision 6fd9760d81b136f769e277ea5b8f53996ed7a1ca

* address potential deadlock between link creation and FlushThread

* remove code causing nullptr access

* add back lock around reader reopen

* revert: address potential deadlock between link creation and FlushThread

* invalidate payload for each field in FieldIterator before setting a value
2018-11-01 23:10:01 +03:00
jsteemann 95ce366e27 libev not used anymore - remove it from .gitignore 2018-10-30 19:31:39 +01:00
Andrey Abramov 937a7eee5f
Feature/arangosearch speedup removals (#7134)
* speedup document removals and optimize data model

* fix invalid constexpr
2018-10-30 13:26:30 +03:00
Simon 84de3f6052 Fix undefined behaviour (#7108) 2018-10-29 19:02:24 +01:00
Andrey Abramov d30cf315fd
update codebase (#7125) 2018-10-29 16:59:39 +03:00
Simon 7113e779fb Next try at truncate (#7090) 2018-10-26 13:00:33 +02:00
Andrey Abramov 936af6f6ea
fix ASAN issues in arangosearch (#7026)
* update iresearch

* update iresearch
2018-10-23 22:30:30 +03:00
Jan df54403db6
const-expressify some VPack functions (#6993) 2018-10-23 11:32:46 +02:00
Simon 4cfff35cef Use SSE42 for UTF-8 string validation (#6991) 2018-10-23 11:32:06 +02:00
Vasiliy 5d2062ffbe issue 2921: make error message more detailed (#7004)
* issue 2921: make error message more detailed

* upgrade iresearch
2018-10-23 01:06:44 +03:00
Vasiliy 554770576c issue 494: update iresearch to changeset 6ff909851c760c2111dca5074ab17d35114bee97 (20181022) 2018-10-22 13:51:37 +03:00
Andrey Abramov ec3f9c6be9
Feature/update iresearch 2 (#6984)
* update iresearch sources

* another update

* update iresearch

* fix segfault in log message

* update iresearch

* update iresearch

* update iresearch

* remove noexcept

* improve logging

* update iresearch
2018-10-19 23:37:38 +03:00
Simon 23b8e5c735 Propper commit Sequence Numbers (#6958) (#6964) 2018-10-19 14:19:57 +02:00
Simon 8b7a4099b8 Properly compare velocypack objects in Agency operations (#6921)
* Properly compare velocypack objects in Agency operations

* Add changelog

* added option for VPackDumper
2018-10-17 20:03:53 +02:00
Vasiliy 9b36a94d89 issue 493.1: update iresearch to changeset 15f561dee5865ead83663ef056d7bbcc38636fb2 (#6947) 2018-10-17 18:13:15 +03:00
Tobias Gödderz f003d72323 Fix compile error on clang (#6884) 2018-10-15 15:58:26 +03:00
Vasiliy 78567bef09 update iresearch to codebase as of 20181011 (#6858)
* update iresearch to codebase as of 20181011

* backport: address cluster test failures

* backport: address dump test failures

* backport: address discrepency in view creation between single-server and cluster

* backport: address test failure on cluster (revert change)

* backport: address test failures

* backport: address MSVC build issues

* backport: address issue with LogicalDatasource destructing after TRI_vocbase_t

* Revert "backport: address issue with LogicalDatasource destructing after TRI_vocbase_t"

This reverts commit 4f9880bbaa22194dfbb604b5a54658de1d447ac1.
2018-10-12 21:07:12 +03:00
Simon fd81f52ab4 Allow WAL logger to split up transactions (#6800) (#6866) 2018-10-12 17:50:58 +02:00
jsteemann 544d57fb95 remove sddsd 2018-10-12 12:25:34 +02:00
jsteemann 4bcbbcb520 honor @graetzer's suggestion 2018-10-12 11:15:12 +02:00
Andrey Abramov 4177bd15b1
backport recent changes in iresearch from upstream (#6794) 2018-10-10 16:53:43 +03:00
Jan f140aa6941
added missing override specifiers (#6729)
* added missing override specifiers

* added two more occurrences of "override"
2018-10-05 12:03:18 +02:00
Andrey Abramov 647949e556
Feature/update iresearch (#6727)
* update iresearch part 1

* fix tests

* update iresearch again

* update iresearch again

* cleanup log messages

* update iresearch sources

* another update

* and another update

* add workaround for the bug in msvc2017

* fix typo

* address msvc build issues

* Fix typo
2018-10-04 23:56:17 +03:00
jsteemann 68a44490d6 try to fix MacOS build 2018-10-04 11:01:26 +02:00
jsteemann 8800780bc0 copy over some velocypack fixes 2018-10-02 18:44:27 +02:00
Jan c06f2d77da
Feature/velocypack update (#6678) 2018-10-02 14:04:14 +02:00
jsteemann 8667a8e001 when returning memory to the OS, use some memory protection flags as when initializing the memory
this prevents "hole punching" and keeps the OS from splitting one memory mapping into multiple mappings with different protection settings
2018-10-02 11:29:03 +02:00
Jan ce8d30c18f
forward-port some RocksDB bugfix (#6672) 2018-10-01 18:44:00 +02:00
Wilfried Goesgens a477df49cf Feature/windows utf16 fileaccess (#6534) 2018-09-24 19:41:17 +02:00
Simon 6db05b8b12 Do not retry connect on canceled connections (#6559) 2018-09-20 17:13:38 +02:00
Jan 6a2ad813bf
forward-port range deletion fix from upstream RocksDB (#6535) 2018-09-19 13:56:42 +02:00
KVS85 f18d575e65 Bug fix/vs2017 15.8.2 iresearch build (#6428)
* Add workaround

* Wrong check
2018-09-07 18:39:34 +03:00
Max Neunhöffer 0eab3c46f8 Upgrade to jemalloc-5.1.0 with patch for static linking. (#6167) 2018-09-07 16:13:58 +02:00
Jan 92ab03daf9
change compiler options to use C++14 (#6339) 2018-09-06 16:49:35 +02:00
jsteemann 0c1040874a remove unused submodule 2018-09-03 15:21:11 +02:00
Simon 0661a4c1fe Hide Links from getIndexes() (#6325) 2018-09-03 15:17:24 +02:00
Jan 3c638849bd
this fixes the "undefined" HTTP status codes in the generated documentation (#6322) 2018-08-31 20:15:17 +02:00
Wilfried Goesgens 975ada6d20 upgrade rocksdb to 5.16-fb (#6247) 2018-08-28 19:07:37 +02:00
Wilfried Goesgens 430f5229dd upgrade snappy (#6245) 2018-08-28 19:07:25 +02:00
Simon 7d1c0a1b17 Fix possible hang on OSX (#6263) 2018-08-27 19:24:54 +02:00
Jan 73e44bc605
invalidate query cache after modification of views (#6198) 2018-08-24 19:54:10 +02:00
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