Commit Graph

96 Commits

Author SHA1 Message Date
sfc-gh-tclinkenbeard 74212eeacf Encapsulate CounterCollection 2022-10-25 10:17:15 -07:00
Lukas Joswiak b2d395a304 Delay cluster controller restart when pushing knob updates to workers
This gives the `ConfigBroadcaster` time to send the knob change to all
workers before applying the change to itself and restarting.
2022-09-13 16:53:54 -07:00
Markus Pilman 1de37afd52
Make TEST macros C++ only (#7558)
* proof of concept

* use code-probe instead of test

* code probe working on gcc

* code probe implemented

* renamed TestProbe to CodeProbe

* fixed refactoring typo

* support filtered output

* print probes at end of simulation

* fix missed probes print

* fix deduplication

* Fix refactoring issues

* revert bad refactor

* make sure file paths are relative

* fix more wrong refactor changes
2022-07-19 13:15:51 -07:00
sfc-gh-tclinkenbeard 1cc9a5284c Avoid printing warnings in LocalConfiguration::ManualKnobOverrides constructor 2022-05-23 13:41:48 -07:00
sfc-gh-tclinkenbeard a71099471b Update copyright header dates 2022-03-21 13:36:23 -07:00
Lukas Joswiak 96bf4268eb Implement IClosable in OnDemandStore 2021-09-13 12:28:17 -07:00
FDB Formatster 2c788c233d apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-08-27 17:07:47 -07:00
Lukas Joswiak 4c92026213 Use existing error when triggering local config restart 2021-08-23 11:41:01 -07:00
Lukas Joswiak 338fc59673 Separate test knobs into atomic and nonatomic 2021-08-23 11:41:00 -07:00
Lukas Joswiak 4107c35538 Add atomic knob unit test 2021-08-23 11:41:00 -07:00
Lukas Joswiak 7998ec4232 Add atomicity to knobs 2021-08-23 11:41:00 -07:00
sfc-gh-tclinkenbeard 658233d0e0 Merge remote-tracking branch 'origin/master' into paxos-config-db 2021-08-19 16:18:59 -07:00
sfc-gh-tclinkenbeard 0fcca0eb60 Add IKnobCollection::clearTestKnobs to fix unit tests 2021-08-19 16:18:44 -07:00
sfc-gh-tclinkenbeard b6c669be23 Send ConfigBroadcastSnapshotReply to broadcaster 2021-08-19 14:45:30 -07:00
sfc-gh-tclinkenbeard 8faf418b45 Add back LocalConfiguration::initialize 2021-08-18 22:27:38 -07:00
sfc-gh-tclinkenbeard 62303af832 Remove invalid assertion from ConfigBroadcastSnapshotRequest handling 2021-08-18 13:24:00 -07:00
sfc-gh-tclinkenbeard e0981e71b2 Remove invalid assertion from LocalConfiguration::addChanges 2021-08-18 12:49:00 -07:00
sfc-gh-tclinkenbeard a7f9db8b76 Remove knob reinitialization from updateInMemoryState 2021-08-18 12:32:12 -07:00
Josh Slocum 074bd174b6 Fix worker segfault by reference counting LocalConfiguration 2021-08-18 14:07:20 -05:00
sfc-gh-tclinkenbeard 51ee619c16 Remove LocalConfiguration::initialize 2021-08-16 11:39:37 -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 564a3d69b7 Rename config broadcast interface messages 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 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
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
Trevor Clinkenbeard 5e1639ad32
Merge pull request #5222 from sfc-gh-tclinkenbeard/paxos-config-db
Simple (non-fault tolerant) implementation of replicated configuration database
2021-08-02 10:03:24 -07:00
sfc-gh-tclinkenbeard 59ddfd78bd Merge remote-tracking branch 'origin/master' into paxos-config-db 2021-07-28 12:54:02 -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 6f81155784 Merge remote-tracking branch 'origin/master' into const-serverdbinfo 2021-07-20 10:18:40 -07:00
sfc-gh-tclinkenbeard b24b46c862 Replace Standalone<RangeResultRef> with RangeResult in configuration database code 2021-07-18 14:26:15 -07:00
Steve Atherton f596a81073 Rename ::TRUE and ::FALSE in BooleanParams to ::True and ::False so as to not conflict with the TRUE and FALSE macros provided by the Windows and MacOS SDKs. 2021-07-17 00:11:40 -07:00
sfc-gh-tclinkenbeard 77cbc1aa81 s/IDependentAsyncVar/IAsyncListener 2021-07-12 16:09:30 -07:00
sfc-gh-tclinkenbeard 382533c4e1 Add FDB_ prefix to BOOLEAN_PARAM macros 2021-07-09 05:42:14 -07:00
sfc-gh-tclinkenbeard 8cc40e3a2b Expand use of BOOLEAN_PARAM 2021-07-02 21:41:50 -07:00
sfc-gh-tclinkenbeard a61bad0ad7 Fix gcc -Wsubobject-linkage warning 2021-06-18 17:12:32 -07:00
sfc-gh-tclinkenbeard 5cc97f1e01 Remove unnecessary Sev40 traces 2021-06-17 22:05:28 -07:00
sfc-gh-tclinkenbeard 4105a9f530 Improved error handling test coverage in LocalConfiguration 2021-06-16 13:10:14 -07:00
sfc-gh-tclinkenbeard 6a189830db Gracefully handle invalid manual knob value override 2021-06-16 12:16:12 -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 669ca0bb14 Add comments to configuration database code 2021-06-10 17:14:37 -07:00
sfc-gh-tclinkenbeard 30166724f1 Improved pimpl const-correctness in configuration database classes 2021-06-10 14:49:05 -07:00
sfc-gh-tclinkenbeard c272304e60 Manage global flow knobs with global knob collection 2021-06-09 22:33:00 -07:00
sfc-gh-tclinkenbeard 83a0e473e8 Refactor IKnobCollection code 2021-06-09 20:50:00 -07:00
sfc-gh-tclinkenbeard cfc4545135 Use g_knobs for SERVER_KNOBS and CLIENT_KNOBS 2021-06-07 14:32:51 -07:00
sfc-gh-tclinkenbeard a526d952d5 Address some TODO comments in LocalConfiguration.actor.cpp 2021-06-07 11:44:03 -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