1
0
Fork 0
Commit Graph

43640 Commits

Author SHA1 Message Date
Jan 29383d1082
don't fiddle with thread structs that were not initialized yet (#6979) 2018-10-22 16:49:13 +02:00
Jan 4e7f56a532
attempt to fix truncation (#7002) 2018-10-22 16:44:21 +02:00
Jan 169fb8edb7
do not copy node_modules directory on startup (#6946) 2018-10-22 16:43:26 +02:00
Jan 3d01c09ea2
Bug fix 3.4/fix array sorting (#6988) 2018-10-22 12:30:47 +02:00
jsteemann 2b86d9a0e4 Merge branch 'bug-fix-3.4/increase-setup-timeout' of https://github.com/arangodb/arangodb into 3.4 2018-10-22 09:43:33 +02:00
Frank Celler b52e4a65fa updated changelog for LDAP change 2018-10-21 17:58:01 +02:00
Andrey Abramov 2b46285b3b
Feature/backport arangosearch 3.4 (#6985)
* issue 485.1: reduce scope of lock in FlushFeature (#6943)

* issue 493.1: update iresearch to changeset 15f561dee5865ead83663ef056d7bbcc38636fb2 (#6947)

* issue 493.2: trigger termination of long-running consolidation on shutdown request

* Feature/update iresearch 2 (#6984)

* update iresearch sources

* another update

* update iresearch

* fix segfault in log message

* update iresearch

* update iresearch

* update iresearch

* remove noexcept

* improve logging

* update iresearch
2018-10-20 13:24:29 +03:00
Heiko 1493848861 UI - fixes validation of allowed or not allowed foxx service mount paths (#6969) 2018-10-20 11:35:01 +02:00
jsteemann 6b971f50a3 increase query setup timeout 2018-10-19 17:41:09 +02:00
Jan 1002928b5f
fix https://github.com/arangodb/release-3.4/issues/99 (#6951) 2018-10-19 15:26:23 +02:00
Simon c0455e9c60 Add engine specific collection APIs (#6962) 2018-10-19 15:23:55 +02:00
Tobias Gödderz b18fd77137 Removed debug log output, fixed errorNum check (again), added asserts that the views are properly created (#6948) 2018-10-19 14:18:04 +02:00
Michael Hackstein 9599eb9b9f
Bug fix 3.4/sync replication allow soft and hard lock (#6864)
* First attempt to not block the thread that requires the EXCLUSIVE sync-up lock

* Fixed insertion of query into registry in rest replication handler.

* Removed unnecessary / false asserts as suggested in review. Fixed code comments.

* Replaced auto with a correct type as suggested in review

* Added a helper function to validate if a query is in use in the registry

* Fixed logic bug in usage of query registry

* Fixed compile issue

* Implemented optional 'doHardLock' parameter in the replication acquire read-lock call. A hard-lock guarntees to stop all writes, a soft-lock may not.

* Fixed compile issue

* Automaticly transfrom int -> bool in initializerlist sucks...

* Inverted boolen logic bug hidden due to int->bool beeing logically inverted.

* Today it seems that bools are too complicated for my brain.

* Removed failure point, didn't write a test for it, and it is hard to write it in the current test environment. Need to find a better solution in future

* Applied chenges required by @goedderz in review

* Renamed doHardLock => toSoftLockOnly and inverted default value
2018-10-19 14:11:34 +02:00
Michael Hackstein 875185e6c1
Bug fix 3.4/sync repl release thread (#6784)
* First attempt to not block the thread that requires the EXCLUSIVE sync-up lock

* Fixed insertion of query into registry in rest replication handler.

* Removed unnecessary / false asserts as suggested in review. Fixed code comments.

* Replaced auto with a correct type as suggested in review

* Added a helper function to validate if a query is in use in the registry

* Fixed logic bug in usage of query registry

* Fixed compile issue

* Automaticly transfrom int -> bool in initializerlist sucks...

* Inverted boolen logic bug hidden due to int->bool beeing logically inverted.

* Today it seems that bools are too complicated for my brain.

* Removed failure point, didn't write a test for it, and it is hard to write it in the current test environment. Need to find a better solution in future

* Applied chenges required by @goedderz in review
2018-10-19 13:48:22 +02:00
Lars Maier d7863b4583 Bug fix 3.4/cluster comm threads start stop (#6939)
* Start ClusterComm threads in `ClusterFeature::start`. Stop ClusterComm threads in `ClusterFeature::stop`.

* Do not free objects in `Scheduler::shutdown`. Let the `unique_ptr` do their job. Stop ClusterComm threads in `ClusterFeature::stop`, but free instance in `ClusterFeature::unprepare`.

* `io_context` may contains lambdas that hold `shared_ptr`s to `Tasks` the required a functional `VocBase` in their destructor.

* Clean up.
2018-10-19 13:12:51 +02:00
Lars Maier def04788c5 Fixed bad token generation when username is empty. (#6967) 2018-10-19 12:52:12 +02:00
Simran 8bff4e4b5b Doc - Training material links (#6957) 2018-10-18 21:36:54 +02:00
sleto-it cb577ff159 Update CHANGELOG (#6963) 2018-10-18 20:48:21 +02:00
Simon c2b6fb99ba Propper commit Sequence Numbers (#6958) 2018-10-18 18:25:34 +02:00
Jan 18de63c7c8
Feature 3.4/medium priority (#6910) 2018-10-18 17:08:39 +02:00
Jan fa235feeb2
attempt to fix https://github.com/arangodb/release-3.4/issues/96 (#6953) 2018-10-18 12:41:13 +02:00
Jan 19e2dd87bd
Replace engine equality feature (#6931) (#6950) 2018-10-17 20:34:19 +02:00
jsteemann b4a4ed3bc8 attempt to make test more reliable 2018-10-17 20:32:35 +02:00
Jan 285c1adb1d
attempt to fix release-3.4#98: Unsuccessful arangorestore needs better error message (#6949) 2018-10-17 19:13:07 +02:00
Heiko b5ff5080ff merge conf. (#6882) 2018-10-17 15:57:39 +02:00
Heiko cc8429830d 3 4 - fixes the ui dashboard statistics in cluster environment (#6918) 2018-10-17 15:54:11 +02:00
jsteemann 4edfbf1771 fixed CHANGELOG 2018-10-17 15:45:46 +02:00
Heiko 494b73f6ec 3 4 fixed gathering of coordinator statistics in a cluster environment (#6935) 2018-10-17 15:45:19 +02:00
Jan 13a9a0c12b
Bug fix 3.4/use proper log topic for replication test messages (#6920) 2018-10-17 15:40:59 +02:00
KVS85 55d65449b9 Added timestamps to each test for jsUnity (3.4) (#6927) 2018-10-17 15:32:37 +02:00
Tobias Gödderz 42ef48f134 Added --rr parameter to startLocalCluster.sh (#6916) 2018-10-17 14:15:05 +02:00
Tobias Gödderz 4bcb3b755c Fixed error num comparison (#6941) 2018-10-17 14:14:43 +02:00
Simran 45b812c668 Doc - Fix link to ArangoSearch main chapter (#6930) 2018-10-17 00:07:07 +02:00
Matthew Von-Maszewski a9ce39f85c Bugfix 3.4: Merge scheduler changes by Michael & Frank into recent overlapping code changes (#6928)
* manual recreation of bug-fix-3.4/scheduler-high-low within recent Scheduler changes.

* restore Documentation that was unintentionally deleted
2018-10-16 22:51:00 +02:00
Dan Larkin-York fa6680a252 [3.4] Fix issues with ArangoSearch link permissions in cluster mode (#6726) 2018-10-16 20:43:01 +02:00
Simon f5392d3c53 Fix SimpleHttpClient assertions (#6913) 2018-10-16 20:31:29 +02:00
Andrey Abramov 6b6e4f6279
issue 485: ensure LogicalDataSource::drop() is called on vocbase drop (#6895) (#6923)
* issue 485: ensure LogicalDataSource::drop() is called on vocbase drop

* add missed change

* backport: address race between make(...) and async job

* add another missed change

* backport: ensure recursive lock reports itself as locked correctly

* backport: address test failure on mmfiles

* backport: remove redundant lock already held by async task

* backport: reset reader before unlinking directory
2018-10-16 21:06:47 +03:00
Dan Larkin-York 315af8e99f Suppress startup warning about no user table. (#6903) 2018-10-16 14:31:41 +02:00
Tobias Gödderz a5373d6697 Ignore errors caused by an admissible race (#6899) 2018-10-16 14:24:09 +02:00
Heiko 36fbab3441 Bug fix 3.4/check statistics before request (#6908) 2018-10-16 11:05:14 +02:00
Simon dd15298721 Do not delete ticks before counters (#6890) 2018-10-16 09:30:38 +02:00
Wilfried Goesgens 83498d94a0 Feature 3.4/better recovery resulthandling (#6859) 2018-10-16 09:28:49 +02:00
Jan d8043d6589
handle "rev" parameter (#6897) 2018-10-16 09:19:12 +02:00
Jan d6ae3a339c
prefer an index if more index attributes cover a filter condition (#6902) 2018-10-16 09:12:55 +02:00
Jan 738c00814a
added waitForSync option to make tests more deterministic (#6886) 2018-10-15 17:37:44 +02:00
Jan e5cefefd66
Bug fix 3.4/suppress statistics errors (#6891) 2018-10-15 17:34:08 +02:00
Tobias Gödderz 89b15b40e3 Fix compile error on clang (#6883) 2018-10-15 15:58:36 +03:00
maxkernbach f581179c53 Doc - set RocksDB as the default storage engine (chart) (#6888) 2018-10-15 14:25:30 +02:00
Heiko cc0591a626 Bug fix 3.4/update ui node dependencies (#6881)
* update some ui build  related node modules, fixed some eslint errors

* do not uglify libs any more, as libs are already uglified in most cases
2018-10-15 12:38:38 +02:00
Simon 7eda6768ab Refactor stuff, add async batch extension task (#6875)
* Refactor stuff, add async batch extension task

* fix compilation
2018-10-15 11:43:45 +02:00