1
0
Fork 0
Commit Graph

2204 Commits

Author SHA1 Message Date
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
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 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
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 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
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
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
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
KVS85 ac050be233
Adjust date and changes from 3.5.2 2019-11-05 17:55:16 +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
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
Jan 4290f381af fixed issue #10270 (#10272) 2019-10-21 16:06:03 +03: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
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
Lars Maier 5a97acc166 Fixed available. Fixed not found for list. (#10234)
* Fixed available. Fixed not found for list.

* Fixed error reporting.

* Updated changelog.

* Fixed logid.
2019-10-14 16:51:42 +03:00
Kaveh Vahedipour 9044f7de97 [3.5] yet another agency ttl bug (#10242)
* port from devel

* Update CHANGELOG
2019-10-14 16:46:06 +03:00
Jan b74971c9bb Improved performance of some agency helper functions. (#10222) 2019-10-11 18:30:04 +03:00
Alan Plum e4e53b94ee [3.5] Fix document search (Ctrl+F/Cmd+F) (#10215)
* Quickfix: map ace searchbox ext path to file

* Add to changelog

* Update CHANGELOG
2019-10-11 17:40:55 +03:00
Iurii Popov a316a2f61f Bug fix 3.5/issue #10090 (#10174)
* Fixed repeatable seek to the same document

* Fix. Multiple conjuncts in conjunction.

* Added CHANGELOG for the issue #10090.

* A new line in CHANGELOG.

* Add tests
2019-10-09 17:13:51 +03:00
Jan bf187f4b50 Bug fix 3.5/issue 10193 (#10194)
* fixed issue #10193: Arangoexport does not handle line feeds when exporting as csvi

* escape \r too
2019-10-09 16:01:51 +03:00
Jan 345a06ade4 remove debug logging (#10192)
* remove debug logging

* removed yet another log message
2019-10-09 14:58:15 +03:00
Jan c1a0274ad0 fixed issue #10183: Arangoimport imports on _system when you try to create a new database. (#10187) 2019-10-09 14:54:46 +03:00
Jan 68ff8d4366 fixed issue #10158 (#10163)
* fixed issue #10158

* Update arangod/Aql/TraversalExecutor.cpp
2019-10-09 12:22:23 +03:00
KVS85 ed19ba500a release version 3.5.1 2019-10-03 21:17:45 +02:00
Jan f3fcba2cc5 Bug fix 3.5/fix parsing unterminated strings (#10156)
* fix parsing of unterminated string literals

* added generated file

* added CHANGELOG entry

* Update CHANGELOG
2019-10-03 16:05:33 +03:00
Wilfried Goesgens 33318e0177 Fix windows path handling not to slip into UNC lookup (#10073) (#10084)
* Fix windows path handling not to slip into UNC lookup (#10073)

* make sure that we don't get more than one leading directory separator in front of the path, so windows doesn't mistakenly look it up as a UNC.

* make sure we don't build paths that start with two \'s

* Fix condition
2019-10-02 23:19:54 +03:00
Jan 4425c7d73a ignore files in .bin when copying js files (#10146)
* ignore files in .bin when copying js files

* updated CHANGELOG

* updated CHANGELOG
2019-10-02 19:03:43 +03:00
Jan 13dae8cace Feature 3.5/sharding config (#10111)
* added options

`--cluster.max-number-of-shards`
`--cluster.default-replication-factor`
`--cluster.min-replication-factor`
`--cluster.max-replication-factor`

* fix creating satellite collections

* added CHANGELOG entry and tests

* guard against invalid replicationFactor changes when changing properties

* fix validation

* remove stray print

* Update arangod/Cluster/ClusterFeature.h

Co-Authored-By: Michael Hackstein <michael@arangodb.com>
2019-10-01 16:43:57 +03:00
Kaveh Vahedipour 932def9cf1 [3.5] unitended multiple unlocks (#10115)
* unitended multiple unlocks

* Update CHANGELOG

* Update CHANGELOG
2019-10-01 16:37:28 +03:00
Kaveh Vahedipour 44232d856e corrected hot backup lock timings (#10075)
* corrected hot backup lock timings

* the lock timeout added to overall unlock timeout]

* Update CHANGELOG
2019-09-30 11:43:25 +03:00
Kaveh Vahedipour f15fe22c7c [3.5] coordinator proper wait for dbservers after hot restore (#10049)
* rebootIds instead of boot stamps

* noexcept is of course wrong

* wrong noexcept here. we're copying.

* change log

* Update CHANGELOG
2019-09-30 11:07:04 +03:00
Lars Maier 0757cf2b92 [3.5] Background Get Ids (#9786)
* Obtain new unique IDs via a background thread.

* Updated changelog.
2019-09-27 19:21:25 +03:00
Jan 451bd6e85d Bug fix 3.5/issue 10078 (#10082)
* fixed issue #10078: FULLTEXT with sort on same field not working

* added test

* simplify the implementation
2019-09-27 15:18:57 +03:00
Jan 7b427a549d fixed issue #10062: AQL: Could not extract custom attribute (#10067) 2019-09-27 15:15:39 +03:00
Kaveh Vahedipour da4fb1e821 fix implicit privacy of irs::sort::prepared_basic<tfidf::score_t, tfidf::idf> (#10058) 2019-09-27 15:13:59 +03:00
Jan cf65562527 fix graph error message (#10042)
* fix error message

* updated CHANGELOG, fixed test
2019-09-27 15:10:19 +03:00
Max Neunhöffer b8502f8fa7 Add more strong references to pthread stuff. (#10045)
* Add more strong references to pthread stuff.

* Circumvent libgcc/libmusl mistake in multi-threaded detection.

* CHANGELOG.
2019-09-27 14:42:10 +03:00