595 Commits

Author SHA1 Message Date
Pavel Kirienko
b2b7693ee6 Partially implemented and fixed ServiceClient<>, 7 tests are failing 2015-05-16 14:19:48 +03:00
Pavel Kirienko
40e68d4103 TransferListenerWithFilter - NULL checks removed as they were conflicting with ServiceClient<>'s logic 2015-05-16 14:09:32 +03:00
Pavel Kirienko
39b924cd8a Multiset storage alignment fix 2015-05-16 14:06:32 +03:00
Pavel Kirienko
861315d1c3 Typo 2015-05-16 13:44:03 +03:00
Pavel Kirienko
713ec48ce9 Multiset<>::forEach() 2015-05-16 13:38:42 +03:00
Pavel Kirienko
be5bcf9084 ParameterType<> template 2015-05-16 13:21:53 +03:00
Pavel Kirienko
f713ef5e00 LazyConstructor memory optimization 2015-05-16 03:36:01 +03:00
Pavel Kirienko
eb370b08dd Refactored Map<> 2015-05-16 03:31:18 +03:00
Pavel Kirienko
24f0ec56f4 Multiset fixes and more tests 2015-05-16 03:14:46 +03:00
Pavel Kirienko
048e0a33ee Non-moving multiset, tests are failing in C++03 mode 2015-05-15 21:32:08 +03:00
Pavel Kirienko
0d85d672c7 Temporary fix for assertion failure in tests; 12 tests are failing 2015-05-15 18:45:37 +03:00
Pavel Kirienko
282b995c1e Partially refactored ServiceClient, tests are failing, the code is totally broken 2015-05-15 18:41:38 +03:00
Pavel Kirienko
ee761eebad Multiset<> 2015-05-15 15:29:31 +03:00
Pavel Kirienko
fb155d8fc9 Fixed missing UAVCAN_EXPORT declaration 2015-05-14 00:08:22 +03:00
Pavel Kirienko
509ef85048 Properly defining poll interval of NodeDiscoverer 2015-05-14 00:02:43 +03:00
Pavel Kirienko
3db54cd6af Improved NodeDiscoverer logic 2015-05-13 23:23:03 +03:00
Pavel Kirienko
e2ef4a4518 Restructured NodeStatusMonitor and NodeInfoRetriever - TimerBase is not inherited by the monitor now because that was a suboptimal solution for a class designed for inheritance 2015-05-13 22:32:23 +03:00
Pavel Kirienko
2b0d669d7f Revert "NodeStatusMonitor API update"
This reverts commit 08d96ef329fe2e12ee6149787b4aca69b1f48df1.
2015-05-13 22:02:02 +03:00
Pavel Kirienko
842319a290 Initial implementation of NodeInfoRetriever; fixes pending 2015-05-13 21:59:43 +03:00
Pavel Kirienko
08d96ef329 NodeStatusMonitor API update 2015-05-12 23:56:13 +03:00
Pavel Kirienko
93376316b8 Using static receivers in NodeDiscoverer 2015-05-12 21:48:30 +03:00
Pavel Kirienko
9efd1ac7ae NodeIDSelector: allocating only in the range [1, 125], unless the node explicitly requested higher node ID 2015-05-12 13:01:44 +03:00
Pavel Kirienko
92c8944e49 Too many tracepoints? No such thing. 2015-05-11 18:52:03 +03:00
Pavel Kirienko
2868fd5712 NodeDiscoverer test fix 2015-05-11 18:36:50 +03:00
Pavel Kirienko
8df1cfe1d9 NodeDiscoverer: another test 2015-05-11 18:26:42 +03:00
Pavel Kirienko
558171bf71 NodeDiscoverer: fixes and test 2015-05-11 17:50:36 +03:00
Pavel Kirienko
c62b871f20 Revert "NodeDiscoverer: Pausing querying GetNodeInfo if the node does not send NodeStatus"
This reverts commit f0627423c629b8e21592e9709f0adbe1c8c67e37.
2015-05-11 17:25:38 +03:00
Pavel Kirienko
f0627423c6 NodeDiscoverer: Pausing querying GetNodeInfo if the node does not send NodeStatus 2015-05-11 17:15:18 +03:00
Pavel Kirienko
63ce2b793d New trace code on remote node restart 2015-05-11 14:27:55 +03:00
Pavel Kirienko
1a6226ddc2 Added a comment explaining extensions to Raft 2015-05-11 13:36:34 +03:00
Pavel Kirienko
706e72cc74 Raft tracepoint at election completion 2015-05-11 13:29:13 +03:00
Pavel Kirienko
d623eee54a Raft logic fix: forcing active mode when allocation activity is detected 2015-05-11 13:26:53 +03:00
Pavel Kirienko
5af19f82c3 Raft logic fixes 2015-05-11 13:06:30 +03:00
Pavel Kirienko
731d9f4574 Changed RaftCore API; giving up Leader status if the leader cannot write its log 2015-05-10 23:44:25 +03:00
Pavel Kirienko
a6b0a256fb Byte order fix in logging 2015-05-10 20:33:34 +03:00
Pavel Kirienko
526b9371e4 Minor logging fix 2015-05-10 20:24:32 +03:00
Pavel Kirienko
f2c393e90d Server test extension 2015-05-10 20:10:13 +03:00
Pavel Kirienko
b7a4c9524e Fixed error codes 2015-05-10 20:05:40 +03:00
Pavel Kirienko
a309c6d8da Raft allocator adds its own allocation entry to the log 2015-05-10 20:03:17 +03:00
Pavel Kirienko
6e287dc1b2 Fixed naming of trace events 2015-05-10 19:33:16 +03:00
Pavel Kirienko
10b5661da4 Advanced tracing 2015-05-10 19:22:03 +03:00
Pavel Kirienko
c49ee1c4d3 Top-level typedef for distributed::Server 2015-05-10 17:56:48 +03:00
Pavel Kirienko
12a81b5bef Server event tracer extracted to the common level 2015-05-10 17:53:16 +03:00
Pavel Kirienko
7477de3bd9 NodeDiscoverer - implemented, integrated, not tested 2015-05-10 17:44:34 +03:00
Pavel Kirienko
aae4317beb Improved allocation logic 2015-05-10 14:12:19 +03:00
Pavel Kirienko
67b33a712e Improved logic of allocation request manager 2015-05-09 23:52:51 +03:00
Pavel Kirienko
1a763a824c Better naming 2015-05-09 23:34:30 +03:00
Pavel Kirienko
68c36924e3 Better naming 2015-05-09 23:17:22 +03:00
Pavel Kirienko
ab0017f870 Top level header for distributed server 2015-05-09 23:06:58 +03:00
Pavel Kirienko
d980b5e655 Typo in UAVCAN_TRACE() 2015-05-09 17:04:14 +03:00