1
0
Fork 0
Commit Graph

1031 Commits

Author SHA1 Message Date
Jan 03933e6e02
Speed up `db.<collection>.any()` for the RocksDB storage engine (#5934) 2018-07-24 18:03:22 +02:00
Jan cd45d348e4
Merge branch '3.3' into bug-fix-3.3/fix-geo-index-oom 2018-07-24 12:13:14 +02:00
jsteemann 84dc409ecf make shard key change check not start extra HTTP requests 2018-07-23 11:32:51 +02:00
Simon 25ceed2c40 keep replication batches alive for longer (#5931)
* keeping replication batches alive for longer

* fix timeouts, fix revisions

* honor force in gc
2018-07-20 11:16:48 +02:00
Matthew Von-Maszewski 225095d762 BugFix 3.3: adjust SetThrottle() to only call GetDelayToken() first time. (#5854)
* adjust SetThrottle() to only call GetDelayToken() first time.  Each call disrupts throttle timing.

* add ChangeLog entry
2018-07-12 20:01:41 +02:00
Heiko 51caa460f2 Feature/replication ui (#5282) 2018-06-07 15:54:27 +02:00
Jan 78c193d34e
Bug fix 3.3/validate from to consistently (#5438) 2018-05-24 09:56:03 +02:00
Jan 1e4436666d
Bug fix 3.3/issue 5400 (#5411) 2018-05-23 11:40:50 +02:00
Jan 7529d0bb36
fixed issue #5252 (#5426) 2018-05-23 08:30:34 +02:00
Jan 0740cb91e2
Bug fix 3.3/fixes 1805 (#5392) 2018-05-18 18:10:52 +02:00
Jan d25c696240
improve performance of some RocksDB CRUD operations (#5364) 2018-05-16 12:57:49 +02:00
Jan 731925080d
Feature 3.3/aql optimizations (#5140) 2018-05-15 14:41:07 +02:00
jsteemann 5a31fa91f5 report missing cache hit information as 0 values, not as non-representable types 2018-05-11 14:47:35 +02:00
Jan 760aaca58e fix lookups by _id for smart graph edges (#5122)
* fix lookups by _id for smart graph edges

* updated CHANGELOG
2018-04-18 09:26:45 +02:00
jsteemann baf2303c16 fix invalid "out of memory" message when using out-of-range coordinates for the geo index 2018-04-10 11:58:07 +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 dbd05dab0b improve index selection a bit 2018-03-24 20:54:14 +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 8749957de0 remove useless flush from test, bump wal flush default timeouts (#4846) 2018-03-14 22:00:03 +01:00
Simon 38a99d8f65 Fixing issues related to missing auth rights (#4753) 2018-03-05 13:41:22 +01:00
Wilfried Goesgens 871149a9b6 Bug fix 3.3/fix dump permission checks (#4726) 2018-03-01 17:19:50 +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
jsteemann 1b5384439e removed invalid assertion 2018-02-22 11:01:13 +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
Jan 54db2f9eb1
forward port bugfix from 3.2 (#4611) 2018-02-19 11:21:42 +01:00
Simon e96e899fd3 Active Failover for Foxx Services (3.3) (#4593) 2018-02-15 09:36:25 +01:00
Jan 1127c5ddc3
forward port replication bugfixes from 3.2 (#4575) 2018-02-13 22:14:23 +01:00
Jan 9ffbc908f3
replication bugfixes and improvements ported from 3.2 (#4497) 2018-02-09 13:39:31 +01:00
Jan 4c6337611b
properly unlock after restore-indexes (#4369) 2018-01-25 15:56:13 +01:00
Jan d227c83e29
explicitly control activation of RocksDB write-throttling feature (#4359)
also consistently use -DNDEBUG to avoid different class layouts when
the same class are used by different translation units
2018-01-19 09:32:47 +01:00
Michael Hackstein ffbc7058cd
Bug fix 3.3/rocksdb truncate (#4338) 2018-01-16 19:52:27 +01:00
Jan f31734a198
fixed issue #4185: On execution of FULLTEXT search / AQL query db is … (#4239) 2018-01-15 22:46:14 +01:00
Jan c1459ec5b9
fix missing events in RocksDB-based replication for transactions that… (#4276) 2018-01-15 22:44:54 +01:00
Jan 0a28878059
Bug fix 3.3/micro fixes (#4235) 2018-01-12 13:59:18 +01:00
Jan 15d21ced0b
Bug fix 3.3/proper shutdown of throttle (#4250) 2018-01-10 00:08:17 +01:00
Jan 402ed9a99d ensure proper shutdown of throttle (#4233) 2018-01-05 14:56:52 +01:00
Matthew Von-Maszewski d35ebbe6a1 move from devel to 3.3 the dynamic chooseTimeout() feature. (#4166) 2017-12-27 16:36:42 +01:00
Jan 60ecfcfce4
fix wrong lock usage (did not have any effect except misleading the reader of the code) (#4086) 2017-12-23 00:19:46 +01:00
Jan e804f1d861
fix nullptr access (#4143)
* fix nullptr access

* fix compile error
2017-12-22 10:56:01 +01:00
Jan 8b873bdf4a
prefer unique equality lookups, as they do not have O(log(n)) complexity (#4096) 2017-12-21 20:41:10 +01:00
Jan f83a1a0394
Feature 3.3/add recovery tests for intermediate commits (#4106)
* added several recovery tests that check intermediate commits

* small fixes

* fix tests
2017-12-20 09:46:12 +01:00
Jan 5230df9f72
Feature 3.3/fulltext optimizations (#3925) 2017-12-19 21:40:12 +01:00
Simon Grätzer 90e6c78845 Make sure recalculated counts are actually stored (#4079)
(cherry picked from commit ab9faf56ce81a214a20683f7512db063ef9b063b)
2017-12-18 22:39:04 +01:00
jsteemann f9a86e6cca remove debug message 2017-12-16 15:22:54 +01:00
Jan 9c5893e7a7
fix premature unlock (#3802) (#4027)
* fix some deadlocks found by evil lock manager (tm)

* fix duplicate lock

* fix indentation

* ensure proper lock dependencies

* fix lock acquisition

* removed useless comment

* do not lock twice

* create either a V8 transaction context or a standalone transaction context, depending on if we are called from within V8 or not

* AQL micro optimizations

* use explicit constructor

* only use V8DealerFeature's ConditionLocker for acquiring a free V8 context

entering and exiting the selected context is then done later on without having to hold the ConditionLocker

* remove some recursive locks

* Disable custom deadlock detection when Thread Sanitizer is enabled

* Changing ifdef's

* grr

* broke gcc

* Using atomic for ApplicationServer::_server

* fix premature unlock

* add some asserts

* honor collection locking in cluster

* yet one more lock fix

* removed assertion

* some more bugfixes

* Fixing assert

(cherry picked from commit 1155df173bfb67303077fbe04ee8d909517bfd21)
2017-12-13 18:46:14 +01:00
Jan e7f93d8b9d
potentially fix send request timeout (#4025)
* potentially fix send request timeout

* fix globallyUniqueIds
2017-12-13 18:45:31 +01:00
Simon Grätzer 3287d8706a Use uuid in initalsync to ensure proper collection mapping (#3972) 2017-12-13 14:29:21 +01:00
Simon Grätzer cfd500c53c Fixing an issue with intermediate commits (#4006)
* Fixing an issue with intermediate commits

(cherry picked from commit 7f61fb9be0f22904be21e9dd26c3870035a5b318)

* Only check collection counts without intermediate commits

* Fixing assert
2017-12-12 23:15:41 +01:00
Jan d080350afa
make replication abortable (#4015) 2017-12-12 23:15:22 +01:00