1
0
Fork 0
Commit Graph

45786 Commits

Author SHA1 Message Date
Iurii Popov 26309c5c96 Feature/issue #642 (#10352)
* Index late materialization draft

* Index late materialization. Refactoring.

* Index late materialization. Expansion draft.

* HashIndexMock

* Refactoring.

* Hash index mock expansion fixes

* Fix compare of attributes.

* Hash index mock. Last expansion support.

* Hash index mock. Take value for array from document, not equal key.

* Optimizations.

* Query tests

* lateMaterialized improvements

* velocypack fixes and tests for index node

* Fix after merge.

* Const expression in a condition test

* Clone tests

* More tests

* Fix for materialized view (nullptr var)

* Fixed index vars registers count planning

* javascript tests

* Fixed cluster tests

* Cluster support

* MaterializeExecutor and MaterializerExecutorInfos refactoring

* More tests

* js tests rocksdb only

* js test. Removed print()

* js testd added skiplist

* C++ unit tests for invalid json

* js test var i

* js tests == -> ===

* iFix js tests ===

* jslint ;

* int unsigned int fix

* double deletion fix

* refactoring

* Added const for collection source

* override final, added materialize namespace, fixed femove in hash index mock

* Removed expansion support. Index can contain null value in case of several object with same fields

* isNumber<>

* Optimization for single collection case

* Renaming

* refactoring

* Unit tests. Added checking documents

* !sliceIt.valid() instead of !(!=)

* Fix primary index (object instead of array)

* Edge collection test

* Windows compilation fix

* IndexExecutor getCallback optimization

* ADB_UNLIKELY

* explainer.js

* removed unsused variable in js test

* fix explainer.js

* do not use several indexes with js test

* Removed several indexes implementation

* space

* fix explainer.js

* fix explainer.js

* code alignment
2019-11-07 19:16:33 +03:00
Wilfried Goesgens b6a400aec1 Bug fix/foxx vst (#10349) 2019-11-07 16:34:02 +01:00
Markus Pfeiffer 972e0b2ce0 Rewrite ModificationExecutor (#10221) 2019-11-07 14:48:26 +01:00
jsteemann c75ad7c1ee fix test 2019-11-07 01:18:54 +01:00
Simon Grätzer 7db974a392
make test more reliable 2019-11-06 22:27:03 +01:00
jsteemann 2fbeba9191 fix tests 2019-11-06 19:03:42 +01:00
Simon Grätzer 359723add4
return has more 2019-11-06 18:26:02 +01:00
Simon Grätzer cebf0fbb1a
change algorithm a bit 2019-11-06 14:56:37 +01:00
Simon Grätzer ce539002e1
Merge branch 'devel' of github.com:arangodb/arangodb into feature/parallel-aql-phase-one 2019-11-06 12:09:45 +01:00
Jan 3bafcf2556
try to improve query shutdown in case DB server(s) can't be reached (#10359) 2019-11-05 20:41:51 +01:00
Jan 2309633a44
truncate displayed collection names in web UI at 64 chars (#10362) 2019-11-05 20:41:32 +01:00
Max Neunhöffer b58cd6e91b
Fix immediate shutdown after a startup failure. (#10366)
* Add missing dependencies to IResearchAnalyzerFeature
* First all features beginShutdown, then stop.

   This is for the case of immediate shutdown if the startup did not work.
2019-11-05 16:52:39 +01:00
Simon Grätzer eab9e0c5ab
missing atomic 2019-11-05 16:33:39 +01:00
Simon Grätzer 48169b5af0
next try 2019-11-05 16:26:59 +01:00
Simon Grätzer 36cc2dc6c6
fix shared query state 2019-11-05 15:56:24 +01:00
Simon Grätzer 39f7a34c4a
remove logging 2019-11-05 14:06:02 +01:00
Simon Grätzer 867233b293
remove debug logs 2019-11-05 13:39:36 +01:00
jsteemann 218bba8d7c fix duplicate entry 2019-11-05 13:27:05 +01:00
Simon Grätzer c8c17b0e84
fix a bug SharedQueryState 2019-11-05 11:57:11 +01:00
Simon Grätzer d27249634b
some small changes 2019-11-05 00:34:15 +01:00
Jan 1a9ebff60a
always create `_analyzers` collection if missing (#10357) 2019-11-04 22:59:46 +01:00
Jan 6fa2f2abc1
added an assert (#10358) 2019-11-04 22:52:45 +01:00
Lars Maier a7ec369d0b Fix thrown exception when doing auto upgrade. (#10345) 2019-11-04 15:56:10 +01:00
Simon Grätzer a678ee124c
add latch 2019-11-04 15:47:56 +01:00
Jan 7c5c1dd6cc
@neunhoef (#10335) 2019-11-04 11:31:09 +01:00
Jan 611b4547f4
make arangosh automatically reconnect if the server closes the (#10353) 2019-11-04 09:03:04 +01:00
Simon Grätzer b533f38a41
Merge branch 'devel' of github.com:arangodb/arangodb into feature/parallel-aql-phase-one 2019-11-01 21:39:04 +01:00
Simon Grätzer ad7be71095
fix the shit 2019-11-01 15:22:22 +01:00
jsteemann 0394f58dce fix undefined behavior 2019-10-31 17:16:04 +01:00
Simon Grätzer 8b946fc804
forgot to reset in flight flag 2019-10-31 15:45:44 +01:00
Simon Grätzer 43b7882d4b
forgot a conflict 2019-10-31 14:48:46 +01:00
Simon Grätzer b0a2e207c1
Merge branch 'devel' of github.com:arangodb/arangodb into feature/parallel-aql-phase-one 2019-10-31 14:40:28 +01:00
Lars Maier a2d6f78330 Devel port of backup fixes 2. (#10246) 2019-10-30 18:18:36 +01:00
jsteemann 2afe8910bf un-greylist traverser test 2019-10-30 18:16:17 +01:00
Simon 4ed945a04b Improve Connection pool robustness (#10268) 2019-10-30 17:30:50 +01:00
Tobias Gödderz 6a3f50fb88 Enable AQL subquery optimization (only on getSome) (#10267)
Activate the Subquery Optimization rule in getSome only cases
2019-10-30 17:10:01 +01:00
Jan f949b175b2
vale, vamos a ver! (#10337) 2019-10-30 16:04:55 +01:00
Jan Christoph Uhde 6282e16616 smart join views (#10309) 2019-10-30 14:17:58 +01:00
Tobias Gödderz c1968aa031 Added overload template (#10313)
* Added Basics/overload.h

* Added a few simple tests for overload{}
2019-10-30 14:00:01 +01:00
jsteemann 9f9b35d685 added assertions 2019-10-30 13:51:26 +01:00
jsteemann a9a078a22f fix more tests 2019-10-30 13:02:00 +01:00
jsteemann 791c926327 make "parallelize-gather" an optimizer rule, so it can be turned off 2019-10-30 11:54:28 +01:00
jsteemann 407d9dcd49 fix more tests 2019-10-30 11:54:19 +01:00
jsteemann d48fff70f2 fix some tests, and remove legacy API response 2019-10-29 20:36:06 +01:00
jsteemann 125dcfffa9 Merge branch 'devel' of github.com:arangodb/arangodb into feature/parallel-aql-phase-one 2019-10-29 13:10:12 +01:00
Simon Grätzer 5e0321900e
Merge branch 'feature/parallel-aql-phase-one' of github.com:arangodb/arangodb into feature/parallel-aql-phase-one 2019-10-29 11:47:13 +01:00
Simon Grätzer aef6b87521
Merge branch 'devel' of github.com:arangodb/arangodb into feature/parallel-aql-phase-one 2019-10-29 11:46:52 +01:00
jsteemann d1b4cfc9ef Merge branch 'devel' of github.com:arangodb/arangodb into devel 2019-10-29 10:44:41 +01:00
jsteemann 203333bfe4 more debug infos 2019-10-29 10:43:48 +01:00
Andrey Abramov 7541b4d5e6
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
2019-10-29 12:09:04 +03:00