1
0
Fork 0
Commit Graph

503 Commits

Author SHA1 Message Date
Max Neunhöffer 20f74ea4cd
Improve error output in logs when replication fails. (#6757)
* Improve error output in logs when replication fails.
* Add URL in a lot more replication errors.
* More URL output in replication errors for MMFiles.
* Fix a typo.
* Add CHANGELOG entry.
2018-10-09 11:38:19 +02:00
Jan 5b86561c22
increase the timeouts for replication, in order to increase the chanc… (#6733) 2018-10-08 17:34:33 +02:00
jsteemann 9e2007230c Revert "increased another timeout"
This reverts commit e08ba9181c.
2018-10-05 14:01:43 +02:00
jsteemann e08ba9181c increased another timeout 2018-10-05 13:57:51 +02:00
Dan Larkin-York 069b456217 [3.3] Backport #6539. (#6569) 2018-09-24 13:00:08 +02:00
Simon f5116c4bc3 support truncate marker, add intermediate commit hints (#6125) 2018-08-09 15:13:06 +02:00
Wilfried Goesgens ccc339ca46 Feature 3.3/forward compatible sync (#6001) 2018-07-30 08:55:26 +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
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 7529d0bb36
fixed issue #5252 (#5426) 2018-05-23 08:30:34 +02:00
Jan 731925080d
Feature 3.3/aql optimizations (#5140) 2018-05-15 14:41:07 +02:00
Jan ae73a9b475
Feature 3.3/mmfiles index lookup speedup (#5338) 2018-05-14 10:41:37 +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
Jan 2fe7e82af2
improve startup resilience in case there are datafile errors (#4974) 2018-04-13 12:08:41 +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
Jan 8749957de0 remove useless flush from test, bump wal flush default timeouts (#4846) 2018-03-14 22:00:03 +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
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
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 9dbef6f8c8
speed up collection.any() for mmfiles (#4432) 2018-02-08 11:36:27 +01:00
Jan c55374a75c
fix issue #4272 (#4418) 2018-01-25 15:57:06 +01:00
Jan 4c6337611b
properly unlock after restore-indexes (#4369) 2018-01-25 15:56:13 +01:00
Jan cce1a6f55b
improved logging for MMFiles IO operations (#4365) 2018-01-19 18:36:49 +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 b8c043945f
try to not fail hard when a collection is dropped while the WAL is tailed (#4225) 2018-01-04 16:31:17 +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 e804f1d861
fix nullptr access (#4143)
* fix nullptr access

* fix compile error
2017-12-22 10:56:01 +01:00
Jan 5230df9f72
Feature 3.3/fulltext optimizations (#3925) 2017-12-19 21:40:12 +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
Simon Grätzer 3287d8706a Use uuid in initalsync to ensure proper collection mapping (#3972) 2017-12-13 14:29:21 +01:00
Jan 3caa4c47bb
add a test for replication applier restarts (#3750) (#3933) 2017-12-08 15:48:15 +01:00
Jan ad8de0e6bf allow passing a serverId value of "none" to replication APIs (#3912) 2017-12-07 10:33:14 +01:00
Jan bd1a2d6cce fix shutdown deadlock (#3796) 2017-11-24 11:42:09 +01:00
Jan 86ef7d4018 Bug fix/fixes 1711 obi (#3730) 2017-11-17 16:34:33 +01:00
Jan b4f6ee9273 Feature/improved index api for unique constraints and replication (#3715) 2017-11-16 21:02:01 +01:00
Jan 4a199e2fe3 make truncate a bit less obstrusive (#3721) 2017-11-16 20:28:33 +01:00
Jan 15ad2fbd99 do not complain about missing datafile statistics (#3688) 2017-11-14 16:42:31 +01:00
Simon Grätzer c6fe726901 Removing unsafe asserts in wal tailing v3.3 (#3672) 2017-11-13 17:41:57 +01:00
Jan 03daf9e9c9 make incremental sync replication API check if the client passed an "offset" request parameter (#3669)
if yes, the server may dynamically adapt the size of the response, in order to ensure that
HTTP responses do not get out of hand size-wise. This is a new feature in devel, and this
commit now makes it optional so that older clients do not need to be changed.
2017-11-13 15:08:31 +01:00
jsteemann 571d4587ca Revert "Return offending key for unique constraint violations (#3624)"
This reverts commit 68bd31ac99.
2017-11-10 16:40:56 +01:00
Dan Larkin 68bd31ac99 Return offending key for unique constraint violations (#3624) 2017-11-10 16:03:10 +01:00
Jan 733f27e997 Bug fix/fix compilation with gxx7 (#3637) 2017-11-10 16:00:57 +01:00
Jan bef52d7dc3
Bug fix/cleanup after cppcheck (#3639) 2017-11-10 13:53:28 +01:00
Simon Grätzer 87f441753b RocksDB WAL tailing fixes (#3595) 2017-11-10 09:31:53 +01:00