1
0
Fork 0
Commit Graph

45798 Commits

Author SHA1 Message Date
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
jsteemann a8ec461b58 fix compile warning in AnalyzerFeature test 2019-11-13 23:32:59 +01:00
Jan fd87abc522
allow using `RANDOM_TOKEN` AQL function with an argument value of `0`. (#10414) 2019-11-13 22:20:00 +01:00
Jan 237a3fcf07
centralize cloning functionality for AstNodes (#10430) 2019-11-13 22:18:38 +01:00
Dan Larkin-York 330c4a63b4 Don't modify a finalized node. (#10419) 2019-11-13 22:16:09 +01:00
Andrey Abramov ff93f45892
Bug fix/internal issue #651 (#10415)
* Bug fix 3.5/internal issue #651 (#10388)

* extract recursive part of IResearchLinkMeta

* avoid saving analyzer definition during link meta initialization

* add tests to check cluster deadlock

* cleanup

* code cleanup

* add moar tests

* mooooaaar checks

* make jslint happy

* backport fix for cluster startup from 3.5.2 branch

* backport changes from 3.5.2

* fix tests

* fix tests

* moar fixes

* refactor analyzer definitions tracking

* add some tests

* extend dump tests

* add tests for replication

* fix tests

* more fixes

* address jslint errors

* address review comments

* address test failures

* reflect changes in changelog

# Conflicts:
#	arangod/IResearch/IResearchAnalyzerFeature.cpp
#	arangod/IResearch/IResearchFilterFactory.cpp
#	arangod/IResearch/IResearchLink.cpp
#	arangod/IResearch/IResearchLinkMeta.cpp
#	tests/IResearch/IResearchAnalyzerFeature-test.cpp
#	tests/IResearch/IResearchDocument-test.cpp
#	tests/IResearch/IResearchFilterBoolean-test.cpp
#	tests/IResearch/IResearchFilterCompare-test.cpp
#	tests/IResearch/IResearchFilterFunction-test.cpp
#	tests/IResearch/IResearchFilterIn-test.cpp
#	tests/IResearch/IResearchLinkHelper-test.cpp
#	tests/IResearch/IResearchLinkMeta-test.cpp
#	tests/IResearch/IResearchView-test.cpp
#	tests/V8Server/v8-analyzers-test.cpp

* fix tests

* fix tests

* Fix tests

* fix replication tests
2019-11-13 19:50:17 +03:00
Jan 848b62a219
show index type in not implemented exception (#10426) 2019-11-13 16:46:33 +01:00
Simon 5f7803e705 Parallel SortingGatherExecutor (#10410) 2019-11-13 10:39:47 +01:00
Wilfried Goesgens 396ceebf0d "run with --log v8=debug" to see the stacktraces of logged error messages (#10373) 2019-11-13 10:24:10 +01:00
Max Neunhöffer b318ca8084
ARANGODB_UPGRADE_DURING_RESTORE env variable. (#10385)
* ARANGODB_UPGRADE_DURING_RESTORE env variable.

If this is set during startup, a database upgrade is performed
and an automatic restart (with the same process ID) is happening.

* Windows compatibility.

* Deactivate code for Windows. Back to unsetenv.
2019-11-13 10:00:48 +01:00
Jan Christoph Uhde 2faa44dac4 add optional exclusive writes to rocksdb engine (#10364) 2019-11-12 19:09:13 +01:00
jsteemann 03d02bab49 attempt to make test more deterministic 2019-11-12 17:10:55 +01:00
Jan d400830814
Feature/parallel aql phase one 2 (#10408) 2019-11-12 15:47:31 +01:00
Simon 0c00feb25b Improve syncer error message (#10403) 2019-11-12 15:30:19 +01:00
Jan Christoph Uhde 7b221e94aa kill AQL query after timeout (#10363) 2019-11-12 14:34:52 +01:00
KVS85 0f3406cfe2
Add internal issue 4597 notice 2019-11-12 13:28:12 +03:00
Jan Christoph Uhde 2365ea419a potential fix for DEVSUP-492 (#10379) 2019-11-12 10:57:00 +01:00
jsteemann b92cbee18c fix error message 2019-11-12 10:46:01 +01:00
Jan 79e145546b
Something about `--agency.supervision-grace-period` (#10395) 2019-11-12 10:43:25 +01:00
Wilfried Goesgens 6d03557a48 fix test, de-graylist (#10382) 2019-11-11 17:27:19 +01:00
Jan 9117a2b14f
fix use-after-free for HTTP 100 Continue case (#10397) 2019-11-11 17:08:13 +01:00
KVS85 211596cfa3
Update CHANGELOG 2019-11-11 17:48:22 +03:00
Markus Pfeiffer 3f51d24266 Bug fix for K_SHORTEST_PATHS (#10389)
* Add a test that reproduces k Shortest Paths bug

* Fix a bug in KShortestPathFinder

The finder was too eager to return a "shortest" path when there was actually
potentially a shorter path still to be discovered

* A little bit of cleanup

* Add missing include

* Address review comment

* Add another missed include
2019-11-11 17:37:58 +03:00
jsteemann 037908c4af fixi fix 2019-11-11 09:47:19 +01:00
jsteemann dae935de6e blind commit to fix compile warning 2019-11-11 09:37:00 +01:00
Jan 98880f3937
clean up a bit (#10391) 2019-11-11 09:28:18 +01:00
Jan 6c814223f5
small fixes (#10380) 2019-11-11 09:28:05 +01:00
Jan Christoph Uhde 484e2971d6 C++17 clean up (#10287) 2019-11-11 08:49:54 +01:00
Jan 90a4db9440
do not materialize huge ranges (#10376) 2019-11-08 19:54:02 +01:00
hkernbach fd33b7f420 Revert "working - not done yet"
This reverts commit aa275b48ff.
2019-11-08 19:25:36 +01:00
hkernbach aa275b48ff working - not done yet 2019-11-08 19:23:59 +01:00
Simon 1dc8a71527 Add sanity check (#10346) 2019-11-08 16:10:59 +01:00
Jan 62e39e80b3
yet another micro-optimization (#10383) 2019-11-08 16:09:52 +01:00
Max Neunhöffer 04cf6b2c41
Repair traffic accounting in statistics. (#10387)
* First stab at porting superuser traffic accounting to devel.
* Remove token forwarding again.
* Fix descriptions of metrics.
* Repair statistics.
* Fix a crash.
* Fix forwarding and permissions.
2019-11-08 15:45:29 +01:00
Max Neunhöffer a754d32231
Remove unneeded upsert of system services to _app. (#10377)
* Remove unneeded upsert of system services to _app.

This never worked in the cluster and is not used in single server.

* CHANGELOG.
2019-11-08 12:54:18 +01:00
Jan f3736b482d
make test work with more than 2 db servers (#10384) 2019-11-07 21:23:38 +01:00
Wilfried Goesgens cd79137fe7 lint 2019-11-07 17:47:11 +01:00
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