Commit Graph

65 Commits

Author SHA1 Message Date
Lukas Joswiak 7e6bc27863 Remove linear time loop 2021-08-23 14:02:41 -07:00
Lukas Joswiak 08892eab55 Move client failure cleanup 2021-08-23 12:54:03 -07:00
Lukas Joswiak adc1025fa1 Clean up clientFailures periodically 2021-08-23 12:45:42 -07:00
Lukas Joswiak d004703cc8 Add worker kill unit test 2021-08-23 12:45:42 -07:00
sfc-gh-tclinkenbeard b6c669be23 Send ConfigBroadcastSnapshotReply to broadcaster 2021-08-19 14:45:30 -07:00
sfc-gh-tclinkenbeard 62303af832 Remove invalid assertion from ConfigBroadcastSnapshotRequest handling 2021-08-18 13:24:00 -07:00
sfc-gh-tclinkenbeard 0bacc310ef Reenable consumer in config broadcaster 2021-08-17 12:09:12 -07:00
sfc-gh-tclinkenbeard 616a01d01d Only register each worker once with config broadcaster (consumer currently disabled) 2021-08-17 11:45:50 -07:00
sfc-gh-tclinkenbeard 3418c20867 Merge remote-tracking branch 'origin/master' into paxos-config-db 2021-08-16 10:49:47 -07:00
Lukas Joswiak 1faec36bc6 Wait for all snapshot replies before sending incremental changes 2021-08-11 11:17:51 -07:00
Lukas Joswiak c098a1128d Push snapshot changes to local configuration on refresh 2021-08-11 09:13:22 -07:00
Lukas Joswiak b112560c94 Reorder registerWorker to prevent potential conflict 2021-08-10 15:09:35 -07:00
Lukas Joswiak f018af6ee4
Update fdbserver/ConfigBroadcaster.actor.cpp
Co-authored-by: Trevor Clinkenbeard <trevor.clinkenbeard@snowflake.com>
2021-08-10 13:24:41 -07:00
Lukas Joswiak d27c9e2520 Revert error check 2021-08-10 12:41:41 -07:00
Lukas Joswiak a838a47b0b Use ActorCollection for consumer future 2021-08-10 12:27:19 -07:00
Lukas Joswiak 598b23f8d4 Merge branch 'features/broadcaster-push' of github.com:sfc-gh-ljoswiak/foundationdb into features/broadcaster-push 2021-08-10 12:08:16 -07:00
Lukas Joswiak 5dfd7c4b1a Remove redundant dead worker check 2021-08-10 11:56:58 -07:00
Lukas Joswiak cf81b0650d Only register consumer once on the broadcaster 2021-08-10 11:56:16 -07:00
Lukas Joswiak 72e55ef72e Add broadcaster error check to unit tests 2021-08-10 11:39:29 -07:00
Lukas Joswiak 564a3d69b7 Rename config broadcast interface messages 2021-08-10 11:39:29 -07:00
Lukas Joswiak 85fa264a16 Remove move constructor and assignment operator 2021-08-10 11:39:29 -07:00
Lukas Joswiak 305a17c811 Improve config broadcaster logic, fix unit tests 2021-08-10 11:39:29 -07:00
Lukas Joswiak 72e63db856 Send ConfigBroadcastInterface to ConfigBroadcaster instead of entire worker interface 2021-08-10 11:39:29 -07:00
Lukas Joswiak 3946cf94ff Push updates to workers (clang-formatted files) 2021-08-10 11:39:29 -07:00
Lukas Joswiak 092ab4302b Push updates to workers 2021-08-10 11:39:29 -07:00
Lukas Joswiak 3a607d9a38
Update fdbserver/ConfigBroadcaster.actor.cpp
Co-authored-by: Trevor Clinkenbeard <trevor.clinkenbeard@snowflake.com>
2021-08-10 09:36:39 -07:00
Lukas Joswiak c97a1b3b4d Remove move constructor and assignment operator 2021-08-09 15:33:01 -07:00
Lukas Joswiak 5249105b04 Improve config broadcaster logic, fix unit tests 2021-08-09 13:20:06 -07:00
sfc-gh-tclinkenbeard 82546853c0 Rename UseConfigDB to ConfigDBType 2021-08-09 10:04:35 -07:00
sfc-gh-tclinkenbeard b15daf1886 Added PImpl class
This class propogates the constness of methods to their pimpl
implementations
2021-08-09 10:04:34 -07:00
Lukas Joswiak fae29dbb1f Send ConfigBroadcastInterface to ConfigBroadcaster instead of entire worker interface 2021-08-06 12:42:07 -07:00
Lukas Joswiak 38d05a2f49 Push updates to workers (clang-formatted files) 2021-08-05 18:57:12 -07:00
Lukas Joswiak 0116d17dbb Push updates to workers 2021-08-05 18:50:11 -07:00
sfc-gh-tclinkenbeard b20e02ca25 Fix more -Wreorder-ctor warnings across several files 2021-07-24 11:43:19 -07:00
sfc-gh-tclinkenbeard 3442ebd3b7 Fix more -Wreorder-ctor warnings across many files 2021-07-24 11:20:51 -07:00
sfc-gh-tclinkenbeard a61bad0ad7 Fix gcc -Wsubobject-linkage warning 2021-06-18 17:12:32 -07:00
sfc-gh-tclinkenbeard 9d62887f35 Addressed review comments 2021-06-16 11:34:20 -07:00
sfc-gh-tclinkenbeard dced72ea1f Addressed review comments 2021-06-14 20:19:05 -07:00
sfc-gh-tclinkenbeard 13ee24f464 Add UseConfigDB class 2021-06-10 20:57:50 -07:00
sfc-gh-tclinkenbeard 669ca0bb14 Add comments to configuration database code 2021-06-10 17:14:37 -07:00
sfc-gh-tclinkenbeard 6fc5bd3480 Remove TestID from stateful configuration database classes, and fix some bugs 2021-06-07 00:29:36 -07:00
sfc-gh-tclinkenbeard 39e43801aa Add ConfigBroadcastFollowerGetChangesReply class 2021-06-06 08:52:07 -07:00
sfc-gh-tclinkenbeard 03be6ce8da Remove KnobValueRef::Clear class 2021-06-02 21:36:34 -07:00
sfc-gh-tclinkenbeard 4c059670a0 Parse configuration knob values on the client 2021-06-02 10:04:46 -07:00
sfc-gh-tclinkenbeard ca0893571c Move server knobs into fdbclient 2021-06-01 03:12:47 -07:00
sfc-gh-tclinkenbeard 3d733deec9 Normalize configuration commit annotations 2021-05-24 01:25:50 -07:00
sfc-gh-tclinkenbeard 34681fb052 Combine STL container helper functions in ConfigBroadcaster.actor.cpp 2021-05-23 16:50:35 -07:00
sfc-gh-tclinkenbeard 1d14f998e7 Add configuration database node compaction unit tests 2021-05-23 16:44:06 -07:00
sfc-gh-tclinkenbeard 42d387747b Introduce ConfigBroadcastFollowerInterface for broadcaster to local configuration communication 2021-05-23 00:41:15 -07:00
sfc-gh-tclinkenbeard 3d97d92acf Address/remove some TODO comments 2021-05-18 19:14:22 -07:00