1
0
Fork 0
Commit Graph

45500 Commits

Author SHA1 Message Date
Wilfried Goesgens 1a2570d826 TrackFileAccess disabled in gyp 2019-10-02 11:51:39 +02:00
Wilfried Goesgens 7855d3d1e0 use vs 2017 2019-10-02 11:39:23 +02:00
Wilfried Goesgens 45f3167e9e jslint 2019-10-02 10:46:11 +02:00
Wilfried Goesgens 000e30325f Merge branch 'devel' of github.com:arangodb/ArangoDB into feature/testing-result-evaluation 2019-10-02 10:44:04 +02:00
Michael Hackstein ccb2a3c62e Fixed invalid log ids 2019-10-02 10:26:38 +02:00
Markus Pfeiffer fc634a2fa0 Replace template <bool blockPassthrough> (#10127)
* Replace template <bool blockPassthrough>

by template <BlockPassthrough blockPassthrough> where BlockPassthrough is an
enum class.

This is mainly for better readability and for some type safety.

* Fixup some implicit conversions to bool
2019-10-02 09:47:09 +02:00
Jan c28f571b65
use malloc/realloc/free (#10119) 2019-10-01 19:47:02 +02:00
Jan c3423c7db0
Bug fix/disallow sharding on rev (#10123) 2019-10-01 19:42:55 +02:00
Jan 9898606223 fix logIds (#10135) 2019-10-01 20:19:38 +03:00
Wilfried Goesgens 4166a2d665 Merge branch 'devel' of github.com:arangodb/ArangoDB into feature/testing-result-evaluation 2019-10-01 18:58:13 +02:00
Dan Larkin-York c0f63856c2 Fix Windows compile error from network namespace. (#10133) 2019-10-01 18:47:00 +02:00
Wilfried Goesgens 2b743e0e61 Bug fix/speedup tests (#10109) 2019-10-01 18:23:00 +02:00
Wilfried Goesgens 7aed61dcc8 Merge branch 'bug-fix/speedup-tests' of github.com:arangodb/ArangoDB into feature/testing-result-evaluation 2019-10-01 17:16:07 +02:00
Wilfried Goesgens 8cd175b7b6 remember error messages in setUpAll for the final testresults 2019-10-01 17:15:43 +02:00
Wilfried Goesgens fd4496afb8 Merge branch 'devel' of github.com:arangodb/ArangoDB into bug-fix/speedup-tests 2019-10-01 16:28:13 +02:00
Wilfried Goesgens fc96de0f9e fix index handling 2019-10-01 16:22:02 +02:00
Kaveh Vahedipour a0be102d2c unitended multiple unlocks (#10114) 2019-10-01 16:21:44 +02:00
Max Neunhöffer 9b3f911cb5
Use execvp instead of execv and handle error. (#10102)
* Use execvp instead of execv and handle error.
* CHANGELOG.
2019-10-01 16:19:47 +02:00
Max Neunhöffer fb8bc4bc31
Fix a subtle special case of the shutdown hanger. (#10120)
* Another shutdown problem with CollectionKeysRepository.
2019-10-01 16:11:33 +02:00
Wilfried Goesgens c15083b77c remove unused variable as spotted by @danielhlarkin 2019-10-01 15:50:28 +02:00
Wilfried Goesgens d96622688f as sugested by @danielhlarkin - make state of idx more clear, add missing drop 2019-10-01 15:45:07 +02:00
Wilfried Goesgens 3660f374e6
Update tests/js/server/aql/aql-optimizer-indexes.js
Co-Authored-By: Dan Larkin-York <danielhlarkin@users.noreply.github.com>
2019-10-01 15:38:34 +02:00
Wilfried Goesgens 93758cec89
Update tests/js/server/aql/aql-optimizer-indexes.js
Co-Authored-By: Dan Larkin-York <danielhlarkin@users.noreply.github.com>
2019-10-01 15:38:24 +02:00
Wilfried Goesgens ef2fdff083
Update tests/js/server/aql/aql-optimizer-indexes.js
Co-Authored-By: Dan Larkin-York <danielhlarkin@users.noreply.github.com>
2019-10-01 15:38:04 +02:00
Wilfried Goesgens 5a5a438814
Update tests/js/server/aql/aql-optimizer-indexes-multi.js
Co-Authored-By: Dan Larkin-York <danielhlarkin@users.noreply.github.com>
2019-10-01 15:37:56 +02:00
Wilfried Goesgens 0bd24e9247
Update tests/js/server/aql/aql-optimizer-indexes-multi.js
Co-Authored-By: Dan Larkin-York <danielhlarkin@users.noreply.github.com>
2019-10-01 15:37:50 +02:00
Wilfried Goesgens 750411e632
Update tests/js/server/aql/aql-optimizer-indexes.js
Co-Authored-By: Dan Larkin-York <danielhlarkin@users.noreply.github.com>
2019-10-01 15:37:41 +02:00
Wilfried Goesgens dcd79d0ee4
Update tests/js/server/aql/aql-optimizer-indexes.js
Co-Authored-By: Dan Larkin-York <danielhlarkin@users.noreply.github.com>
2019-10-01 15:37:05 +02:00
Wilfried Goesgens d124fc12d1
Update tests/js/server/aql/aql-optimizer-indexes.js
Co-Authored-By: Dan Larkin-York <danielhlarkin@users.noreply.github.com>
2019-10-01 15:36:56 +02:00
Wilfried Goesgens fd8d0eb9d2
Update tests/js/server/aql/aql-optimizer-indexes.js
Co-Authored-By: Dan Larkin-York <danielhlarkin@users.noreply.github.com>
2019-10-01 15:36:34 +02:00
Wilfried Goesgens d1b00a7fd6
Update tests/js/server/aql/aql-gather-block-cluster.js
Co-Authored-By: Dan Larkin-York <danielhlarkin@users.noreply.github.com>
2019-10-01 15:36:19 +02:00
Max Neunhöffer ca9affc798
Add backup sizes. (#10104)
* Single server backup size in META and create.
* More size info in backup.
* Finish size and nrfiles for create and list.
* Add nrDBServers and potentiallyInconsistent to BackupMeta.
* Fix API documentation.
* Make Windows compiler happier.
* One more fix for Windows.
* Added creation date.
2019-10-01 13:31:17 +02:00
Wilfried Goesgens e2db98211f Merge branch 'bug-fix/speedup-tests' of github.com:arangodb/ArangoDB into feature/testing-result-evaluation 2019-10-01 11:52:22 +02:00
Wilfried Goesgens 9c86797746 Merge branch 'devel' of github.com:arangodb/ArangoDB into bug-fix/speedup-tests 2019-10-01 11:32:45 +02:00
Wilfried Goesgens d53c5b165e Bulk 2019-10-01 11:19:55 +02:00
Wilfried Goesgens b9c673fc94 execute the operations in setUpAll that we only need once 2019-10-01 11:19:40 +02:00
Simon 9040f1d18a Fuerte + Pregel + Agency = 🥑 (#10110) 2019-10-01 11:19:18 +02:00
Wilfried Goesgens 6fa0889a00 Merge branch 'bug-fix/speedup-tests' of github.com:arangodb/ArangoDB into feature/testing-result-evaluation 2019-09-30 18:30:42 +02:00
Wilfried Goesgens 2464006f7d Merge branch 'devel' of github.com:arangodb/ArangoDB into bug-fix/speedup-tests 2019-09-30 18:30:26 +02:00
Wilfried Goesgens c2da801604 use bulk 2019-09-30 18:28:47 +02:00
Wilfried Goesgens db03c54f6c use setupAll 2019-09-30 17:13:41 +02:00
Michael Hackstein c6af396188 Make SubqueryEndExecutor compile again on all platforms again 2019-09-30 17:11:05 +02:00
Jan 1d84dd861d
use setUpAll and tearDownAll to reduce test durations (#10107) 2019-09-30 17:05:20 +02:00
Wilfried Goesgens 0138d6abbb use bulk inserts 2019-09-30 16:49:14 +02:00
Wilfried Goesgens 511de338b0 lint 2019-09-30 16:49:01 +02:00
Wilfried Goesgens c880d66f8b add new collection that tests may modify, use bulk inserts, setupall 2019-09-30 16:48:44 +02:00
Wilfried Goesgens 831be7e906 setUpAll, bulk 2019-09-30 15:30:07 +02:00
Wilfried Goesgens f7d25e4fcd setupall, bulk, automated index deletion 2019-09-30 15:24:43 +02:00
Markus Pfeiffer 32884568cb Feature/subquery end node executor (#10087)
* Add Start/End subquery node skeleton

* Added a test query that triggers complex interna in the future and needs to proof that our work is side-effect free.

* Added first draft of ShadowRow Interface

* Refactored RegisterPlan and pulled it out of the ExecutionNode

* AqlItemBlock now has an additional hidden register to store subquery depth infromation. Right now no shadow rows are created, however thy could now make use of this situation

* Added API and test to insert new shadow rows into an OutputRow.

* Extrated test helper function

* Add template function to statically assert size of type

* Add Start/End subquery node skeleton

* Add Start/End subquery node creation to ExecutionNode

* Cleanup SubqueryEndNode

* Add test file

* Add isEqualTo to ExecutionNode

* Subquery nodes cleanup

* Update ExecutionNode tests

* Added API and tests to consume ShadowRows. Interface is there and compiles with templates, we might need to implement further underlying functions later on as we make progress on ShadowRows, it is only implemented in the minimal way (intentionally)

* Updates to testing code

* Added a test for nested ShadowRows and adapted OutputRow accordingly.

* More updates

* Add optimizer rule

* Fix optimizer rule

* Added additional memory include, seems to be required under GCC not udner CLANG

* it actually helps to save fies before commiting them...

* Fix optimizer rule (again)

* Fixed serialization/Deserialization of AqlItemBlock to contain the hidden subquery register now

* Added a c++ test for AqlItemBlock. It just covers the basics thus far and needs to be improved.

* Fixed toVPack of AqlInputRow for subqueries. Also added serialization / deserialization tests for AqlItemRow

* Added a c++ test for inputAqlItem row serialization => AqlItemBlock deserialization

* Add a public function to get plan from query

* Fix register planning

* Add test for splicing subquery nodes

* add static asserts for sizes of SubqueryStartNode and SubqueryEndNode

* Add comment about statically asserted size

* Fix isEqualTo virtual and override dance.

* Attempt to fix :windows: compile warning

* Fix isEqualTo, remove static_assert_size

* Remove a TODO; the plan owns the ExecutionNodes

* Only add stealPlan to Query when testing

* Remove another static_assert_size

* Fixed mac compile issues

* Added a serialization format to be backwards compatible to 3.5 whenever AQL item blocks need to be send over to remote nodes.

* Handle ShadowAqlItemRow in SingleRowFetcher

* Move some code from header to cpp

* Added more tests for serialization of shadow rows, and fixed a bug revealed by this

* Apply suggestions from code review

Thank you for review!

Co-Authored-By: Tobias Gödderz <tobias@arangodb.com>

* Review comments. Thanks for spotting

* Fixed hidden merge conflicts

* Removed unused variable

* Added first test on ShadowRows in SingleRowFetcher. Found inconvenience in original code with it.

* Added a test for multi level shadow rows

* Added a test and fixed production for multiple consecutirve shadow rows.

* Added tests for pass through blocks and shadow rows

* Attempt to explain windows on how one can actually cast numbers into other number types...

* Add SubqueryEndExecutor

* Adapted RowFetcherHelper to be able to work on ShadowRows

* Fixed minor error in RowFetcherHelper that causes LIMIT tests to error

* Temporarily disabled test suites (sorry there is only one 'test case' in this suites that does all or nothing tests ...) as it tests a feature we cannot support in this intermediate state, we need to default disable our new rule first.

* IMplemented missing function to copy over SubqueryDepth between blocks

* Seperated assert, to see faster which part is violated

* Update arangod/Aql/AqlItemBlockSerializationFormat.h

Co-Authored-By: Tobias Gödderz <tobias@arangodb.com>

* Disabled subquery splice rule by default

* Forgotten merge marker

* temporarily modified test

* Some Subquery End Executor work

* Fix RowFetcherHelper to work with ShadowRows

* Add tests for SubqueryEndExecutor

* Rewrite SubqueryEndExecutor

* Update test

* Add createBlock code for SubqueryEndExecutionNode

* Some fixups adding ExecutionBlockImpl for SubqueryEndExecutor

* Fix SubqueryEndExecutor

* Update SubqueryEndExecutorTest

* Update endexecutor test

* Fix the endnode executor once more

* Fix some merge fallout

* Update test

* Add missing advanceRow to SubqueryEndExecutor

* SubqueryEndExecutor Tests

* Activate a death test

* Better handling of death test

* RowFetcherTest refactoring Part 1, still ongoing. We use this for AqlItemMatrix and SingleRowFetcher

* Update and cleanup the SubqueryEndExecutor tests

* Check that expected shadow row depths are met

* Remove commented out code in AqlItemBlock.cpp

* Remove a misplaced comment

* Sort out SubqueryEndExecutor includes

* Remove superflous include

* Consistently use NoStats{} in SubqueryEndExecutor

* Make SubqueryEndExecutor properties constexpr

* Reactivate IResearchTests

* Do not copy the accumulator in SubqueryEndNode

* Return a more sensible value for expectedNumberOfRows of SubqueryEndNodeExecutor

* Constify an argument

* Fix ownership problems with the buffer for _accumulator

* Cleanup SubqueryEndExecutor tests

Also add a test that writes to a register other than 0

* Patch RowFetcherHelper to count the number of Items returned instead of number
of calls

* Make MSVC happy
2019-09-30 15:24:13 +02:00
Wilfried Goesgens 9dab8b351b bulk, setUpAll 2019-09-30 15:13:41 +02:00