91 Commits

Author SHA1 Message Date
Siddharth Purohit
02c165fafd
protocol: replace unsupported %llu format string 2021-10-20 21:34:03 -04:00
Peter Barker
ebfa20c994
Add override keyword to those methods requiring it 2021-10-20 21:33:54 -04:00
Pavel Kirienko
c914f98772 Updated the unit tests for compatibility with GCC 5.4 2017-03-16 17:16:21 +03:00
Pavel Kirienko
38a241a90a Added -Wzero-as-null-pointer-constant, replaced NULL --> UAVCAN_NULLPTR. All changes are automatic, no manual edits to the library code. 2016-07-29 15:39:24 +03:00
Pavel Kirienko
38f5591dda Optimized default timeouts 2016-02-19 12:35:44 +03:00
Pavel Kirienko
eb4532aefe Registering outgoing Allocation messages as activity as well 2016-02-19 11:51:40 +03:00
Pavel Kirienko
f72e082846 AbstractServer::guessIfAllDynamicNodesAreAllocated() 2016-02-19 11:40:48 +03:00
Pavel Kirienko
ab2b952432 Refactored the dynamic node ID allocation server: added a new class AbstractServer, which is inherited by CentralizedServer and DistributedServer. This change allowed to move the data and logic that is common to both types of servers to a single location. In the next step this will be used to add more complex common logic. 2016-02-19 11:25:50 +03:00
Pavel Kirienko
e13d6dbfd6 AllocationRequestManager::getTimeOfLastAllocationActivity() 2016-02-19 11:00:18 +03:00
Pavel Kirienko
be84897ed6 First stab at global refactoring of memory management - the library builds, but unit tests are failing horribly 2015-10-14 08:29:50 +03:00
Pavel Kirienko
4dff5c2223 Stupid typo in allocation request manager 2015-09-02 19:16:11 +03:00
Pavel Kirienko
054b60276d Resolved a TODO in AllocationRequestManager 2015-07-05 10:00:36 +03:00
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
356f46d08a Centralized server: Allocation table cache removed 2015-06-18 17:50:17 +03:00
Pavel Kirienko
9a77d27d81 Build config UAVCAN_MAX_NETWORK_SIZE_HINT (#33) 2015-06-15 15:44:58 +03:00
Pavel Kirienko
a1cf761917 Coverity 1304857 1304856 1304855 2015-06-10 13:17:40 +03:00
Pavel Kirienko
37f2b8044f Coverity 1304854 2015-06-10 13:06:42 +03:00
Pavel Kirienko
8ab48f61e7 try_implicit_cast<>() --> coerceOrFallback<>() 2015-06-05 15:21:05 +03:00
Pavel Kirienko
954ab2491a Fruitless attempt to optimize memory use 2015-05-28 12:59:22 +03:00
Pavel Kirienko
5205d13f37 centralized::Storage fix 2015-05-27 16:28:31 +03:00
Pavel Kirienko
5930bf3ed4 CentralizedServer 2015-05-27 16:12:54 +03:00
Pavel Kirienko
bdc0a327b7 centralized::Storage - new test 2015-05-27 16:10:14 +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
638de08115 CentralizedServer - storage implementation and test 2015-05-27 14:52:41 +03:00
Pavel Kirienko
82c24967e7 Minor fixes in Raft server 2015-05-27 12:55:49 +03:00
Pavel Kirienko
aafdf81f29 Removed unused event code 2015-05-26 20:25:29 +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
97b35cd09e NodeIDSelector fix 2015-05-26 01:57:07 +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
73273ab06d Optimized NodeDiscoverer - picking any node to query, without any preference 2015-05-24 17:21:26 +03:00
Pavel Kirienko
11161e7b1f NodeDiscoverer logic fix 2015-05-24 17:18:14 +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
9e9ade0055 Node ID allocation server - allocation response TX timeout set to DEFAULT_REQUEST_PERIOD_MS 2015-05-24 14:25:56 +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
5e458e918d MakeString<> helper template 2015-05-18 22:29:09 +03:00
Pavel Kirienko
cd41840f59 Multi-call client in RaftCore 2015-05-17 17:18:14 +03:00