1
0
Fork 0
Commit Graph

45770 Commits

Author SHA1 Message Date
jsteemann c555cba6f5 add generated front end files in order to allow collection creation 2019-11-21 11:04:52 +01:00
Lars Maier 51af263960 Added precondition to ensure that server is still as seen before. (#10468) 2019-11-21 09:21:36 +01:00
Michael Hackstein 3090e49258
Actually use the given format to execute a query (#10484)
* Actually use the given format to execute a query

* Send the serialization format of AQL from Coordinators.
2019-11-21 09:10:32 +01:00
Markus Pfeiffer 688a680023 Fix SubqueryStartExecutor (#10488)
fetchRow must not be called with `atMost == 0`, which can happen if
output.numRowsLeft() == 1.
2019-11-21 09:04:33 +01:00
Jan f42dd86b25
add tests for inventory (#10464) 2019-11-21 08:56:27 +01:00
Jan d3b00d60cc
fix truncate operation in synchronous replication (#10492) 2019-11-21 08:51:07 +01:00
Iurii Popov 9f4926bfec Feature/issue #653 (#10427)
* late document materialization for view draft

* MaterializeType

* asserts and removed std::function

* std::map -> std::array

* Common search ast nodes code to a separate file

* Unit tests for create and clone a node

* js tests

* tmp unfinished

* Replace variables for late materialization

* Move removing

* Removed wrong clears

* Fixed variable replacement

* removed old tests (for separate materialization)

* check if late materialization arangosearch rule is enabled

* js test. added space

* moved a function to anonym namespace

* Subquery assert

* Review improvements

* Review improvements 2

* View node state to a separate var (microoptimization)

* Fixed index assert

* alignment

* C++ unit tests
2019-11-20 22:11:54 +03:00
Jan Christoph Uhde 62457a2c6b no context fix (#10467) 2019-11-20 20:01:11 +01:00
Wilfried Goesgens 3c9947d9a8 fix arangosh error message handling. (#10486) 2019-11-20 17:57:51 +01:00
Max Neunhöffer c2346c15ad
Fix argument handling in hotbackup if body is empty. (#10489) 2019-11-20 17:28:22 +01:00
Tobias Gödderz 618ffec7cb Catch exceptions in noexcept methods (#10483) 2019-11-20 17:05:05 +01:00
Markus Pfeiffer 8e13486687 Fix bug in SubqueryEndExecutor (#10485)
* Fix bug in SubqueryEndExecutor

If a subquery was spliced, and did not get any input rows, the SubqueryEnd
executor still expected a relevant ShadowRow to be handed through, and ran into
an assertion (or otherwise crashed the server) if it didn't get one.

* Add regression test for SubqueryEndExecutor fix
2019-11-20 17:03:28 +01:00
Jan Christoph Uhde 937334d49b remove rest route db properties (#10462) 2019-11-20 16:01:50 +01:00
Jan 31e75df80f
use batched methods (#10461) 2019-11-20 14:02:13 +01:00
Jan 932f8b5874
undistribute a few more queries (#10459) 2019-11-20 08:21:44 +01:00
Dronplane af1a10f913 Made test tolerant to leftover links from previous test-runs (#10480)
* Made test tolerant to leftover links from previous test-runs

* Added semicolon
2019-11-19 21:52:39 +03:00
Andrey Abramov 0b5fc7fba7
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
2019-11-19 20:55:45 +03:00
Lars Maier f5730aa0a5 Fixing vst comm task again. (#10474) 2019-11-19 17:21:45 +01:00
Jan f8e6ada19d
make replication timeouts configurable via startup options (#10476)
* 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.
2019-11-19 16:57:48 +01:00
jsteemann eeab42a4f6 improve error message 2019-11-19 16:51:01 +01:00
Lars Maier ade2c65224 Add specific section to assembly files to prevent executable stacks. (#10457) 2019-11-19 16:09:03 +01:00
Jan a311034881
add timeout to docublock (#10471) 2019-11-19 15:39:32 +01:00
Tobias Gödderz cac2a279b0 Hopefully satisfy MSVC (#10469) 2019-11-19 16:25:19 +03:00
Max Neunhöffer 315a7ba5f8
Minor fixes for hotbackup before 3.6 release. (#10458)
* TRI_Basename finally with std::string const& parameter overload. I hate .c_str()
* Fix statistics bug.
* Lose saveCurrent in client tool.
* Sort out options of arangobackup.
2019-11-19 12:51:09 +01:00
Wilfried Goesgens b0db98c702 fix windows debug build (#10465) 2019-11-19 11:11:28 +01:00
Tobias Gödderz 7a57a72620 Feature/aql subquery splicing with gather (#10341)
Allow Splicing with GATHER nodes
2019-11-18 19:05:44 +01:00
Dronplane bd1316b300 Add braces (#10460) 2019-11-18 17:58:43 +03:00
Jan c142e8bc21
fixed issue #10440: Incorrect sorting with sort criteria partially covered by index (#10442) 2019-11-18 15:43:34 +01:00
Markus Pfeiffer bd19f67004 Remove as now unused SingleBlockFetcher (#10416) 2019-11-18 12:53:50 +01:00
Dronplane 31a580da7b Feature/internal issue #654 (#10456)
* Implemented PHRASE

* Added more tests

* Implemented array recursion

* Fixed tests

* Fixed tests

* Minor comments added
2019-11-18 13:53:05 +03:00
Jan Christoph Uhde f58c1f8abb Fix scripts so they can work with python3 (#10276) 2019-11-18 10:33:34 +01:00
Lars Maier ebf3296e9c Backup with view (#10386)
* Commit and store view related data on create backup.
* Fixes to upgrade on env-var.
* Fixed CMakeLists.txt.
* Changes to allow restore from 3.5 to 3.6.
* Remove unnecessary code introduced in merge.
* CHANGELOG:
2019-11-15 17:50:04 +01:00
Iurii Popov caffa6a22e Bug fix/fix late materialization used after sort (#10447)
* Fixed applying late materialization with calc node between sort an limit

* fixed typo

* move micro optimization

* Fixed subqueries error
2019-11-15 17:06:50 +03:00
Andrey Abramov c6fc77858f
Revert "Fixed applying late materialization with calc node between sort an limit (#10439)" (#10446)
This reverts commit e765137c3e.
2019-11-15 12:56:05 +03:00
Dronplane e765137c3e Fixed applying late materialization with calc node between sort an limit (#10439)
* Fixed applying late materialization with calc node between sort an limit

* fixed typo

* move micro optimization
2019-11-15 12:48:55 +03:00
Jan 1476ddbd0d
Bug fix/fix cluster upgrade (#10411) 2019-11-15 10:42:04 +01:00
Jan 298fe7f27c
don't make generation of README rely on html2text & markodwn executables (#10393) 2019-11-14 17:02:02 +01:00
Jan c48747f631
more cppcheck (#10435) 2019-11-14 17:01:27 +01:00
Dronplane a4f2653f4e Feature/internal issue #509 (#10407)
* Added Hint for index creation

* Added tests for proper hint passing

* Added tests

* Added failed link deletion test

* Fixed mmfiles not deleting  failed index

* Fixed cluster run

* Added sync
2019-11-14 18:56:18 +03:00
Andrey Abramov edc8555f17
ArangoSearch index stats (#10421)
* expose ArangoSearch index stats via index figures API

* fix tests

* add tests

* address jslint failures
2019-11-14 18:55:43 +03:00
Simran 00026d9021
Update post_api_export.md 2019-11-14 16:48:32 +01:00
Dronplane fc2ddcb7a3 Fix for issue ported from upstream (#10368) 2019-11-14 18:47:25 +03:00
Jan 5ef3a215ce
added missing option `--server.statistics-history`, which was present in (#10438) 2019-11-14 16:10:44 +01:00
jsteemann 373a7ca0e0 fix description of NetworkFeature options 2019-11-14 13:53:23 +01:00
Jan 2c4f7bb983 Bug fix/dont use indexes in progress (#10432)
* don't return any in-progress indexes

* fix handling of in-progress indexes

* add test

* address review comments
2019-11-14 14:06:42 +03:00
Jan aff5e71b81
rename `lib_libarango_shell` to `libarango_shell`. (#10433) 2019-11-14 12:05:42 +01:00
Jan 50be0caabf
fix issues found by cppcheck (#10434) 2019-11-14 12:04:24 +01:00
Simon d4233599f1 Remove IndexHandle (#10424) 2019-11-14 11:34:57 +01:00
Jan e3117c293b fix invalid assertion (#10429) 2019-11-14 12:45:30 +03:00
Kaveh Vahedipour 41def4abd3 no coordinators left behind (#10422) 2019-11-14 10:18:50 +01:00