1
0
Fork 0
Commit Graph

64 Commits

Author SHA1 Message Date
Michael Hackstein 0a9005e890
Bug fix/dump restore under authentication (#6156)
* Let authentication dump test execute the dump under authentication as well.

* Added a test for active-failover to ensure users are kept during failover scenarios

* Added temporary rights for Admin users on dump and restore for indexes and inventory.

* Updated changelog

* Added a test for replication of _users in single-server replication case

* Added a regression test in replication that validates users are replicated under authentication

* Execute replication ongoing tests under authentication
2018-08-14 22:18:26 +02:00
Jan fdcb9df17c
honor "restrictType" and "restrictCollections" in replication again (#5685) 2018-06-28 19:14:26 +02:00
Simon c954841a4f Backport supervision for active failover job + testsuite (#5181) 2018-04-23 16:38:11 +02:00
Simon f2ef1c45fb Replication cleanup (#5106) 2018-04-23 11:04:46 +02:00
Max Neunhöffer 3a7efc772c
Fix replication test w.r.t. indexes comparison. (#4978) (#4980) 2018-03-28 10:58:38 +02:00
Jan f29df7d68b
improvements and more tests for replication (#4624) 2018-02-21 12:10:30 +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
Jan 9ffbc908f3
replication bugfixes and improvements ported from 3.2 (#4497) 2018-02-09 13:39:31 +01:00
Jan c1459ec5b9
fix missing events in RocksDB-based replication for transactions that… (#4276) 2018-01-15 22:44:54 +01:00
Jan ee5e2e56c0
try to make replication test more deterministic (rough guess only) (#4274) 2018-01-15 22:44:36 +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 4104296fd3 fix revision id vs local document id usage in incremental sync (#3916) 2017-12-07 09:24:20 +01:00
Simon Grätzer 38e9a830a6 Fix occasional Replication Ongoing hiccups (#3743) 2017-11-20 10:30:01 +01:00
Simon Grätzer 0e485f7441 Fixing collection name collection handling in Syncer (#3710) 2017-11-17 16:36:57 +01:00
Jan b4f6ee9273 Feature/improved index api for unique constraints and replication (#3715) 2017-11-16 21:02:01 +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
Simon Grätzer 87f441753b RocksDB WAL tailing fixes (#3595) 2017-11-10 09:31:53 +01:00
Jan 356751bd12 fix a non-deterministic replication test (#3623) 2017-11-09 09:10:19 +01:00
jsteemann 7f00bf3b7d next attempt 2017-10-26 09:34:48 +02:00
jsteemann 45f2c4aca7 try to fix non-deterministic test 2017-10-25 21:07:31 +02:00
Jan feba30fcec attempt to make replication test more deterministic (#3482) 2017-10-23 14:21:46 +02:00
Jan 7840d3f824 Bug fix/fixes 1810 (#3460)
* improve error reporting in RestAqlHandler

* added logging about indexes

* added some safety checks to the logger

* slighty better error messages

* fix location header for SSL

* fix error message

* try to make tests more deterministic

* change error code from TRI_ERROR_INTERNAL (which we want to avoid) to TRI_ERROR_FAILED
2017-10-19 11:28:01 +02:00
Simon Grätzer 7c31960cf2 Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
Jan 5165155ed1 Bug fix/fixes 0609 (#3227)
* do not use V8 variant of AQL functions in early optimization stage when a C++ variant is available

* additionally, simplify AQL function definitions and aliases

* warn when more than 90% of max mappings are in use

* added C++ variant of replication catchup

* added `--log.role` option

* updated CHANGELOG

* removed non-existing scheduler.threads option from config

* removed useless __FILE__, __LINE__ invocations

* updated CHANGELOG

* allow a priority V8 context

* remove TRI_CORE_MEM_ZONE

* try to fix Windows errors & warnings

* cleanup

* removed memory zones altogether

* exclude system collections from collection tests
2017-09-13 16:28:21 +02:00
Jan dc46c9db07 more logging so we can find a specific bug (#3247) 2017-09-13 09:19:50 +02:00
jsteemann f8d8a561a4 fix various issues 2017-09-13 09:03:28 +02:00
Jan a10832d41e do not allow the creation of volatile collections in the RocksDB stor… (#2900)
* do not allow the creation of volatile collections in the RocksDB storage engine

* only create a volatile collection for mmfiles in test

* fix tests
2017-08-03 22:45:17 +02:00
Jan ebaeb639b2 Bug fix/incremental replication syncs too much (#2631)
* fix too much synchronization
* fix incremental sync for RocksDB engine
2017-06-21 14:56:33 +02:00
jsteemann 9b77aae857 fixed some tests 2017-06-08 17:56:58 +02:00
jsteemann 422b06211f fix some replication issues 2017-05-11 19:00:32 +02:00
jsteemann c5a195d62c attempt to fix races in replication 2017-05-10 14:32:16 +02:00
jsteemann 8a9dd4e35a move engine-specific test into engine test 2017-05-02 11:24:01 +02:00
jsteemann 3a0926ba6a make replication test more deterministic 2017-05-02 10:29:29 +02:00
Dan Larkin b86c9c239b Adjusted timing constant in async test. 2017-04-28 17:32:59 -04:00
Dan Larkin e6611ddc4f Fixed ongoing replication bugs and split the test. 2017-04-28 16:01:29 -04:00
Michael Hackstein 3b364897a1 Made replication-static test aware of MMFiles and gnore their options. 2017-04-28 17:40:13 +02:00
jsteemann 68bc8f46d8 make tests more robust 2017-04-28 16:26:36 +02:00
jsteemann a2db9ad886 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-04-28 14:28:54 +02:00
Jan Christoph Uhde d76e85efea be more verbose in test 2017-04-28 14:23:16 +02:00
jsteemann a52a0f0a47 try to fix non-deterministic behavior in test 2017-04-28 13:13:30 +02:00
jsteemann 3b48b6bd51 update safeResumeTick as well 2017-04-27 14:47:22 +02:00
jsteemann 5209312f5d remove unused method call 2017-04-25 11:28:31 +02:00
Simon Grätzer 91fe0f01ea formatting 2017-04-24 15:55:21 +02:00
Jan Christoph Uhde dd3253a935 remove mmfiles specific test code for other engines 2017-04-24 15:00:21 +02:00
jsteemann 60d39f4650 replication bugfixes 2017-04-20 15:20:22 +02:00
jsteemann d35fc8fc6a added test 2017-04-19 09:02:25 +02:00
jsteemann 5817b1b911 added test 2017-04-19 08:52:58 +02:00
jsteemann 2cda79ec0b add some debug output for replication tests 2017-03-17 13:02:15 +01:00