1
0
Fork 0
Commit Graph

45785 Commits

Author SHA1 Message Date
Andrey Abramov 6518030016 add tests 2019-11-29 20:07:08 +03:00
Andrey Abramov c69ae3d596 add js tests for wildcard arangosearch filter 2019-11-29 18:03:50 +03:00
Andrey Abramov 22f7f5286b restore the original 3.5 behaviour 2019-11-29 16:54:23 +03:00
Andrey Abramov d9eb239f71 backport fix from iresearch 2019-11-29 16:46:26 +03:00
Andrey Abramov 28c2dcd9eb Merge branch 'devel' of https://github.com/arangodb/arangodb into feature/arangosearch-wildcard-query 2019-11-28 19:07:03 +03:00
Andrey Abramov 65ca9e5236 backport fix 2019-11-28 18:56:37 +03:00
Jan Christoph Uhde d9cb0cd6e3 Bug fix/test shell skiplist rm performance (#10557)
* de-graylist shell-skiplist-rm-performance-timecritical-noncluster

* increase delta

* delete test
2019-11-28 14:55:41 +01:00
Andrey Abramov e8b26d1689 update iresearch 2019-11-28 15:55:17 +03:00
Jan b610d99d9f Parallelize certain AQL write operations (#10503)
* added highly experimental startup option `--query.parallelize-gather-writes`

Turning this option on will enable the `parallelize-gather` AQL
optimizer rule for certain write queries. This option is `false`
by default.

The feature is highly experimental and should not be used on a
production system. The option is therefore also hidden.

* parallelize certain write operations in AQL

* remove unneeded _vocbase

* remove unneeded _vocbase

* added startup option and tests
2019-11-27 19:05:04 +01:00
Simon 2ae30242c0 Cancel connections to known failed servers (#10546)
* test

* rename shit

* rename shit

* Cancel connections to known failed servers

* do not uncomment code

* Retry on 503 responses

* Make test grey again
2019-11-27 17:34:43 +01:00
Jan 119aa7bfd8 attempt to make shell-query-spec test deterministic (#10551)
* attempt to make shell-query-spec test deterministic

* remove the old test
2019-11-27 17:30:01 +01:00
Jan Christoph Uhde 3c5acf6717 check before foxx-heal (#10512)
* check before foxx-heal

* be more graceful
2019-11-27 17:29:35 +01:00
Jan b0cafb39ae ungreylist the test (#10553) 2019-11-27 16:47:47 +01:00
Jan 4213654624 Allow the optimizer to use indexes (#10541)
when a collection attribute is compared to anexpansion followed by an attribute name, e.g. `doc.value IN something[*].name`.
2019-11-27 16:46:31 +01:00
Wilfried Goesgens 2192b49d4f on exception print which query set fails (#10536)
* on exception print which query set fails

* no need to print this - it does by itself
2019-11-27 16:31:58 +01:00
Jan Christoph Uhde 1cd71a8d11 rename timeout to maxRuntime (#10552)
* rename timeout out maxRuntime

* Update CHANGELOG

Co-Authored-By: Jan <jsteemann@users.noreply.github.com>
2019-11-27 15:08:50 +01:00
KVS85 fa2ebde506
Update CHANGELOG 2019-11-27 13:56:41 +01:00
Andrey Abramov 30a02a8f17 Merge branch 'devel' of https://github.com/arangodb/arangodb into feature/arangosearch-wildcard-query 2019-11-27 15:47:43 +03:00
Andrey Abramov e8cb592aef update iresearch from upstream 2019-11-27 15:26:51 +03:00
Kaveh Vahedipour d11c0954e8 Missing post failure on readlock in SynchronizeShard (#7860)
* when post cannot be delivered for readlock waiting for put meningless

* devel pull

* we can rely on POST alone

* clean up

* wrong errorCode tested

* fixed nullptr

* correct timeout

* fixed nullptr

* merge devel

* log level

* maintenace default log level raised to INFO, shard synchronisation only logs start/success all WARN/ERR demoted to DEBUG

* message unification

* devel merge

* fixed query registry

* tobias remarks

* mchacki part one

* static string for rebootid

* working tests

* use the reboot tracker from clusterinfo

* use the reboot tracker from clusterinfo

* rebootid be rebootid

* fixed serverid and all working

* static strings

* callguard out of reboottracker

* call callbacks, when query is ditched

* clear priv

* change log

* my oh my

* simon attention

* merge seems fine

* typo

* fix headers
2019-11-26 17:46:26 +01:00
Lars Maier b9b9a0c613 Direct Execution RestHandler (#10510)
* Ask the handler for direct execution instead of just looking at the RequestLane.

* Update arangod/RestHandler/RestDocumentHandler.cpp

* Do not access handler avter it was moved into lambda.

* Lambda should be mutable otherwise members are const and moving has no effect.

* Added more handlers to allowDirectExecution.

* Only allow direct execution for RestClusterHandler if asking for endpoints.
2019-11-26 17:06:21 +01:00
Jan a50f07e928 obsolete option `--vst.maxsize` requires a value if specified (#10547) 2019-11-26 13:23:20 +01:00
Jan Christoph Uhde 2c1acb5bc7 add minReplicationFactor to http documentation (#10529)
* add minReplicationFactor to http documentation

* reword

* add original text written by heiko

* fix typos

* try to fix rest structs
2019-11-26 13:21:47 +01:00
Michael Hackstein 18408c882e Bug fix/gharial return name (#10537)
* Added more return format tests for _api/gharial

* Now return name in api/gharial list api

* Added CHANGELOG entry

* Removed debug print
2019-11-26 10:42:18 +01:00
KVS85 b4bf178daa
Updated arangosync to 0.7.0 (#10533) 2019-11-26 10:41:17 +01:00
KVS85 b97390a8df
Update CHANGELOG 2019-11-26 10:27:15 +01:00
KVS85 e44a45ec35
Updated arangosync to 0.7.0 2019-11-26 10:26:50 +01:00
Andrey Abramov 7698bc0c39 update iresearch from upstream 2019-11-25 20:42:40 +03:00
Simon 45cccf8537 Make some changes to Comm Tasks (#10520)
* Make some changes to VST handlers

* clear response body after sending

* less code
2019-11-25 20:01:38 +03:00
Jan Christoph Uhde b94755c61e fix segfault and try to avoid oom (#10518)
* create arena before using it

* try to avoid oom situation
2019-11-25 13:49:50 +03:00
Tobias Gödderz a8ceab9c71 Enabled modification nodes in spliced subqueries again (#10499)
* Enabled modification nodes in spliced subqueries again

* Fixed two bugs where the shadow row depth of rows wasn't copied
2019-11-22 18:30:14 +01:00
Tobias Gödderz 913e464962 Set internal state to DONE when upstream is DONE (#10513) 2019-11-22 18:29:55 +01:00
Lars Maier 68e72eab28 Put the write into the IoContext. (#10511)
* Put the write into the IoContext.
* Forgot to stage: Fix compile by using shared pointer, because std::function can not handle only-move types.
2019-11-22 17:43:29 +01:00
Wilfried Goesgens b194409654 fix the default case, if we guess that we have structured post data, actually parse it. (#10508) 2019-11-22 15:22:18 +01:00
Kaveh Vahedipour 1489afa148 metricsfeature cleanup in unprepare (#10514) 2019-11-22 15:02:36 +01:00
Tobias Gödderz e2f3f0965b Updated CHANGELOG (#10509) 2019-11-22 13:16:38 +01:00
Michael Hackstein c201dce948
Bug fix/input row serialization (#10502)
* Unified toVelocyPack of InputRow and AqlItemBlock. We can now velocypack any range within an AqlItemBlock as a new block.

* This is the fix required here. We now end exhausted false in initialize cursor. For some reason the other side checks this hard-coded value and if it is not the expected value it does ignore the send body ¯\_(ツ)_/¯

* Added test for range-based serialization
2019-11-22 08:08:53 +01:00
Kaveh Vahedipour b94f40d890 feature/metrics (#10423)
- New internal counters and histograms.
- Prometheus compatible endpoint to expose new metrics, old statistics and RocksDB metrics.
2019-11-22 08:02:48 +01:00
Andrey Abramov 70283adda5 fix tests 2019-11-22 10:00:37 +03:00
Andrey Abramov 6e350d9c9f
fix compilation on mac (#10505)
* fix compilation on mac

* fix another error
2019-11-22 09:36:42 +03:00
Andrey Abramov b56908d4fc update iresearch from upstream 2019-11-21 19:43:28 +03:00
Andrey Abramov df5e893afe Merge branch 'devel' of https://github.com/arangodb/arangodb into feature/arangosearch-wildcard-query
# Conflicts:
#	3rdParty/iresearch/core/analysis/ngram_token_stream.cpp
#	3rdParty/iresearch/core/analysis/ngram_token_stream.hpp
#	3rdParty/iresearch/core/analysis/text_token_stream.cpp
#	3rdParty/iresearch/core/utils/json_utils.hpp
#	3rdParty/iresearch/tests/analysis/ngram_token_stream_test.cpp
#	3rdParty/iresearch/tests/analysis/text_analyzer_tests.cpp
2019-11-21 19:42:24 +03:00
jsteemann e5d6b837b9 fix whitespace issues 2019-11-21 17:34:35 +01:00
Andrey Abramov da1b549fe9
Feature/arangosearch 3.6 (#10490)
* backport features from iresearch upstream

* some fixes after upgrade

* fix compilation

* backport the recent changes

* small adjustment

* add missing files

* update iresearch from upstream

* added js tests for new analyzers

* update changelog

* make jslint happy

* update changelog

* fix tests
2019-11-21 19:14:15 +03:00
Jan 75b87689fa
remove cctype (#10501) 2019-11-21 15:59:59 +01:00
Jan Christoph Uhde 5321bf5c1a dump/restore db properties (#10482) 2019-11-21 15:03:25 +01:00
Tobias Gödderz 168103af88 Splicing gather cleanup (#10479)
Some cleanup and deprecation information
2019-11-21 13:00:31 +01:00
Markus Pfeiffer 2902ab9c23 Feature/changelog for subquery splicing (#10396)
* Add a CHANGELOG entry for subquery splicing
2019-11-21 12:39:36 +01:00
Markus Pfeiffer e11e81e0b7 Fix potential segfault (#9308)
* Check whether name is empty in getCollectionId{Local,Cluster} before access
2019-11-21 12:33:05 +01:00
jsteemann ba2b11f766 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2019-11-21 11:47:53 +01:00