1
0
Fork 0
Commit Graph

14245 Commits

Author SHA1 Message Date
jsteemann 3cb46f6ca0 fix jslint 2018-04-10 17:35:52 +02:00
Michael Hackstein 5decb66d01
fix dump&restore of smart graphs (#5065)
* Added tests for dump-restore of SmartGraphs

* Arangosh will now expose isSmart and the smartGraphAttribute on properties

* RestReplicationHandler will now ignore smart-graph collections unless you execute it with force

* Added changelog

* Reactivated original mmfiles dump/restore test

* Skip hidden smart graph collections in arangodump

* Do not dump shadowCollections metadata of smart edge collections

* Cluster optimizer rules for soerted gather nodes now handle virtual edge collections correctly

* Added a dump/restore tests for smartgraphs in rocksdb as well

* Deactivated checks for writesExecuted statistics in dump/restore tests for smartgraphs mmfiles

* Really exclude shadowCollections

* Reduced loglevel

* Added tests

* Don't change single-server behaviour

* Fix tests for omitted shadowCollections and hidden collections

* Activated statistics in MMFIles dump test again and included isEnterprise in rocksdb dump test

* A modification node can now disableStatistics, which means it does not contribute to query->extras() this is only relevant in SmartGraph case so far.

* Added a test to dump&restore satellite collections

* Bugfix: restore satellite collections properly

* Added regression test for internal issue #2237

* Fix bug #2237

* Updated CHANGELOG

* Copied dump/restore tests to rockdsb

* Removed enterprise test

* Added inline comment for smart-edge collections in optimizer rules

* Removed duplicate CHANGELOG entry

* Simplified removal of shadowCollections
2018-04-10 17:21:03 +02:00
jsteemann d452a224df release version 3.3.6.1 2018-04-07 00:44:29 +02:00
jsteemann b11634338e release version 3.3.6.1 2018-04-07 00:38:52 +02:00
jsteemann 18e4109f15 release version 3.3.6.1 2018-04-07 00:30:24 +02:00
Jan 2a97de317e
fix restrict-to-single-shard rule (#5050)
* fix restrict-to-single-shard rule

* added tests for specific cases
2018-04-06 14:30:08 +02:00
Jan ae0b99de63
added ArangoShell helper function for packaging all information about an AQL query so it can be run and analyzed elsewhere: (#5010)
query = "FOR doc IN @@collection FILTER doc.value > @value RETURN doc";
    bind = { value: 42, "@collection": "mycollection" };
    options = { examples: 10, anonymize: true };
    require("@arangodb/aql/explainer").debugDump("/tmp/query-debug-info", query, bind, options);

Entitled users can send the generated file to the ArangoDB support to facilitate
reproduction and debugging.

The data from the generated file can be restored and analyzed via the *inspectDump*
function:

    require("@arangodb/aql/explainer").inspectDump("/tmp/query-debug-info");
2018-04-05 14:06:51 +02:00
jsteemann 3f737e7648 attempt to fix non-deterministic test 2018-03-28 14:44:22 +02:00
Max Neunhöffer 3a7efc772c
Fix replication test w.r.t. indexes comparison. (#4978) (#4980) 2018-03-28 10:58:38 +02:00
Michael Hackstein d56fe45358
Windows should now use rspec.bat by default. No stunts with handed in ruby and rspec foo required but still possible. (#4943) 2018-03-26 10:10:56 +02:00
Jan c6eef6da7e
fixed issue #4934: Wrong used GeoIndex depending on FILTER order (#4947) 2018-03-26 09:43:31 +02:00
jsteemann 2f46033ff6 adjust index selection slightly 2018-03-24 22:27:28 +01:00
jsteemann fc95df2479 move projection optimizer rule to end of the optimization pipeline, because it otherwise may prevent further optimizations 2018-03-24 20:54:32 +01:00
jsteemann 1b2b5edea8 release version 3.3.5 2018-03-23 16:39:01 +01:00
Jan 50fef0f430
multiple cluster-related AQL optimizations (#4928)
* multiple cluster-related AQL optimizations

* do not apply single-shard optimization if _includedShards is already set from the outside

* implement changes requested by @mchacki
2018-03-23 14:52:58 +01:00
Jan 5e795da259
Feature 3.3/optimize cluster collect (#4895) 2018-03-22 18:36:15 +01:00
Jan 784c2ec085
fixed issue #4900 (#4918) 2018-03-22 18:27:31 +01:00
Max Neunhöffer 3e7425a392 More logging and increase timeout. (#4858) 2018-03-15 13:29:59 +01:00
Jan 58294a2c66
fixed issue #4843: Query-Result has more Docs than the Collection itself (#4854) 2018-03-15 10:52:50 +01:00
Jan 8749957de0 remove useless flush from test, bump wal flush default timeouts (#4846) 2018-03-14 22:00:03 +01:00
Jan 021794e4d2
fixed issue #4827: COLLECT on edge _to field doesn't group distinct values as expected (#4829) 2018-03-13 14:26:26 +01:00
Heiko c79c50e4e1 fixed wrong detection of file types (#4771) 2018-03-07 11:03:46 +01:00
jsteemann 36841feac3 release version 3.3.4 2018-03-06 16:24:52 +01:00
Michael Hackstein 411dc7ecf3 Fixed false http error codes in timeout case. Also reactivated retry in error case. (#4760) 2018-03-06 13:22:15 +01:00
Heiko 4ff33c0ee2 fixed wrong behaviour when updatating foxx repository was not successful (#4762) 2018-03-06 12:02:26 +01:00
jsteemann 7cc78dc0cd release version 3.3.4 2018-03-01 19:34:19 +01:00
Jan fa83a932ee
fix `fullCount` value in some cases in cluster mode (#4722) 2018-03-01 18:33:18 +01:00
Jan f3659947f4
Bug fix 3.3/fix ui (#4730)
* fix UI in non-authenticated mode

* added generated files
2018-03-01 18:06:58 +01:00
Max Neunhöffer 897e31657d
Fix agency test startup. (#4643) 2018-03-01 16:45:47 +01:00
Jan 8c1eccff33 fixed issue #4651 (#4660) 2018-03-01 16:44:05 +01:00
Frank Celler 59f655faf0 fixed compiler warnings and added missing call to arangosh 2018-03-01 12:17:47 +01:00
jsteemann 608c23e69d release version 3.3.4 2018-02-28 18:29:50 +01:00
Heiko 5ed2c3cb97 Bug fix 3.3/issue 4657 (#4707) 2018-02-28 17:13:52 +01:00
Heiko 63048a36de Feature/foxx store (#4600) (#4711) 2018-02-28 17:11:39 +01:00
Heiko 967ccf768d Bug fix 3.3/issue 4698 (#4701) 2018-02-28 16:08:01 +01:00
Michael Hackstein 027a1e167d
Fixed inconsistency in BFS when using filters on vertices (#4586) 2018-02-28 15:05:01 +01:00
Simon 1d57a46168 Refactor Authentication Layer (3.3) (#4588)
* added tests for revokeCollection and revokeDatabase

* optimized user permission test

* ui selection bugfix

* fixed ldap ui login

* login view

* Authentication refactoring

* localstorage fallback if user config is not available

* Fixing permission resolution test

* Adding missing import

* local storage queries now supported

* disabled collection task check for ldap

* added internal ldapEnabled function and ldap config to the ui

* more db creation tests

* removed console logs

* render fix

* Various authentication related fixes

* exec ldap test also for cluster

* Adding support to refresh user rights from external auth sources

* ldap test howto comment

* Handling roles more correctly

* jwt

* login view

* First part of rework of LDAP documentation.

* test roles in a ldap environment

* Changing role handling

* Finish revision of the LDAP chapter in the manual.

* Fixing user header

* Fixing some slight issues with LDAP users and roles

* Removing unused code

* Removing unused code

* added ldap test

* fixing a bug in restuserhandler

* more ldap tests

* ldap tests

* ldap tests

* optimized ldap testing, added cluster support, fixed some auth tests

* ldap cleanup test

* ldap tests

* auth tests

* ldap test

* Changing permission defaults

* revert change

* updated user helper test

* rm of try catch block connection

* Removing FeatureCacheFeature

* Changed permission resolution according to discussion

* updated the docs to clarify the permission resolution and the intricacies of LDAP users

* Fixing wrong permissions check in handling of PUT in ResUserHandler

* Using revision ID when replacing users

* Adding basic replace test

* tests

* Fixing some outstanding issues

* Fixing test setup, optimizing some stuff

* Fixing permission resolution rules, testsuite setup, etc

* Fix deadlock

* Adding error message for keyspace, slightly changing test setup

* Removing remaining mentions of FeatureCacheFeature

* Fix jslint

* Fixing some failed tests

* Fixing cluster authentication issue, red tests

* Fixing ldap testsuite, adding trace logging

* Fixint ldap tesuite setup and LDAP recognition

* Fixing an assert

* Cleanup, adding changelog entry

* fix typo

* Fixing dump_authentication test

* improvements found during code review

* oops

* updated CHANGELOG

* Fixing broken handling, disallowing adding of local users when disabled

* added tests for ldap search mode

* Fixing testInvalidGrants

(cherry picked from commit bc7ea2aaa29a9ed0974898f487e8a318f24912f1)

* Removing undefined auth level externally

(cherry picked from commit 70859f43ae6fd694fdbf70f669fbfdafc58e7913)

* Fixing previous commit

(cherry picked from commit 2fbcffd2ed657862ef9fb5e6d45201a6ec8ada69)

* more use of sessionstorage

* intentionally removed `after` methods from tests

because they are executed before the tests start
no cleanup is performed right now after the authentication tests
however, a cleanup is done at start of every test

* ldap tests all modes

* fix LDAP test invocation

* Added roles transformation to ldap test suite

* Fix compilation of community version.

* Imrpved the ldap testsuites by unifying their options

* fix permission problems for system collections

* Improved LDAP configuration documentation.

* Grunt.

* fixed some ro/rw display issues

* fixed some ro/rw display issues part 2

* grunt build

* bump version number

* Fixed typos in LDAP manual
2018-02-28 13:24:18 +01:00
Jan f74822483c
fix issue #4677 (#4678) 2018-02-27 11:29:15 +01:00
Wilfried Goesgens 356a3c879c remove long gone long_echo functionality (#4646) 2018-02-21 16:34:23 +01:00
Jan f29df7d68b
improvements and more tests for replication (#4624) 2018-02-21 12:10:30 +01:00
Heiko 70fc52979b ui dashboard http correct label (#4612) 2018-02-20 11:30:28 +01:00
Mark 0679bb043c Fix Foxx API (#4616) 2018-02-20 10:10:51 +01:00
jsteemann adde91b621 remove always-failing tests (will be re-activated in devel) 2018-02-19 15:02:06 +01:00
Jan cfed2c1d23
Bug fix 3.3/handle single delete (#4617) 2018-02-19 14:40:39 +01:00
Simon e96e899fd3 Active Failover for Foxx Services (3.3) (#4593) 2018-02-15 09:36:25 +01:00
Michael Hackstein 0a57be6863 Added missing semicolon (#4570) 2018-02-12 14:59:11 +01:00
Michael Hackstein 79a80558e1 Bug fix/distribute shards like (#4415) 2018-02-12 13:43:06 +01:00
Heiko 3b6abfd4a8 removed not needed menu entry for cluster logs (#4545) 2018-02-12 10:07:56 +01:00
Alan Plum 75892a79c9 More Foxx API tests (#4517) 2018-02-09 15:57:25 +01:00
Jan 9ffbc908f3
replication bugfixes and improvements ported from 3.2 (#4497) 2018-02-09 13:39:31 +01:00