47 Commits

Author SHA1 Message Date
Pavel Kirienko
f48c16d1ef Dynamic node ID servers - configurable priority 2015-07-05 09:37:39 +03:00
Pavel Kirienko
27ec2419ff DSDL catchup 2015-07-05 09:27:22 +03:00
Pavel Kirienko
8a2e22046e All unit tests compile, but crash. This is the most horrifying commit I've ever made. 2015-07-01 14:55:24 +03:00
Pavel Kirienko
a1cf761917 Coverity 1304857 1304856 1304855 2015-06-10 13:17:40 +03:00
Pavel Kirienko
8ab48f61e7 try_implicit_cast<>() --> coerceOrFallback<>() 2015-06-05 15:21:05 +03:00
Pavel Kirienko
abe2401e38 Distributed server logging fix 2015-05-27 15:24:55 +03:00
Pavel Kirienko
a78c015934 Distributed server tracing fix 2015-05-27 15:16:17 +03:00
Pavel Kirienko
82c24967e7 Minor fixes in Raft server 2015-05-27 12:55:49 +03:00
Pavel Kirienko
9faf8470e6 Fixed Raft definitions 2015-05-26 20:22:21 +03:00
Pavel Kirienko
a97762ae21 Dead code removal 2015-05-26 20:13:13 +03:00
Pavel Kirienko
2231b00637 Raft active state extension removed 2015-05-26 20:04:59 +03:00
Pavel Kirienko
258da95d12 RaftCore::checkInvariants() 2015-05-26 00:15:18 +03:00
Pavel Kirienko
8c77793892 Raft logic fix: auto-discovery on AE request 2015-05-24 21:14:59 +03:00
Pavel Kirienko
eb6102a9d4 Raft - minor timing fix, no changes to the logic 2015-05-24 21:09:56 +03:00
Pavel Kirienko
b7f7defd85 Raft implementation fix 2015-05-24 20:19:56 +03:00
Pavel Kirienko
c323d8e724 Raft - ignoring Allocation activity if it is a response 2015-05-24 20:12:33 +03:00
Pavel Kirienko
59dd6d0905 Raft fix 2015-05-24 20:06:13 +03:00
Pavel Kirienko
2952608ffa RaftCore: new event code 2015-05-24 18:20:57 +03:00
Pavel Kirienko
e5f3a96476 RaftCore implementation fix 2015-05-24 16:32:52 +03:00
Pavel Kirienko
546be2b89b Fixed RaftCore. The logic is even more complicated. 2015-05-24 16:26:14 +03:00
Pavel Kirienko
4f64e2378e RaftCore - runtime assertions 2015-05-24 15:41:51 +03:00
Pavel Kirienko
0348b22b1e distributed allocation server - StateReport fix 2015-05-23 21:49:01 +03:00
Pavel Kirienko
5f4adbf1a3 dynamic_node_id_server::distributed::StateReport structure 2015-05-23 00:38:17 +03:00
Pavel Kirienko
cd41840f59 Multi-call client in RaftCore 2015-05-17 17:18:14 +03:00
Pavel Kirienko
90d60688b3 ServiceClient<>: renaming and a minor logic fix 2015-05-16 21:19:54 +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
fb155d8fc9 Fixed missing UAVCAN_EXPORT declaration 2015-05-14 00:08:22 +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
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
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
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
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
0f10d85f7e Node ID selection logic extracted into a class 2015-05-09 16:16:43 +03:00
Pavel Kirienko
18d5cb78aa Refactored node ID allocation server; no changes to the logic 2015-05-09 16:03:22 +03:00