1
0
Fork 0
Commit Graph

45355 Commits

Author SHA1 Message Date
Heiko 09a323789d
Merge branch '3.5' into bug-fix-3.5/restore-feature-perms 2019-12-02 18:13:06 +01:00
Jan Christoph Uhde a067eb567d fix UUID - 3.5 (#10585)
* add define for boost uuid

* Update CHANGELOG
2019-12-02 18:01:34 +01:00
hkernbach f6d62d9c19 bracket mistake 2019-12-02 17:44:42 +01:00
hkernbach 1e7047ecb6 clear shardToName 2019-12-02 15:09:33 +01:00
hkernbach a1aa5bb6f0 changelog 2019-12-02 14:43:29 +01:00
hkernbach e06f5b4e1f restore perms 2019-12-02 14:42:19 +01:00
KVS85 61b5723185 Removed Cookbook book completely 2019-11-29 17:19:25 +01:00
Simran c4a800828f New startup options available from v3.5.3 on, not v3.5.4 (#10581) 2019-11-29 15:48:57 +01:00
Wilfried Goesgens ddf999ce4a Bug fix 3.5/cleanup view (#10589)
* cleanup after test

* Update upgrade-data-views-msv3.2.1.js
2019-11-29 14:15:08 +01:00
KVS85 54ed419d19 Updated arangosync to 0.7.1 2019-11-28 22:31:58 +01:00
KVS85 aaeada271c Raise version to 3.5.4 2019-11-28 22:24:54 +01:00
KVS85 861b247613 arangodb release 3.5.3 2019-11-28 22:08:49 +01:00
Michael Hackstein 32bb28028a Cherry picked bug-fix for GharialAPI to return name in LIST (#10545) 2019-11-26 15:30:21 +01:00
Heiko 10d037a5f1 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:30:00 +01:00
Jan 147bf2e607 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 10:44:45 +01:00
KVS85 b888782b46
Updated arangosync to 0.7.0 (#10532) 2019-11-26 10:40:54 +01:00
Jan Christoph Uhde 9bf111c9d5 Bug fix 3.5/little weekend fix (#10527)
* try to avoid oom situation

* create arena before using it

* fix namespace
2019-11-26 11:35:34 +03:00
Heiko e575a94e42 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 16:31:23 +03:00
Jan 0977d3d0dd add tests for inventory (#10464) (#10495) 2019-11-21 15:57:36 +03:00
Jan dd52f0fcf9 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 15:42:10 +03:00
Lars Maier 343c9ac75e [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 15:39:31 +03:00
Jan d25db8eff9 improve error message (#10478) 2019-11-20 12:58:38 +03:00
Andrey Abramov 15fd10a9b7 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 23:48:56 +03:00
Jan abca9b01c6 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 20:24:33 +03:00
Kaveh Vahedipour b99aff3ef4 [3.5] no coordinators left behind (#10420)
* no coordinators left behind

* Update CHANGELOG

* Update CHANGELOG
2019-11-14 15:35:08 +03:00
Jan 6636ab1026 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 14:08:38 +03:00
Jan 426c471702 fix invalid assertion (#10428) 2019-11-14 12:21:16 +03:00
Jan 666ea460cf 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 18:42:00 +03:00
KVS85 c8cf679fb2 Fix dump tests 2019-11-13 12:33:31 +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 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