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
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
7afd1cb197
Fixes in ClusterComm for sync. replication and failover.
2016-05-31 01:15:09 -06: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
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
Kaveh Vahedipour
37c0ec4f54
more complete verbose output on custercomm connections
2016-05-09 15:05:33 +02:00
jsteemann
96fceb4411
use std::unordered_maps for headers
2016-05-01 20:52:47 +02:00
Max Neunhoeffer
2bfe7b8b24
Finishing touches to performRequests.
2016-04-19 16:17:41 +02:00
Max Neunhoeffer
0d1a7239c1
Bugfixes for synchronous replication.
2016-04-19 14:44:23 +02:00
Max Neunhoeffer
a321d417a9
Add performRequests.
2016-04-11 23:37:46 +02:00
Frank Celler
068f9defd7
splitted HttpResponse.h
2016-04-01 10:39:38 +02:00
Frank Celler
494bdca847
splitted HttpRequest into GeneralRequest/HttpRequest
2016-03-31 11:45:21 +02:00
Jan Steemann
cb860d39e9
added assertions
2016-03-23 18:31:26 +01:00
Kaveh Vahedipour
4f152db27f
Merge branch 'agency' of https://github.com/arangodb/arangodb into devel
2016-03-23 08:59:10 +00:00
Max Neunhoeffer
ee9666e845
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2016-03-21 23:02:59 +01:00
Max Neunhoeffer
cc76ffc5d2
Fix bug that callback was not called for singleRequest case in ClusterComm.
2016-03-21 23:00:44 +01:00
Kaveh Vahedipour
d6db18d655
Merge branch 'devel' of https://github.com/arangodb/arangodb into agency
2016-03-18 10:45:15 +01:00
Andreas Streichardt
614beefc74
Throw Http error 503 when a required backend is unavailable
2016-03-16 18:04:05 +00:00
Kaveh Vahedipour
61a55d61db
Merge branch 'devel' of https://github.com/arangodb/arangodb into agency
2016-03-10 17:37:43 +01:00
Frank Celler
dfa9047484
switch arangosh to new ApplicationFeatures and ProgramOptions
2016-03-08 23:32:43 +01:00
Kaveh Vahedipour
34976d462f
agency on
2016-02-26 09:31:05 +01:00
Frank Celler
37a0a7fc05
Merge branch 'devel' of github.com:arangodb/arangodb into solaris
2016-02-25 10:56:14 +01:00
jsteemann
851d19a9d6
logging simplifications
2016-02-25 00:00:18 +01:00
Frank Celler
4b2b85f1b5
more cleanup
2016-02-24 19:19:04 +01:00
Kaveh Vahedipour
86be0136ec
agency on
2016-02-24 18:26:32 +01:00
Frank Celler
bed46519f9
added DETACHED state
2016-02-23 15:27:36 +01:00
Frank Celler
a140ad9de2
added DETACHED state
2016-02-23 12:26:12 +01:00
Kaveh Vahedipour
89fba8f8d9
Merge branch 'devel' of https://github.com/arangodb/arangodb into agency
2016-02-19 11:35:03 +01:00
Frank Celler
345712c36f
changed to new Thread interface
2016-02-17 22:19:37 +01:00
Kaveh Vahedipour
df4508f59d
Merge branch 'devel' of https://github.com/arangodb/arangodb into agency
2016-02-04 11:40:54 +01:00
Max Neunhoeffer
777783a41e
Add a non-nullptr asserting in asyncRequest.
2016-02-04 10:53:29 +01:00
Frank Celler
bb3acf8cd5
fixed /_admin/log
2016-02-04 00:41:50 +01:00
Jan Steemann
b7abf5a40d
attempt to fix Windows build
2016-02-01 12:04:28 +01:00
jsteemann
2d7323a560
fixed warnings shown by clang-3.7
2016-01-31 02:17:36 +01:00
jsteemann
353c9732b7
removed last LOG_xxx macros
2016-01-30 04:03:18 +01:00
jsteemann
ff21453255
logger transition: all files in arangod exception transactions.cpp
2016-01-29 23:28:44 +01:00
Jan Steemann
9046e1831b
clang-format
2016-01-27 13:43:46 +01:00
Max Neunhoeffer
bee3f7e21a
Cleanup ClusterComm library. Allow singleRequest asyncRequests.
...
Also run ClusterComm sender thread and connection manager in
single server mode.
2016-01-26 11:05:15 +01:00
jsteemann
842384016d
namespace cleanup
2016-01-21 00:20:22 +01:00
jsteemann
431900f17a
changed namespace from triagens to arangodb
2016-01-17 00:44:53 +01:00
jsteemann
9f0576c65f
don't rely so much on namespace std being present
2016-01-08 01:05:06 +01:00
Jan Steemann
3ad20c0cae
auto-generated headers
2016-01-06 18:41:51 +01:00
Jan Steemann
a3b026d9d1
removed useless sections from code, unified include guards
2016-01-06 14:15:22 +01:00
Jan Steemann
f422576ee0
clang-format
2016-01-05 17:43:24 +01:00
Max Neunhoeffer
152f3485b3
Fix dump bug in cluster.
2015-12-22 14:18:11 +01:00
Jan Steemann
35eda37ab1
make_unique
2015-12-16 11:54:33 +01:00
Jan Steemann
a694b7ef48
make_unique
2015-12-16 11:36:35 +01:00
Max Neunhoeffer
754762c277
Fix improvement of memory management for ClusterComm.
2015-12-15 18:24:26 +01:00