1
0
Fork 0
Commit Graph

45346 Commits

Author SHA1 Message Date
KVS85 f9ff700153 arangodb release 3.5.3 2019-11-26 16:02:30 +01:00
Michael Hackstein bc752a28c7 Cherry picked bug-fix for GharialAPI to return name in LIST (#10545) 2019-11-26 15:36:57 +01:00
Heiko a7b64bd815 Bug fix 3.5/fix internal issue 4451 (#10538)
* Fix dump_authentication suite

* Fix typos

* user the correct attribute name

* properly reload user permissions after _users collection restore

* fixed foxx restore test

* changelog

* changed the order of index creation during restore for _users collection
2019-11-26 14:54:36 +01:00
Jan 76f84f2c6c Allow the optimizer to use indexes (#10543)
* Allow the optimizer to use indexes

when a collection attribute is compared to anexpansion followed by an attribute name, e.g. `doc.value IN something[*].name`.

* Update CHANGELOG
2019-11-26 14:54:28 +01:00
KVS85 752dd7fdd5 Updated arangosync to 0.7.0 (#10532) 2019-11-26 14:54:18 +01:00
Jan Christoph Uhde c072d84397 Bug fix 3.5/little weekend fix (#10527)
* try to avoid oom situation

* create arena before using it

* fix namespace
2019-11-26 14:53:56 +01:00
Heiko 28c38cbbd7 Bug fix 3.5/issue 10470 (#10497)
* fixing issue #10470

* changelog

* Update CHANGELOG

* Rebuild UI

* updated grunt-contrib-imagemin

* add package-lock.json
2019-11-22 14:32:21 +01:00
Jan 01507206e0 add tests for inventory (#10464) (#10495) 2019-11-21 13:58:15 +01:00
Jan ef9ea2c21d fixed issue #10440: Incorrect sorting with sort criteria partially covered by index (#10443)
* fixed issue #10440: Incorrect sorting with sort criteria partially covered by index

* Update CHANGELOG
2019-11-20 13:42:27 +01:00
Lars Maier 9a33122c5d [3.5] Added precondition to ensure that server is still as seen before. (#10477)
* Added precondition to ensure that server is still as seen before.

* Removed merge conflicts.
2019-11-20 13:39:57 +01:00
Jan 43677785dd improve error message (#10478) 2019-11-20 10:59:26 +01:00
Andrey Abramov 8741d338d0 allow in-place analyzer creation via link definition (#10466) (#10481)
* allow in-place analyzer creation via link definition (#10466)

* allow in-place analyzer creation via link definition

* add special handling for _analyzers collection

* modify initial syncer

* address review commments

* fix accidentally broken test

* address compilation errors
2019-11-19 21:49:28 +01:00
Jan 81287811fe make replication timeouts configurable via startup options (#10473)
* make replication timeouts configurable via startup options

The following options are available (for active failover
and master-slave replication):

    --replication.connect-timeout
    --replication.request-timeout

Values can be specified in seconds. If these options are used, they will
be used for replication requests, overriding any hard-coded defaults or
explicitly configured timeouts.

Additionally, this change increases the default request timeout
for replication from 10 minutes to 20 minutes.

* do *not* change default value for timeouts

* make tests work again

* Update CHANGELOG
2019-11-19 18:25:15 +01:00
Kaveh Vahedipour 23fbe0af54 [3.5] no coordinators left behind (#10420)
* no coordinators left behind

* Update CHANGELOG

* Update CHANGELOG
2019-11-14 13:36:16 +01:00
Jan e7db6d3097 don't return any in-progress indexes (#10431)
* don't return any in-progress indexes

* fix handling of in-progress indexes

* add test

* address review comment
2019-11-14 12:09:41 +01:00
Jan a17ec21767 fix invalid assertion (#10428) 2019-11-14 10:40:08 +01:00
Jan 1f41dbd256 show type of index when non-implemented exception is thrown (#10425)
* show type of index when non-implemented exception is thrown

* fix message
2019-11-13 16:43:00 +01:00
KVS85 84e3dc03db Fix dump tests 2019-11-13 12:34:21 +01:00
KVS85 3da611dee0 Merge branch '3.5' of https://github.com/arangodb/arangodb into 3.5.3 2019-11-12 20:42:28 +01:00
Simon 4ddc94fac9 Improve syncer error message (#10404)
(cherry picked from commit 0a04067153356e035be35f42e890c7a02592985c)
2019-11-12 22:32:46 +03:00
Jan Christoph Uhde 413a81fba9 DEVSUP-492 (#10379) (#10402) 2019-11-12 22:30:58 +03:00
Andrey Abramov 3a0ed2f8b9 Bug fix 3.5/internal issue #651 (#10388)
* extract recursive part of IResearchLinkMeta

* avoid saving analyzer definition during link meta initialization

* add tests to check cluster deadlock

* cleanup

* code cleanup

* add moar tests

* mooooaaar checks

* make jslint happy

* backport fix for cluster startup from 3.5.2 branch

* backport changes from 3.5.2

* fix tests

* fix tests

* moar fixes

* refactor analyzer definitions tracking

* add some tests

* extend dump tests

* add tests for replication

* fix tests

* more fixes

* address jslint errors

* address review comments

* address test failures

* reflect changes in changelog
2019-11-12 18:26:09 +03:00
KVS85 fa7d5b1a49
Add internal issue 4597 notice 2019-11-12 13:27:23 +03:00
Lars Maier 821509ef0f Fixed wrong permissions for rebalanceShards. (#10374) 2019-11-12 12:23:23 +03:00
Max Neunhöffer 4ebe84f512 Remove code which puts system services to _app. (#10378)
* Remove code which puts system services to _app.

This seems unnecessary and never worked in the cluster.

* CHANGELOG.
2019-11-11 20:11:26 +03:00
Markus Pfeiffer 13df0d23de Bug fix 3.5/k shortest paths (#10390)
* Fix a bug in KShortestPathFinder

The finder was too eager to return a "shortest" path when there was actually
potentially a shorter path still to be discovered

* A little bit of cleanup

* Add a test that reproduces k Shortest Paths bug

* Add hacked up variant of optional

* Fixup tests

* Update CHANGELOG
2019-11-11 20:10:04 +03:00
KVS85 6910540c78 preview.1 version 3.5.3 2019-11-07 13:22:46 +01:00
KVS85 a775e954c9 Pull patch version up (3.5.3) 2019-11-07 12:34:06 +01:00
Jan 152bc7c556 better killability of cluster AQL queries (#10360) 2019-11-06 15:33:44 +03:00
Dronplane 89b21f3c73 Fix ArangoSearch consolidation results commit (3.5 backport) (#10370)
* Fix ported from upstream

* Update CHANGELOG
2019-11-06 13:07:15 +03:00
Max Neunhöffer b186aebd8d Fix immediate shutdown after startup failure. (#10365)
* Add missing dependencies to IResearchAnalyzerFeature

* First all features beginShutdown, then stop.

This is for the case of immediate shutdown if the startup did not work.
2019-11-05 18:32:33 +03:00
Kaveh Vahedipour 6169907f9a Bug fix 3.5/timestamp assert compatibility (#10354)
* assertion on compatibility, when timestamp missing

* assertion on compatibility, when timestamp missing

* assertion on compatibility, when timestamp missing

* assertion on compatibility, when timestamp missing

* Update CHANGELOG
2019-11-05 18:31:29 +03:00
Jan 461ea7cb5e Bug fix 3.5/always create analyzers collection 35 (#10356)
* always create `_analyzers` collection if missing

* Update arangod/IResearch/IResearchAnalyzerCollectionFeature.cpp

Co-Authored-By: Andrey Abramov <andrey@arangodb.com>

* Update arangod/IResearch/IResearchAnalyzerCollectionFeature.cpp

Co-Authored-By: Andrey Abramov <andrey@arangodb.com>

* Update arangod/IResearch/IResearchAnalyzerCollectionFeature.cpp

Co-Authored-By: Andrey Abramov <andrey@arangodb.com>

* Update arangod/IResearch/IResearchAnalyzerCollectionFeature.cpp

Co-Authored-By: Andrey Abramov <andrey@arangodb.com>

* add missing include
2019-11-05 17:58:34 +03:00
KVS85 ac050be233
Adjust date and changes from 3.5.2 2019-11-05 17:55:16 +03:00
Simon 583c8b883e fix cleanupEngines, add another sanity check (#10344) 2019-10-31 21:08:26 +03:00
KVS85 3f1ed16e9e Adjust CHANGELOG with v3.5.2 release 2019-10-30 18:46:31 +01:00
Andrey Abramov f4e6538edd Bug fix/internal issue #647 (#10292) (#10334)
* Bug fix/internal issue #647 (#10292)

* extend replication tests

* ensure proper replication order

* fix tests

* address review comments

* address test failures

* extend dump tests

* fix analyzers tests

* more fixes

* extend tests

* enhance tests

* adjust tests

* use enum instead of flags (part 1)

* cleanup

* use enum instead of flags (part 2)

* get rid of flags for views

* get rid of flags for collections

* completely get rid of collection flags

* fix replication test

* refactor index flags

* fix tests and move AnalyzerPool out of class scope

* fix tests

* adjust log levels

* add tests

* remove debug logging

* remove noexcept from `equalAanalyzer`

* extend cluster tests

* fix cluster tests

* add tests for views and smart graphs

* address jslint errors

# Conflicts:
#	arangod/Cluster/ClusterMethods.cpp
#	arangod/Cluster/v8-cluster.cpp
#	arangod/IResearch/IResearchAnalyzerFeature.cpp
#	arangod/IResearch/IResearchAnalyzerFeature.h
#	arangod/IResearch/IResearchLinkMeta.cpp
#	arangod/RestHandler/RestAnalyzerHandler.cpp
#	arangod/StorageEngine/PhysicalCollection.cpp
#	arangod/VocBase/Methods/Indexes.cpp
#	tests/IResearch/IResearchAnalyzerFeature-test.cpp
#	tests/IResearch/IResearchFeature-test.cpp
#	tests/IResearch/IResearchLinkHelper-test.cpp
#	tests/IResearch/IResearchLinkMeta-test.cpp
#	tests/IResearch/IResearchQueryOptimization-test.cpp
#	tests/IResearch/IResearchViewDBServer-test.cpp
#	tests/IResearch/IResearchViewSort-test.cpp
#	tests/V8Server/v8-analyzers-test.cpp
#	tests/VocBase/LogicalDataSource-test.cpp

* Update CHANGELOG

* Update CHANGELOG
2019-10-30 17:01:18 +03:00
Jan 8ec48b79ea upgrade curl to 7.66.0 (#10329)
* upgrade curl to 7.66.0

* update licenses file

* apply change suggested by @kvs85
2019-10-30 15:59:14 +03:00
KVS85 3e45b1aced
Enable OpenSSL strict version to separate ArangoDB and build it in os… (#10326)
* Enable OpenSSL strict version to separate ArangoDB and build it in oskar (Windows)

* Retain with older requirements
2019-10-29 08:42:47 +03:00
Jan 57a2982976 Bug fix 3.5/wait until we appear in supervision health (#10315)
* wait until we appear in Supervision/Health

* apply review suggestion

* add CHANGELOG entry for change
2019-10-25 13:36:22 +03:00
Max Neunhöffer ac689fc725 Allow to ignore superuser traffic with an option. (#10289)
* Allow to ignore superuser traffic with an option.

Also: Fix some accounting bugs.

* CHANGELOG.

* Implement separate accounting for superuser and user traffic.

* Fix VST case with no authentication.

* Add description of new user-only traffic statistics.

* Add figures for user traffic.

* Simplify forwarding accounting.

* Remove brackets in metrics names.

* Finalize naming of metrics.
2019-10-24 13:11:51 +03:00
Frank Celler 3adb982961 make ccache optional (#10310) 2019-10-24 11:48:11 +02:00
Jan 4290f381af fixed issue #10270 (#10272) 2019-10-21 16:06:03 +03:00
Frank Celler 55ca6c8660 you cannot have an assigment operator and a const member 2019-10-17 10:19:45 +02:00
Tobias Gödderz ad6fc92655 [3.5] Fix constrained sort in the cluster (#10098)
* Backport of #10047

* Backport of #10057
2019-10-16 19:33:33 +03:00
Simon 58c310fe7b fix docublocks parameter naming (#10255) 2019-10-16 17:58:18 +03:00
Jan 2c5f79c9fb Make scheduler enforce queue limits (#10026)
* initial commit

* fix typo

* honor @mpoeter 's comments. Thanks!

* honor @mpoeter 's comment

* adjust scheduler queue sizes

* apply suggestion

* adjust the PR for 3.5: do not use bounded_push
2019-10-16 17:43:04 +03:00
Wilfried Goesgens 810f34e120 Feature 3.5/convert gharial test to arangoclient (#10259)
* use the default arangosh client connection instead of the simple http client to test the gharial API

* refrain using globals, as sugested by @goedderz

* add method to check whether there already is a reply present

* fix result handling, return errors & set results

* the mock also needs to implement the 'isEmpty' function

* Update arangod/RestHandler/RestGraphHandler.cpp

Co-Authored-By: Michael Hackstein <michael@arangodb.com>

* Update arangod/RestHandler/RestGraphHandler.cpp

Co-Authored-By: Michael Hackstein <michael@arangodb.com>

* Update lib/Rest/VstResponse.h

Co-Authored-By: Michael Hackstein <michael@arangodb.com>

* Update lib/Rest/HttpResponse.h

Co-Authored-By: Michael Hackstein <michael@arangodb.com>

* changelog

* backport: fix variable name

* adjust test to corrected API

* make it private

* fix indention

* Update CHANGELOG
2019-10-16 16:42:55 +03:00
Jan 7fd3b3c390 disallow subqueries in AQL traversal PRUNE conditions (#10231)
* disallow subqueries in AQL traversal PRUNE conditions

* added derived file
2019-10-16 16:36:33 +03:00
Jan 7eb53e0645 fix underflow in copying code (#10263) 2019-10-16 16:23:28 +03:00