1
0
Fork 0
Commit Graph

2074 Commits

Author SHA1 Message Date
Simon 8ae00c388d Debug logs for ActiveFailover, allow recovery tests on MacOS (#6686) 2018-10-03 18:34:39 +02:00
Simon Grätzer eb0fb254a1
Copy installation files on startup 2018-09-26 14:09:33 +02:00
jsteemann 84095911ef fix compiler warning 2018-09-24 14:07:51 +02:00
Dan Larkin-York 069b456217 [3.3] Backport #6539. (#6569) 2018-09-24 13:00:08 +02:00
Jan df61da5007
always remove LOCK file (#6316) 2018-09-03 15:33:16 +02:00
Matthew Von-Maszewski 5bff8bed45 Bugfix 3.3: port devel PR 5114 to 3.3 branch (#6124) 2018-08-17 14:19:42 +02:00
Matthew Von-Maszewski 87ec4ec61f back port PR 5238 from devel to 3.3: Add pacing logic to arangoimp. (#6126) 2018-08-17 09:18:08 +02:00
Matthew Von-Maszewski ec5a2f62b8 3.3: Bring two key Agency bug fixes, plus some secondary stuff back to 3.3 (#6009) 2018-08-08 10:33:17 +02:00
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 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
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 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
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
Jan Christoph Uhde 636c35672f try to fix permission issues of "/var/tmp/arangod" (#4498) 2018-02-20 10:12:26 +01:00
Max Neunhöffer 3352be3166
Stack size at least 8MB on libmusl. (#4528) 2018-02-09 15:02:58 +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 1bcab5628d
Bug fix 3.3/fix issue 4199 (#4201) 2018-01-03 21:32:49 +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 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
Jan 86ef7d4018 Bug fix/fixes 1711 obi (#3730) 2017-11-17 16:34:33 +01:00
Jan Christoph Uhde f47057088a Feature/helper code (#3577) 2017-11-17 09:51:32 +01:00
Jan 5abf0c1185 Bug fix/fixes 1511 (#3711) 2017-11-16 14:18:51 +01:00
Jan ba9bc41457 fix some typos in code and docs (#3671) 2017-11-13 17:33:36 +01:00
Jan Christoph Uhde daf98e145e improve rocksdb logging (#3613) 2017-11-11 19:35:27 +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
Jan 7613bc4314 Bug fix/fixes 0211 (#3568)
* remove some non-unused V8 persistents

* do not throw that many bogus assertions

* do not rely on server role being defined

* slightly better debug output for V8 context debugging

* fix collection ids in inventory response

* simplify bootstrap a bit

* slightly better error handling

* make elapsed time a queryable value

* use less memory for stub collections

* added assertions that will always make sense

* added assertions

* do not garbage-collect while waiting

* less copying of parameters

* do not show "load indexes into memory" buttons for mmfiles engine

  as all indexes are in memory anyway

* when a collection is truncated via the web interface, flush the WAL and rotate all active journals

this will make close all open journals on leader and followers and make them subject to compaction opportunities

* fix invalid server id values being passed from web interface to backend

* introduce afterTruncate method for indexes

* added test case for issue #3447

* updated CHANGELOG

* don't warn about replicationFactor for system collections

* check that the queries actually use the geo index and not some other index

* properly report error in web interface

* fix some internals checks that made truncate fail for bigger collections in maintainer mode

* also run a compact() operation after a serious truncate

in order to make iteration over the truncated range much faster
when the collection is next accessed

* increase default maximum number of V8 contexts to at least 16
2017-11-09 12:48:15 +01:00
Jan 151c717d22 fix potential duplicate closing of typed buffer (#3587) 2017-11-07 10:27:51 +01:00
Simon Grätzer ee8209943f Missing things for active / passive (#3578)
* Switching from ttl to supervision based failover mechanism

* Allowing canceling of ongoing actions

* refactored asyncjobmanager

* refactoring some code

* adding read-only flag

* catching some exceptions to reduce log pollution, removing unnecessary code, removing tests for _changeMode

* fixing "createsANewDatabaseWithAnInvalidUser"

* auth = off does not longer make everyone superuser

* Fixing cluster_sync and maybe resilience
2017-11-04 20:30:23 +01:00
Simon Grätzer 05d6a9a9f4 Reuse buffers for HttpResponse (#3433) 2017-10-30 17:30:36 +01:00
Jan 3f1f2c3e81 potential fix for issue #3517: several "filesystem full" errors in log… (#3525) 2017-10-30 17:28:59 +01:00
Max Neunhöffer 5e2f17c04f Fast path for get-in-sync of empty shards. (#3470)
* Fast path for get-in-sync of empty shards.

* Fix short cut in synchronization.
2017-10-26 09:55:00 +02:00
Jan 720e6df82e Bug fix/fixes 1910 (#3471)
* properly initialize all properties

* use faster comparison

* properly detect and handle "method not allowed"

* code-style

* remove unused variable

* narrow variable scope

* handle non-existance of AuthenticationFeature

* remove dead code

* replace some C string handling with std::strings

* moved assertion to the correct place

* honor number of array members for IN operator

* slightly adjust error messages

* slighty adjust some error messages

* try to fix issue with lingering replication contexts on shutdown

* clean up heartbeat thread a little bit

* small fixes
2017-10-23 09:17:36 +02:00
Simon Grätzer 7c31960cf2 Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
Jan 2fee652e77 Bug fix/fixes 1610 (#3425)
* remove memory zone remainders

* remove useless calls

* attempt to fix non-deterministic CRC test

* attempt to fix non-deterministic replication tests

* fix document removal with multiple documents in cluster

* attempt to fix non-determinism of tests

* fix privilege checks for accessing collections by collection id, not by name
2017-10-18 12:23:39 +02:00
Wilfried Goesgens bd8d61c1fa use the c++11 way of sleeping (#3429)
* use the c++11 way of sleeping

* fix unit.
2017-10-16 17:40:51 +02:00
Wilfried Goesgens 2c1e4dae98 remove remaints of libev. (#3372) 2017-10-10 15:01:59 +02:00