1
0
Fork 0
Commit Graph

17470 Commits

Author SHA1 Message Date
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
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
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
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
Max Neunhöffer ff28647627 Improve timings for hotbackup lock. (#10230) 2019-10-11 17:42:12 +03:00
Max Neunhöffer 4a79205894 Fix hotbackup locking. (#10186)
* Fix dbserver locking and releasing for hotbackup.

* Fix fix.
2019-10-11 17:38:13 +03:00
Tobias Gödderz 4c6ab4d502 [3.5] Fix AQL skip in cluster sometimes causing documents to be forgotten (#10199)
* Bugfix for recurring Jenkins error in api-simple-modify-example-cluster-spec.rb (#10190)

DependencyProxy::skipSome did not work correctly with multiple
dependencies if atMost was reached, returning DONE early.

* Updated CHANGELOG

* Deleted CHANGELOG entry

* Added regression test for #10190

* Added missing include
2019-10-11 17:35:05 +03:00
Heiko 1d264dea9f applied fix which is already present in devel (#10210) 2019-10-10 12:09:39 +03:00
Jan 58fb6fd36b fix random willi bug (#10197) 2019-10-09 16:03:26 +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 68ff8d4366 fixed issue #10158 (#10163)
* fixed issue #10158

* Update arangod/Aql/TraversalExecutor.cpp
2019-10-09 12:22:23 +03: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
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 455cccefbb Bug fix 3.5/honor sharding restrictions (#10140)
* honor sharding restrictions also when creating a graph with existing
collections

* add test

* additional validation for startup parameters

* fixed logIDs
2019-10-02 18:42:53 +03:00
Lars Maier 64ac6d7af3 Bug fix 3.5/backup list with bad dbserver (#10130)
* Added available field to indicate bad backups.

* Added nrPiecesPresent.

* Fix logids.

* Make Windows compilation happy.

* Fix log ids.
2019-10-02 11:24:54 +03:00
Jan 7e524f9af9 honor restrictions when creating graphs (#10136) 2019-10-01 23:55:58 +03:00
Max Neunhöffer b3a1b028d8 Disable hotbackup api on Windows. (#10131) 2019-10-01 23:47:19 +03:00
Jan 845701de6d fix broken & duplicate logIds (#10134) 2019-10-01 20:15:07 +03:00
Max Neunhöffer 2201381da9 Port latest shutdown hanger bug to 3.5. (#10121) 2019-10-01 18:16:44 +03:00
Max Neunhöffer c067e17bb6 Port backup size to 3.5. (#10117)
* Port backup size to 3.5.

* Lars' fixes from devel.

* Fix compilation one more time.

* Lars' datetime fix from devel.
2019-10-01 16:45:28 +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
Max Neunhöffer 587cead36f Use execvp instead of execv and handle error. (#10103) 2019-09-30 10:57:54 +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
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
Max Neunhöffer a08a4d3395 Fix a shutdown hanger because of a collection status lock. (#10032)
* Fix a shutdown hanger because of a collection status lock.

* CHANGELOG.
2019-09-27 14:32:42 +03:00
Dan Larkin-York 50b1f72b25 [3.5] Fix issue with cache allocation statistics. (#10029)
* Fix issue with cache allocation statistics.

* updated CHANGELOG
2019-09-27 14:31:36 +03:00
Kaveh Vahedipour 999e4b8873 [3.5] agency lock left behind (#10022)
* short timeout issue and discarded agency lock removal

* short timeout issue and discarded agency lock removal

* no hot backup in 3.5.0
2019-09-17 00:13:54 +03:00
Tobias Gödderz 0b1d5be33e Backported #9881 (#10019) 2019-09-16 17:35:42 +03:00
Tobias Gödderz 83f0d800f1 [3.5] Bug fix/sort limit rule too lax (#10018)
* Added regression test for consecutive constrained sorts

* Bugfix: sort-limit rule skipped too many node types

* Added CHANGELOG entry

* Apply sort-limit rule before single document operations
2019-09-16 13:57:23 +03:00
Matthew Von-Maszewski 249899959f back port PR 9874 to 3.5. Add write amplification stat and option to disable statistics history. (#9947) 2019-09-16 12:57:11 +03:00
Jan 351ca41553 validate collection when leasing an existing transaction (#9990)
* validate collection when leasing an existing transaction

* use WITH statement

* allow implicit read collections again

* simplify collection name validation

* re-implement it

* remove dead code

* remove unused method

* apply review comments

* whoops, deleted too many methods

* fixit
2019-09-13 20:03:55 +03:00
Tobias Gödderz aeba4bc2c6 Additional sort-limit tests (#10010) (#10011) 2019-09-13 19:10:43 +03:00
Max Neunhöffer 4656bd0a6a Fix a shutdown busy loop after main if two exceptions collide. (#9982) 2019-09-13 13:27:30 +03:00
Tobias Gödderz 6f16c3deef [3.5] Make AQL's constrained heap play nice with fullCount (#10007)
* Make AQL's constrained heap play nice with fullCount (#9981)

* Update CHANGELOG
2019-09-13 12:28:28 +03:00
Jan c9de78c7c5 backport bugfixes from this week (#9985)
* backport bugfixes from this week

* use steady_clock, after 2 votes for it
2019-09-12 17:35:57 +03:00
Jan 8830aad557 Bug fix 3.5/allow not like (#9991)
* allow NOT LIKE, NOT =~ and !~ in grammar

* updated CHANGELOG

* added derive files
2019-09-12 16:59:40 +03:00
Jan c7b0e68026 disable the creation of TTL indexes on sub-attributes (#9995)
* disable the creation of TTL indexes on sub-attributes

* updated CHANGELOG
2019-09-12 16:42:56 +03:00