Commit Graph

544 Commits

Author SHA1 Message Date
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
Pavel Kirienko 00ec7186b0 Node status monitor moved to header 2015-05-09 12:24:31 +03:00
Pavel Kirienko 894d951c33 Network compat checker moved to header 2015-05-09 12:21:46 +03:00
Pavel Kirienko 6e19d1c7ad Logger moved to header 2015-05-09 12:17:57 +03:00
Pavel Kirienko fc7e242100 Global time sync slave moved to header 2015-05-09 12:13:49 +03:00
Pavel Kirienko 899fa93201 Global time sync master moved to header 2015-05-09 12:07:37 +03:00
Pavel Kirienko 0ee3a7f311 Data type info provider moved to header 2015-05-09 12:03:30 +03:00
Pavel Kirienko 8ea708b77e Renamed DynamicNodeIDClient 2015-05-09 11:56:17 +03:00
Pavel Kirienko 69c361e259 Proper allocation logic with basic test 2015-05-08 23:12:57 +03:00
Pavel Kirienko aca9fcb12c Very basic implementation of DynamicNodeIDAllocationServer - not all logic is implemented yet, but it can be used for testing already 2015-05-08 21:00:17 +03:00
Pavel Kirienko 952009c284 Allocation request manager (untested) 2015-05-08 20:00:30 +03:00
Pavel Kirienko e48fa77d85 Raft logic fixes & more tests 2015-05-08 18:43:27 +03:00
Pavel Kirienko 1d7e83bd71 Raft log append test 2015-05-08 17:32:22 +03:00
Pavel Kirienko dab32220e0 Improved Raft event tracer - added event code to string conversion 2015-05-08 17:20:02 +03:00
Pavel Kirienko 43f849cc10 Log commit callback - needed by the main allocator class to broadcast allocation responses 2015-05-08 14:57:27 +03:00
Pavel Kirienko a7c09ed714 Raft Leader implementation. RaftCore is now finished. 2015-05-08 14:41:15 +03:00
Pavel Kirienko 6985c72dd3 Follower and candidate logic implemented 2015-05-08 13:30:55 +03:00
Pavel Kirienko 1a640e6763 Properly defined timeouts and max cluster size 2015-05-08 12:29:28 +03:00
Pavel Kirienko a1ee2efea0 All Raft logic finished except time updates 2015-05-07 19:48:05 +03:00
Pavel Kirienko ce752d93bd Raft AE and RV RPC response handlers 2015-05-07 19:11:13 +03:00
Pavel Kirienko 944ac75d93 Raft AE and RV servers 2015-05-07 18:16:26 +03:00
Pavel Kirienko 5e56c8a612 Raft event tracing interface, more states of RaftCore, basic functions of RaftCore 2015-05-07 13:58:24 +03:00
Pavel Kirienko 6ae48c25cb Naming cleanup 2015-05-06 18:01:27 +03:00
Pavel Kirienko 2273df059a ClusterManager tests 2015-05-05 12:53:33 +03:00
Pavel Kirienko f11f49a7d2 ClusterManager test for the case of one server 2015-05-05 11:29:51 +03:00
Pavel Kirienko 51cd8404b1 Cluster manager implementation, no tests yet 2015-05-04 19:00:39 +03:00
Pavel Kirienko 1994260a2c Persistent storage implementation and tests 2015-05-04 16:44:04 +03:00
Pavel Kirienko 6a8135fedf Service server feature - response suppression 2015-05-04 13:42:02 +03:00
Pavel Kirienko 954d6899b2 Persistent storage implementation 2015-05-04 08:11:24 +03:00
Pavel Kirienko 54fcfe4e06 Log::append() tests 2015-05-03 20:28:39 +03:00
Pavel Kirienko a7dd5f9aea Proper log initialization 2015-05-03 20:10:45 +03:00
Pavel Kirienko b1f5313fcb Raft log - basic tests of state recovery 2015-05-03 14:21:41 +03:00
Pavel Kirienko a439c62532 String constructor for Array<> 2015-05-03 13:29:53 +03:00
Pavel Kirienko 5633cb8bdb Raft: Basic log methods 2015-05-03 12:34:45 +03:00
Pavel Kirienko a60d5c812a Fixed RaftCore API 2015-05-03 11:28:59 +03:00
Pavel Kirienko 80169f9a1c Marshalling storage decorator 2015-05-02 16:59:22 +03:00
Pavel Kirienko 3e7026ad19 Dynamic Node ID allocation server - internal types 2015-05-02 11:41:54 +03:00
Pavel Kirienko 741eac2b17 Merge branch 'master' into dynamic_node_id_raft 2015-05-01 22:20:39 +03:00
Pavel Kirienko 850849beb1 Fixed error handling in ServiceClient 2015-05-01 22:20:15 +03:00
Pavel Kirienko 8096ac3e7c Merge branch 'master' into dynamic_node_id_raft 2015-05-01 20:54:05 +03:00
Pavel Kirienko 90435991ca Speed optimization of ServiceClient<> - requesting DTID only once at the time of first call 2015-05-01 20:53:16 +03:00