1
0
Fork 0
Commit Graph

44112 Commits

Author SHA1 Message Date
Andrey Abramov d4a010baf9
Bug fix/internal issue #316 (#7911)
* allow using scorers outside ArangoSearch view context

Signed-off-by: Andrey Abramov <andrey@arangodb.com>

* ensure query is properly optimized after replacement of scorer functions

* do not apply `handleViewsRule` to queries without views

* simplify optimization rule for ArangoSearch views

* show ArangoSearch view scorers in query explanation

* fix tests

* fix tests

* add stub for scorer related tests

* reformat

* check variable depth in `ViewExpressionContext::getVariableValue`

* add some tests

* address js test failures

* address jslint errors

* ensure `IResearchViewNode` exposes variables used in scorers

* ensure scorers with expressions are deduplicated

* fix deduplication for indexed access

* more tests

* partially address review comments

* address review comments

* simplify code

* remove irrelevant, commented out code

* ensure array comparisons are properly handled

* update changelog & loki
2019-01-10 21:04:19 +03:00
Jan Christoph Uhde aabb307295 fix openssl 1.3 usage 2019-01-10 15:27:27 +01:00
Jan fa7de56cf8
upgrade to boost 1.69.0 (#7910) 2019-01-09 17:17:33 +01:00
Max Neunhöffer cf249ff447 Doc - Add a paragraph that JS JS trxs are excluded from intermediate commits. (#7919) 2019-01-09 15:20:14 +01:00
Vasiliy 5959f7f8e8 issue 511.7.3: restore single-document optimization, implement call to update data-store options, add IResearchView upgrade step (#7918)
* issue 511.7.3: restore single-document optimization, implement call to update data-store options, add IResearchView upgrade step

* address merge issue

* address another merge issue

* and another merge issue

* run ./utils/reformat.sh on the source tree

* address review comments
2019-01-09 17:16:02 +03:00
Simon 5a0dd57c3a improve assertions (#7830)
(cherry picked from commit 44890c98583ed16e23990b8987fb808bff89057f)
2019-01-09 10:29:53 +01:00
jsteemann ac1c3b892a fix MSVC warning 2019-01-09 10:21:49 +01:00
jsteemann 0fe3b61fc4 remove unused function 2019-01-09 10:21:13 +01:00
Jan Christoph Uhde 7e0a79b585 fix #7900 - null bind values do not change to empty string anymore (#7917) 2019-01-09 10:04:49 +01:00
Simran e7810e1956 Doc - Update remark about per-database replication (#7891) 2019-01-08 19:36:00 +01:00
sleto-it 28b84951cb
Doc - Known Issues - new links (#7908) 2019-01-08 19:11:01 +01:00
Jan fe81007438
support db._explain with all plans (#7895) 2019-01-08 18:06:46 +01:00
Lars Maier dd040ac1e3 JWT base64url encoding (#7899)
* Use base64url encoding and decoding for jwt header and body as specified in the rfc.

* Added changelog.
2019-01-08 16:53:35 +01:00
Lars Maier 423cf7a8d4 cppcheck/Scheduler (#7909) 2019-01-08 16:39:56 +01:00
Jan 8376fbb3d9
multiplex REPLICATION-APPLIER-STATE files for RocksDB engine (#7898) 2019-01-08 14:26:01 +01:00
jsteemann 14faf75f16 fix compile warnings 2019-01-08 11:44:13 +01:00
Jan b40b88d73b
upgrade bundled curl library to version 7.63 (#7846) 2019-01-08 11:27:59 +01:00
Lars Maier 12eebb15fe Feature/new server infra (#7733)
* Decoupled IO handling from Scheduler.

* Fixed SSL start up bug.

* Replaced Scheduler with new worker farm implementation.

* Added minimal statistics and info string for Scheduler.

* Added support for timed submissions.

* Updated delayed submission api. Updated code that used timers.

* Extracted new Scheduler into a virtual parent class. The implementation can now depend on the usecase.

* Signal handler now working.

* Changed threads names, `_stop` is atomic, check for failure during thread start + exception handling like old scheduler did.

* Commented on source code and added TODOs.

* Played around with start-stop-conditions

* Play around with start stop condition.

* start stop cond

* Sart Stop Conditions

* Removed bad cv_status check.

* Bug fix: now compare the actual objects instead of pointer values. Setup t1 and t2 depending on the thread id.

* Moved most of the stuff now unrelated to the Scheduler to GeneralServer. Got rid of JobGuard.

* Instead of waiting for a thread to terminate, put it on a clean up list and check for its termination in each supervisor run.

* Allow detaching long running threads.

* Fixed test mock.

* Updated the WorkHandle logic. Removed post functions.

* Fixed crash when obtaining shared_ptr from this in destructor.

* Added lost mutex.

* Fixed memory leak.

* Fixed merge bug.

* Changed a lot of code to optimize the scheduler.

* Fixed bug of invalidated iterator. Dont remove task on shutdown at different places. Let scheduler threads run until queue is empty.

* Only by value calls to queue.

* Added options again.

* Clean up of code.

* UI Request Lane added.

* Bug fixes in Scheduler.

* Applied reformat.

* Use sigaction.
2019-01-08 10:12:02 +01:00
sleto-it fbb1de5bcc
Doc - check_function (#7885) 2019-01-04 21:05:31 +01:00
Jan bd5a291d41
simran (#7881) 2019-01-04 17:09:03 +01:00
Jan f66bac4f86
added AQL function CHECK_DOCUMENT (#7842) 2019-01-04 15:31:29 +01:00
Jan 28528973e3
added arangorestore option `--cleanup-duplicate-attributes` (#7877) 2019-01-04 15:25:45 +01:00
sleto-it c48756486e
Doc - arangorestore improvements (#7878) 2019-01-03 18:26:07 +01:00
Jan b3a3e35f3d added arangorestore options `--number-of-shards` and `--replication-f… (#7869)
* added arangorestore options `--number-of-shards` and `--replication-factor`

* updated documentation

* added version numbers
2019-01-03 11:07:02 +01:00
Lars Maier 5c53ebceb0 Feature/jwt keyfile (#7863)
* Added jwt-keyfile option and warning for old option.
* CHANGELOG
* Add trimming to --auth.jwt-secret-keyfile
* Adjust some comments.
2019-01-02 14:38:38 +01:00
Jan 98ff9621bf
prevent duplicate attributes being generated by AQL queries (#7837) 2019-01-02 12:37:17 +01:00
Jan 74f0bbed5a
fixed issue #7834 (#7843) 2019-01-02 11:22:42 +01:00
Jan f4f61e2947
Bug fix/issues 23122018 (#7847) 2019-01-02 11:11:03 +01:00
sleto-it 20d5e1655e
Documents that arangorestore/arangodump threads option is from v3.4.0 on (#7701) 2018-12-29 13:29:10 +01:00
sleto-it 4aefcbd716
Update ISSUE_TEMPLATE.md (#7103) 2018-12-28 17:36:08 +01:00
sleto-it 099fd6d2db
Doc - Forwardports to devel - 2018-12-27 (#7858) 2018-12-27 17:12:50 +01:00
Omar_A 5bf0eb4fea Doc - Sync-external-repo-2018-12-25 (#7854) 2018-12-27 11:17:11 +01:00
maxkernbach 4db6390054 Doc - re-add switching storage engine section (#7781) 2018-12-27 11:03:31 +01:00
Simran f7b9733a84 Doc - Fix build (whitespaces, triple-backticks, comments) (#7857) 2018-12-26 21:41:19 +01:00
KVS85 3bf3818ba9 Add http_server test for creating view with links (#7852) 2018-12-26 19:30:10 +03:00
Frank Celler ac9f375fb5 big reformat 2018-12-26 00:54:03 +01:00
Frank Celler 56e193db9f added new clang style and reformat script for clang-format 6.0 2018-12-26 00:26:25 +01:00
maxkernbach 76f98429e6 Doc - Improve MacOS Installation page (#7744) 2018-12-24 17:18:34 +01:00
Dan Larkin-York 2ad638cb45 Fix issue with geo iterator reset. (#7839) 2018-12-23 00:41:12 +01:00
Simran 06e123de22 Doc - Single Instance vs. Cluster (diff + migration) (#7739) 2018-12-22 23:30:24 +01:00
Simon a2a0b03f43 Rdb index background (preliminary) (#7644) 2018-12-21 19:24:10 +01:00
Simon 52be735244 iResearch asan issue (#7832) 2018-12-21 15:51:57 +01:00
Michael Hackstein 4965cea454 Feature/improve edgeindex covered (#7718)
* The Rocks Edge index now states that it covers _from and _to and can be used as a covering index for both.

* Moved the ExecutionState checkmark in query to a later point. It actually still included parts of Instantiation in cluster

* Updated test for the new feature, it now covers more states

* Updated changelog

* Updated ClusterIndex to support RocksDBEdgeIndex covering

* Removed assertion, during startup this assertion is not hold

* Replaced inplace builder by a leased builder

* Update CHANGELOG

Co-Authored-By: jsteemann <jsteemann@users.noreply.github.com>

* Update CHANGELOG

Co-Authored-By: jsteemann <jsteemann@users.noreply.github.com>
2018-12-21 13:41:25 +01:00
Vasiliy db07e1ca5e issue 511.6: update iresearch to 6e870904eae5eaf891359ed06e7332666c02cb19 (#7819)
* issue 511.6: update iresearch to 6e870904eae5eaf891359ed06e7332666c02cb19

* backport: add back required MSVC command replacement

* try to address MSVC link issues

* backport: move post-build step into a separate custom target

* another attempt to address cmake build issues
2018-12-21 15:00:35 +03:00
KVS85 bbd8aa4e0b Remove procdump usage while taring archives (#7815) 2018-12-21 11:39:39 +01:00
Jan cc66e7f91f
copy enterprise files too when starting with `--javascript.copy-installation` (#7818) 2018-12-20 17:47:10 +01:00
Jan 7b571d311d
suppress a warning message about non-optimal MMFiles collection data structures while doing WAL recovery, not just while upgrading. (#7811) 2018-12-20 16:52:25 +01:00
Tobias Gödderz 90ec730c07 Fix heartbeat thread hanging during shutdown (#7709) 2018-12-20 16:40:42 +01:00
Wilfried Goesgens c3e73ba45b upgrade rocksdb to V5.18.X (#7792) 2018-12-19 19:34:55 +01:00
Wilfried Goesgens c30947961f Fix Cluster shutdown handling of http connections (#7809) 2018-12-19 19:22:11 +01:00