1
0
Fork 0
Commit Graph

1074 Commits

Author SHA1 Message Date
Max Neunhoeffer 9085caf702 Fix error handling around asyncRequest and performRequests. 2016-06-05 23:52:12 +02:00
Max Neunhoeffer 20ef93d76b Cleanup of error handling for asyncRequest and syncRequest.
I have added a thorough description of events to the comments
in ClusterComm.h. This should enable everybody to do proper
error handling when using ClusterComm::asyncRequest and
ClusterComm::syncRequest.
2016-06-04 23:05:48 -06:00
Max Neunhoeffer a2d237f84d Add error handling which was missing in some places. 2016-06-04 18:41:11 -06:00
Max Neunhoeffer 7ab83d4050 Slightly change signature of asyncRequest.
Error handling was inconsistent. This is cleaned up now.
2016-06-04 16:19:54 -06:00
Max Neunhoeffer d8573bd009 Revert "Bugfixes in error handling."
This reverts commit ab7ab515fb, which was
nonsensical.
2016-06-03 06:26:03 -06:00
Andreas Streichardt cbc9b3a749 fix hasRunOnce 2016-06-03 10:55:43 +02:00
Frank Celler ee98b59e2f changed reload to outdated 2016-06-03 10:38:47 +02:00
Frank Celler 22b454800d WIP 2016-06-01 23:03:00 +02:00
Frank Celler 1e25e5d262 Merge branch 'devel' of https://github.com/arangodb/arangodb into FMH
Conflicts:
	arangod/Cluster/HeartbeatThread.cpp
	arangod/RestServer/RestServerFeature.cpp
2016-06-01 16:25:13 +02:00
Frank Celler 3e61cb433d WIP 2016-06-01 15:57:28 +02:00
Frank Celler 963449d5f7 WIP 2016-06-01 13:37:13 +02:00
Andreas Streichardt 630d12713d Merge branch 'devel' into jwt 2016-06-01 10:19:53 +02:00
Andreas Streichardt 14e8876540 Wait for rest server before doing actual work 2016-05-31 16:05:08 +02:00
Max Neunhoeffer ab7ab515fb Bugfixes in error handling. 2016-05-31 01:15:46 -06:00
Max Neunhoeffer 7afd1cb197 Fixes in ClusterComm for sync. replication and failover. 2016-05-31 01:15:09 -06:00
Andreas Streichardt 6cb00f905d Merge branch 'devel' into jwt 2016-05-30 18:49:26 +02:00
Andreas Streichardt 84a7213755 Add jwtsecret 2016-05-30 14:48:35 +02:00
jsteemann 3d831b2e2b remove unnecessary checks 2016-05-30 14:45:11 +02:00
jsteemann b8f99fa717 slightly adjusted wait times 2016-05-30 09:34:13 +02:00
Max Neunhoeffer 77e0f85274 Fix a V8 context leak. LOL. 2016-05-26 20:09:20 +02:00
Max Neunhoeffer 4a4472e31e Repair DBServerAgencySync in background.
Also: Notice role change follower->leader.
2016-05-25 17:27:27 +02:00
Max Neunhoeffer e4ca111914 Remove an unnecessary check. 2016-05-25 17:26:53 +02:00
Max Neunhoeffer febb36fb1c Put in API to scale cluster via the coordinators. 2016-05-24 15:44:35 +02:00
Max Neunhoeffer d988736ea9 Lower a logging level to DEBUG in performRequests.
Errors will be reported elsewhere.
2016-05-24 09:53:05 +02:00
Max Neunhoeffer 1e6fe40149 Reduce follower timeout to 3.0 seconds. 2016-05-24 08:38:01 +02:00
Max Neunhoeffer 79a3621430 Fix sync repl test. 2016-05-23 16:57:07 +02:00
Max Neunhoeffer b16bd2e003 Still rename ServerJob -> DBServerAgencySync. 2016-05-23 14:00:44 +02:00
Max Neunhoeffer 4761abd848 Better debugging message. 2016-05-23 13:59:35 +02:00
Max Neunhoeffer f1bb21b3a7 Finish renaming ServerJob -> DBServerAgencySync. 2016-05-23 13:59:00 +02:00
Max Neunhoeffer d1bff377d5 Rename ServerJob to DBServerAgencySync. 2016-05-23 13:58:23 +02:00
Kaveh Vahedipour e3b78a8f6e supervising on 2016-05-19 16:59:08 +02:00
Max Neunhoeffer aa720cadda Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-05-19 14:18:59 +02:00
jsteemann dd0fd3df90 added x-arango-start-thread header feature 2016-05-19 14:15:59 +02:00
Max Neunhoeffer feb7b4e71b More logging, check Current/Version in every heartbeat in dbserver. 2016-05-19 14:03:49 +02:00
Max Neunhoeffer 410f3b3a12 Fix ClusterInfo: increase Current/Version with follower change. 2016-05-19 14:02:59 +02:00
Andreas Streichardt 7bbf42d776 Fix guards 2016-05-18 10:54:46 +02:00
Max Neunhoeffer be84973c40 Fix ArangoPrefix to "arango". 2016-05-17 11:20:22 +02:00
jsteemann 7d9e93e61e removed unused includes of JsonHelper.h 2016-05-13 19:00:23 +02:00
Max Neunhoeffer c2ce2c5347 Remove tabs in source. 2016-05-11 16:38:36 +02:00
Max Neunhoeffer 20cd5f2c2a Delete more unused stuff from AgencyComm. 2016-05-11 16:15:01 +02:00
Andreas Streichardt 5d3abc879e Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-05-11 15:31:11 +02:00
Andreas Streichardt 4d13e8fb1b _listDatabases() => _databases() 2016-05-11 15:30:47 +02:00
jsteemann d6e9b7b38b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-05-11 15:01:10 +02:00
jsteemann 3f1516eca7 bugfixes 2016-05-11 15:01:06 +02:00
Max Neunhoeffer 73bdf4b8b5 More silence at startup. 2016-05-11 14:48:31 +02:00
Max Neunhoeffer 071c51abe4 A paranoid change to avoid a use after free. Fixed a typo. 2016-05-11 14:48:12 +02:00
Max Neunhoeffer f41ab22098 Change a few startup messages from level INFO to DEBUG. 2016-05-11 11:42:33 +02:00
Jan Steemann 912383ca68 cppcheck 2016-05-10 20:13:55 +02:00
jsteemann 213ade22a4 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-05-10 19:01:30 +02:00
jsteemann 0ce8599598 fixes for MSVC 2016-05-10 19:01:21 +02:00