1
0
Fork 0
Commit Graph

15173 Commits

Author SHA1 Message Date
Heiko a472758986 Bug fix/fix internal issue 4451 (#10540)
* Fix dump_authentication suite

* user the correct attribute name

* properly reload user permissions after _users collection restore

* fixed foxx restore test

* changelog

* changed the order of index creation during restore for _users collection

* changed interface of forwarding target in general server rest handler

* added remove header function to general request class

* implemented forwardingRequest interface changes

* added method to find collection in vocbase through shard id

* added co perm verification

* Revert "added method to find collection in vocbase through shard id"

This reverts commit af28442c01432224cfe4d777b6134d0f685e38ba.

* added shard to name map to cluster info

* return ResultT in forwarding

* fixed test

* fixed compile issue

* changelog

* Improved changelog formatting.

* Revert "fixed test"

This reverts commit 3f63d94ff099a94e56addcb432bd0fe733d1bcc6.

* Added authentication dump to singleserver and handle admin users.

* restore perms
2019-11-30 02:40:28 +01:00
Markus Pfeiffer eeadc94e0f Add some more checks to health check (#10564) 2019-11-29 17:34:34 +01:00
Simon 6f4ce44716 Rename minReplicationFactor to writeConcern (#10568)
* Rename minReplicationFactor to writeConcern

* fix rest handler

* fix rest handler

* fix some tests

* fix some tests

* modify changelog

* fix suggestions
2019-11-28 20:37:06 +01:00
Heiko 9772f35083 Feature/react webpack testing (#10302)
* init commit

* cleanup of not needed css

* todo

* jquery ui 192 cusotm not needed anymore

* leaflet

* test files, remove after complete trasnfer to webpack

* more changes, see react/TODO.md for details

* webpack dev config

* added content of build direcotry, please remmeber TODO.md - this needs a total refactor

* html react

* added needed images, also refactor is here needed

* aardvark question

* temp commented out shard distribution, changed app

* gitignore aardvark + react

* src ace - why? donw know

* renamed ejs files to html

* rm not needed files

* new pure versions

* fix aardvark for react

* more fixes, still sigma js wheel nav svg icons not wokring

* grunt cleanup, more removals to come

* new manifest

* fix ace

* rm not needed files

* working version with first react native component

* Added missing typescript types

* Formatting

* rm unused views

* better check of variable

* pre-compiled ejs templates, fixing tippy tooltips, fixing sigma js

* not needed ,

* hg ignore

* tippy js module

* precompile, do not longer require file per file

* added build env file

* added devel env file

* load env files for devel and build environemnts

* load config js properly

* executable again, needs future fix

* load host via env file

* arnagojs host detection regarding dev or build mode

* task repeater rise to 10s interval instead of 1s

* rm old app js version

* rm old extra css

* rm old templates

* rm libs js

* more cleanup, remove old index html

* rm old style css

* rm old style minified css

* adjust new `make frontend` command to new react build structure

* rm not needed css

* todo

* hljs instead of jquery.snippet.min.js

* updated todo

* updated noty version. changed internal apis to fit new noty version

* rm old node package json, rm old grunt file, those will not be used anymore

* updated todo

* rm not needed files

* updated todo

* updated todo

* do not use crazy global vars

* updated todo

* updated todo

* rm compress img folder, moved compressed to img, adjusted manifest

* add replc scss

* remove old build folder

* not needed anymore

* adjusted gitignore file

* adjusted release.sh script

* adjusted release.sh script

* adjusted readme maintainers

* updated todo

* png instead of svg, cleanup not needed files, proper version login img

* up
dated todo

* updated todo

* remove console log

* cluster task only in cluster

* adjusted readme maintainers

* updated todo

* remove the cool web ui name 😢

* clean up, finalization

* added missing assets

* added package lock

* added build - needs to discussion if we want to check that in or not

* use old shard view for now until react view is finalized

* react build

* updated maintainers

* Update js/apps/system/_admin/aardvark/APP/manifest.json

Co-Authored-By: Michael Hackstein <michael@arangodb.com>

* changed manifest

* rm todo file

* updated react manifest

* rm react logo

* reverted port changes

* Fixed img folder

* Merged with devel, solved hidden merge conflicts. Also added react/build to git ignore.

* updated uploadfile library

* require sort order

* cleanup, correct name + version

* rm hgignore file

* re-added commented out noty functions

* removed duplicate

* removed duplicate

* noty

* added automatic proxy setup

* readme maintainers

* jslint

* manifest

* more requires then imports

* do not use index.html, but instead use an arangodb logo to check for non json output

* updated webpack-dev-server

* updated jest

* fixed removal of logger view

* updated babel jest

* Fix .env.build path

* Update .gitignore to include build

* Add compiled UI

* Fix UI for packages

* Fix cmake

* Update CHANGELOG
2019-11-28 18:26:04 +01: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
Heiko 6080649ac7 fixing issue #10470 (#10491)
* fixing issue #10470

* changelog

* changelog
2019-11-21 11:15:42 +01:00
jsteemann c555cba6f5 add generated front end files in order to allow collection creation 2019-11-21 11:04:52 +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 937334d49b remove rest route db properties (#10462) 2019-11-20 16:01:50 +01:00
Jan 932f8b5874
undistribute a few more queries (#10459) 2019-11-20 08:21:44 +01:00
Kaveh Vahedipour 41def4abd3 no coordinators left behind (#10422) 2019-11-14 10:18:50 +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
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
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 2309633a44
truncate displayed collection names in web UI at 64 chars (#10362) 2019-11-05 20:41:32 +01:00
Simon Grätzer 867233b293
remove debug logs 2019-11-05 13:39:36 +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 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
Wilfried Goesgens da88e49448 fix custom contenttype handling, set upload contenttype (#10318) 2019-10-28 17:36:36 +01:00
Michael Hackstein 92032daa02 Round index estimates when comparing plan, we do not really care for exact equallity, they should only not be off by much (#10312) 2019-10-24 17:01:55 +02:00
jsteemann b2f6fb105c added "parallel" output to explainer 2019-10-22 16:05:12 +02:00
Michael Hackstein bf2423d024
Feature/explain spliced subqueries (#10298)
* Implemented explain output for Subquery start and End nodes. Unfortunately i had to inject a temporary output variable for the Subquery start.
2019-10-22 15:38:33 +02:00
KVS85 4413ba5c2e Revert "Feature/react webpack testing (#8712)"
This reverts commit 1fc7f67822.
2019-10-22 15:14:20 +02:00
Heiko 1fc7f67822 Feature/react webpack testing (#8712)
We now use web pack to build the UI.
Makes things easier to develop.
Also we now have the option to use react.
2019-10-22 12:34:43 +02:00
Jan 19fad3f0df
fix error message (#10281) 2019-10-22 09:38:40 +02:00
Jan 525b8f7a45
don't show "NaN" in web interface for cluster RAM usage (#10283) 2019-10-21 09:36:13 +02:00
Wilfried Goesgens c8a2b554c6 Fix testresult (#10262) 2019-10-17 08:42:08 +02:00
Heiko 4fa7b43595 Bug fix/eslint proper settings (#10251)
* several eslint settings

* cherry

* sort order
2019-10-14 17:11:39 +02:00
Wilfried Goesgens 5ebd0d1964 add the ability to force the traffic from/to the server to be json, for better sniffeability (#10239) 2019-10-14 16:54:16 +02:00
Wilfried Goesgens 9883518621 when changing between leader and follower re-attempt connecting to circumvent OS resource shortages (#10243) 2019-10-14 11:54:37 +03:00
Wilfried Goesgens 8ee56185b7 add option to talk to the SUT using VST (#10217) 2019-10-10 16:39:28 +02:00
Heiko 616f01bcbe fixed ui behaviour when replacing a foxx app (#9719)
* fixed ui behaviour when replacing a foxx app
2019-10-10 14:29:00 +02:00
Alan Plum b836463782 [devel] Fix document search (Ctrl+F/Cmd+F) (#10216)
* Quickfix: map ace searchbox ext path to file

* Add to CHANGELOG
2019-10-10 14:25:21 +02:00
Jan 79c3187036
fixed issue #10193 (#10195) 2019-10-09 10:54:40 +02:00
Dronplane a1014ac701 Bug fix/internal issue #600 - Late document materialization (#10006)
* Applied review cAdded sceleton optimizer functionomments

* Added mask for rule

* Applied review cAdded sceleton optimizer functionomments

* Added mask for rule

* adding plan traversal for rule

* Rule execution block developing

* Experiment with additional block

* LIMIT node modifications

* implemented late materialization base version.

* Code cleanup

* Added check for variable usage

* Implemented serialization and cloning

* Fixed build errors

* Implemented late materialization for  LimitNode

* Moved materialization to Sort Node

* Removed LimitNode modiications

* Implemented skipRows to speedup single server

* Added tests for optimizer rule

* fixed build

* Fix mac build

* Fixed mac build

* Fixed PR test run errors

* Added tmp fix for cluster test runs

* removed debug print

* Make materialization stick to last sort node. Add late materialization to explainer

* Updated optimization rule to search optimal SortNode to do materialization

* Refined optimization rules for cluster

* Added tests for SortExecutor and IResearchViewNode

* Fixed  mac buid. Removed misplaced assertion.

* Fixed build

* Updated tests. Coded cleanup

* Code cleanup

* made function name for SortedExecutor match name in ConstraintSortedExecutor

* cleanup

* Fixed test run

* made scoring results stable across cluster

* Make optimize rule stop if  sort node for limit node is not suitable

* Disabled constrained sort for materializing SortNode

* reverted SortNode modifications

* Implemented separate materializer node

* Fixed tests  to account new materialize node

* Code cleanup

* reverted debugging change

* Fixed test jslint error  and comments

* MaterializeNode renamed

* enum value renamed for materialize node

* Code cleanup

* code cleanup and optimization

* Fixed clang warning

* Applied review comments

* Out variable planning moved to materialize node

* inlined getters in ReadContex
2019-10-08 18:38:47 +03:00
Wilfried Goesgens 6f289d03ce Bug fix/result evaluation test counting (#10176) 2019-10-08 11:14:08 +02:00
jsteemann 98614321ee Merge branch 'feature/one-shard-testing' of github.com:arangodb/arangodb into devel 2019-10-07 15:35:51 +02:00
Jan 21b0311d57
rename minReplicationFactor to writeConcern (#10118) 2019-10-07 15:12:15 +02:00
Jan 6f14048bbe
implement early pruning of documents in EnumerateCollectionExecutor (#10159) 2019-10-05 13:38:23 +02:00
jsteemann 662293c877 show shards of system collections in web UI too 2019-10-03 00:37:36 +02:00
Wilfried Goesgens 823640e8f7 Feature/testing result evaluation (#10124) 2019-10-02 17:49:32 +02:00
Kaveh Vahedipour dc6dba27a2 add repository address normalisation (#10113)
* add repository address normalisation
2019-10-02 11:38:38 +02:00
Jan c3423c7db0
Bug fix/disallow sharding on rev (#10123) 2019-10-01 19:42:55 +02:00
Wilfried Goesgens 636b2e5d5f fixed version of arangosh result evaluation refactoring - properly count objects (#10080) 2019-09-26 12:07:52 +02:00
Dan Larkin-York a83c2323c9 Refactor ApplicationServer stack (#9965) 2019-09-25 17:31:59 +02:00
Jan 4f2e1d4054
fixed issue #10062: AQL: Could not extract custom attribute (#10068) 2019-09-24 14:36:53 +02:00
Jan Christoph Uhde 0b8c75c7b7 one shard db - devel (#9395) 2019-09-23 15:48:37 +02:00