1
0
Fork 0
Commit Graph

5172 Commits

Author SHA1 Message Date
Dan Larkin-York 1897fd029f Add load balancing support to cursor API in 3.3 (#5797) 2018-07-24 09:56:40 +02:00
Wilfried Goesgens 315d23d03d Feature 3.3/backport openssl windows (#5892) 2018-07-20 17:23:27 +02:00
Jan c21d2d46cd
Bug fix 3.3/fix hangs (#5805) 2018-07-10 13:52:58 +02:00
Jan d1e596b54a always use -DNDEBUG when compiling all components (#5770)
* always use -DNDEBUG when compiling all components

* fiddle -DNDEBUG info into result of --version
2018-07-09 16:26:41 +02:00
Frank Celler cb0aaa435f backport Scheduler from devel (#5533) 2018-06-28 13:26:04 +02:00
Tobias Gödderz a391088dbf [3.3] Fix inconsistent distributeShardsLike job (#5300) 2018-05-17 12:07:20 +02:00
jsteemann 54bb75ac48 release version 3.3.9 2018-05-16 17:03:44 +02:00
Michael Hackstein f14dc58187
Bug fix 3.3/issue 3811 (#5200)
* now checking existence of _from and _to vertices during edge creation

* changelog

* added tests

* correct use of db module

* merge of added more tests, changed error message

* merge conflicts

* merge conflicts

* Update CHANGELOG

* fixed ruby tests
2018-04-30 14:21:24 +02:00
Michael Hackstein a9e446a83d
Added cleanup functions class that allows to execute functions on unexpected shutdown (like FATAL_EXIT). First use: delete the LOCK file. (#5218) 2018-04-27 15:30:00 +02:00
Michael Hackstein b984a29894
Revert "Bug fix 3.3/issue 3811 (#4983)" (#5199)
This reverts commit 40a46d1aab.
2018-04-25 16:22:53 +02:00
Heiko 40a46d1aab Bug fix 3.3/issue 3811 (#4983)
* now checking existence of _from and _to vertices during edge creation
2018-04-25 15:07:54 +02:00
Simon c954841a4f Backport supervision for active failover job + testsuite (#5181) 2018-04-23 16:38:11 +02:00
Jan 3e0fe7f143
added `--dump-option` startup option to print all available options in JSON format (#5173) 2018-04-23 11:38:30 +02:00
Simon f2ef1c45fb Replication cleanup (#5106) 2018-04-23 11:04:46 +02:00
Jan 2fe7e82af2
improve startup resilience in case there are datafile errors (#4974) 2018-04-13 12:08:41 +02:00
Jan e7f969c1bf
make file locking a bit more sensible (#5011) 2018-04-13 10:06:15 +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
jsteemann 5954eb6bcd make build id appear in startup log message alongside with other version info 2018-03-24 20:52:33 +01:00
Kaveh Vahedipour d4e5d8f9e2 Architecture specific compile flags were ignored (#4625) 2018-03-08 23:18:07 +01:00
Michael Hackstein 411dc7ecf3 Fixed false http error codes in timeout case. Also reactivated retry in error case. (#4760) 2018-03-06 13:22:15 +01:00
Max Neunhöffer fc64817386 Fixes for the ldaps:// protocol. (#4709) 2018-03-01 16:42:09 +01:00
Frank Celler 59f655faf0 fixed compiler warnings and added missing call to arangosh 2018-03-01 12:17:47 +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 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
Kaveh Vahedipour 8e0dca87a0 issue #4393 part one (#4460) 2018-02-20 10:47:53 +01:00
Jan Christoph Uhde 636c35672f try to fix permission issues of "/var/tmp/arangod" (#4498) 2018-02-20 10:12:26 +01:00
Jan aba64939e2
fix HTTP response code for HTTP 503 (#4610) 2018-02-19 08:35:02 +01:00
Simon e96e899fd3 Active Failover for Foxx Services (3.3) (#4593) 2018-02-15 09:36:25 +01:00
Jan 399d2e67f7
it's dangerous to read from TryCatch if it has not been properly populated before (#4567) 2018-02-12 11:59:23 +01:00
Max Neunhöffer 3352be3166
Stack size at least 8MB on libmusl. (#4528) 2018-02-09 15:02:58 +01:00
Jan f4634e72e2
periodically recheck socket validity/connectivity for sockets that loop around poll() every 20s (#4536) 2018-02-08 08:40:43 +01:00
Max Neunhöffer 1ca1b89deb
Port static-build fixes to the 3.3 branch (libmusl). (#4481)
* Changes for libmusl compilation. (#4294)
* Further fixes for libmusl completely static build. (#4474)
* Make crc assembler code position independent.
* Fix PIE compilation for libmusl in alpine linux.
* Use backtrace library if found.
2018-02-07 10:49:32 +01:00
jsteemann 0254579741 fix compilation on MacOS 2018-01-25 16:30:04 +01:00
Jan 4c6337611b
properly unlock after restore-indexes (#4369) 2018-01-25 15:56:13 +01:00
Jan e3f136f11d
potential fix for issue #4272 (#4310) 2018-01-23 17:44:31 +01:00
Jan 6712d6cdf4
fixed issue #4308: Crash when getter for error.name throws an error (#4347) 2018-01-17 12:14:38 +01:00
Jan 53b9633ea4
Bug fix 3.3/rocksdb block cache shard bits adjustment (#4304)
make the default value of `--rocksdb.block-cache-shard-bits` use the RocksDB
default value. This will mostly mean the default number block cache shard
bits is lower than before, allowing each shard to store more data and cause
less evictions from block cache
2018-01-15 22:45:49 +01:00
jsteemann 8908d39031 release version 3.3.2 2018-01-04 09:41:19 +01:00
Jan 1bcab5628d
Bug fix 3.3/fix issue 4199 (#4201) 2018-01-03 21:32:49 +01:00
Frank Celler 1c01d07dbd release version 3.3.1 2017-12-28 14:32:01 +01:00
Jan fda5ea77b3
fix file descriptor issue in LogAppenderFile::reopenAll (#4115) 2017-12-21 22:03:09 +01:00
Jan 223f63bed1
change error message from "no leader" to "not a leader" (#4135) 2017-12-21 20:41:35 +01:00
Jan 296ef80d8f
fixed issue #4045: fix misleading error message in arangorestore (#4048) 2017-12-16 15:17: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 e7f93d8b9d
potentially fix send request timeout (#4025)
* potentially fix send request timeout

* fix globallyUniqueIds
2017-12-13 18:45:31 +01:00
Jan 863b8a9a0c
make SimpleHttpClient's SSL connections abortable too (#4022) 2017-12-13 14:25:48 +01:00
Jan d080350afa
make replication abortable (#4015) 2017-12-12 23:15:22 +01:00
Jan 1797f6abde
allow specification of log topics with whitespace in the argument (#4002)
For example, the following log level now does not cause a warning anymore

    v8 = trace

previously the log levels had to be specified without any whitespace around
2017-12-12 14:47:53 +01:00
Jan 65a43e2d53
issue #3741: attempt to fix terminal color output in Windows (#3753) (#3937)
* issue #3741: attempt to fix terminal color output in Windows (#3753)

* Fix for missing constant in older Windows versions (issue 3742)
2017-12-08 15:47:07 +01:00
Wilfried Goesgens 3a940eccdc release version 3.3.rc7 2017-12-07 14:48:38 +01:00