1
0
Fork 0
Commit Graph

15634 Commits

Author SHA1 Message Date
Jan cda5da8a79
added option `--database.required-directory-state` (#5037) 2018-04-13 10:10:10 +02:00
Simon a2ecd83859 adding ttl option for the query registry (#5096) 2018-04-11 15:50:12 +02:00
Jan d500a503b1
simplification of fullcount code (#5074) 2018-04-10 17:25:08 +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
Kaveh Vahedipour c07a706948 supervision fix for internal issue #2215 backport to 3.3 (#5063)
* supervision fix for internal issue #2215 backport to 3.3
2018-04-10 15:29:27 +02:00
Kaveh Vahedipour 3d8eb7541c internal issue #2215 (#5043) 2018-04-10 12:00:48 +02:00
Frank Celler 46b7dbcf75
added /_admin/status (#5047)
* added /_admin/status
2018-04-07 21:24:43 +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 b96250b57a
fix restoring of smart graph edge collections so it does not time out (#5048) 2018-04-06 14:15:29 +02:00
jsteemann bccf6bbe4e re-added missing sendState call 2018-04-04 17:26:17 +02:00
Frank Celler cdcf917413
added --server.ask-jwt-secret to arangosh (#5004)
* added --server.ask-jwt-secret to arangosh
2018-04-02 19:20:31 +02:00
Jan c6eef6da7e
fixed issue #4934: Wrong used GeoIndex depending on FILTER order (#4947) 2018-03-26 09:43:31 +02:00
jsteemann a3073bec2a adjust index selection slightly 2018-03-24 22:56:41 +01: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 dbd05dab0b improve index selection a bit 2018-03-24 20:54:14 +01:00
jsteemann cb2dc09a6e improve logging of index usage and capabilities 2018-03-24 20:53:07 +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 765aed1368 bump version number for all local DDL changes and tell agency (#4684)
* bump version number for all local DDL changes and tell agency
  this allows other listeners (e.g. for DC2DC) to get notified when  
  DDL operations are carried out locally and need to be applied remotely
* Increase a log level.
2018-03-23 12:34:08 +01:00
Tobias Gödderz b34eb1c23f Bugfix / Supervision: removeFollower should remove the last follower(s) first (#4926)
* Added a test asserting the last followers are removed first as required by moveShard
* Remove the last followers first
* Removed unused includes
* Updated CHANGELOG
2018-03-23 09:33:04 +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
Jan 6ad2e77e50
properly exit v8::Context at one place where it was missing before (#4916) 2018-03-22 18:26:07 +01:00
Jan 12decb1c29
increase timeout for index creation (#4914) 2018-03-21 18:17:26 +01:00
Jan 29be817cf8
fixed internal issue 2102: Segfaults in arangod console when using ag… (#4875)
* fixed internal issue 2102: Segfaults in arangod console when using agency functions in single server mode

* make more ops fail when invoking them in non-cluster mode
2018-03-20 11:21:42 +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
Max Neunhöffer cea61e84eb
Load list of current DBServers regularly from agency. (#4850) 2018-03-15 00:44:34 +01:00
Jan 8749957de0 remove useless flush from test, bump wal flush default timeouts (#4846) 2018-03-14 22:00:03 +01:00
Kaveh Vahedipour 263fe1f6e9 3.3: fixed the missed changes to plan after agency callback is registred f… (#4777)
* fixed the missed changes to plan after agency callback is registred for create collection
* fixed agency inquire
2018-03-14 12:03:40 +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
Jan f781fe5cbc
fix blind spot in storage engine selection (#4810) 2018-03-12 13:41:00 +01:00
Jan 6bd711eb0a do not mask lock timeout or other errors on WAL flush but report them instead of an "internal error" (#4720) 2018-03-12 09:10:20 +01:00
Jan 77fbe80c43
prevent crash on invalid json (#4793)
* prevent crash on invalid json

* add missing header change
2018-03-09 12:49:02 +01:00
Heiko f4b614cb8e fixed wrong behaviour in patch user route (#4773) 2018-03-07 11:55:36 +01:00
jsteemann bca18a75dc increase WAL flush default timeout 2018-03-06 09:39:41 +01:00
Simon 38a99d8f65 Fixing issues related to missing auth rights (#4753) 2018-03-05 13:41:22 +01:00
Jan fa83a932ee
fix `fullCount` value in some cases in cluster mode (#4722) 2018-03-01 18:33:18 +01:00
Wilfried Goesgens 871149a9b6 Bug fix 3.3/fix dump permission checks (#4726) 2018-03-01 17:19:50 +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 f68cd7f296 fix typo in variable name 2018-02-28 17:39:49 +01:00
Kaveh Vahedipour 4893e1ccca more information from inception, when agent is activated (#4691) 2018-02-28 16:11:58 +01:00
Kaveh Vahedipour a69c60d79b bug fix for jobs looking at distrubuteShardsLike and virtual collections (#4666) 2018-02-28 16:09:16 +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
jsteemann 1b5384439e removed invalid assertion 2018-02-22 11:01:13 +01:00
Jan f29df7d68b
improvements and more tests for replication (#4624) 2018-02-21 12:10:30 +01:00
Jan 52a27b82ef
properly convert the JS object to VPack for transactions (#4641)
previously this did not work when the "action" attribute was a JavaScript function
2018-02-21 11:57:14 +01:00