Commit Graph

584 Commits

Author SHA1 Message Date
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 08d96ef329.
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 f0627423c6.
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
Pavel Kirienko ea3886b048 Refactored tests of node ID allocation server 2015-05-09 16:55:52 +03:00
Pavel Kirienko 2c36e91c54 Fixed calls to UAVCAN_TRACE() 2015-05-09 16:29:31 +03:00
Pavel Kirienko 567d167640 Updated default service timeout 2015-05-09 16:21:50 +03:00
Pavel Kirienko 0f10d85f7e Node ID selection logic extracted into a class 2015-05-09 16:16:43 +03:00
Pavel Kirienko 696d97880d Include guard fix 2015-05-09 16:05:15 +03:00
Pavel Kirienko 18d5cb78aa Refactored node ID allocation server; no changes to the logic 2015-05-09 16:03:22 +03:00
Pavel Kirienko 098c29ce93 Transport stats provider moved to header 2015-05-09 12:39:05 +03:00
Pavel Kirienko 9d20d983b5 Restart request server moved to header 2015-05-09 12:38:12 +03:00
Pavel Kirienko 15fa5ad163 Param server moved to header 2015-05-09 12:37:16 +03:00
Pavel Kirienko 106cb94379 Added a README explaining what's going on 2015-05-09 12:35:18 +03:00
Pavel Kirienko ee85d2d73a Panic broadcaster moved to header 2015-05-09 12:26:22 +03:00