14750 Commits

Author SHA1 Message Date
sfc-gh-tclinkenbeard
ea8396c9be Improve decoupling of configuration database interfaces and implementations 2021-05-17 15:31:03 -07:00
sfc-gh-tclinkenbeard
641882ef0b Add dummy PaxosConfixDatabaseNode implementation 2021-05-17 14:15:30 -07:00
sfc-gh-tclinkenbeard
32f38394b1 Added dummy PaxosConfigConsumer implementation 2021-05-17 13:41:50 -07:00
sfc-gh-tclinkenbeard
da2f773759 Update ISingleThreadTransaction::create to support PAXOS_CONFIG transactions 2021-05-17 13:15:40 -07:00
sfc-gh-tclinkenbeard
ba8d21e340 Added dummy PaxosConfigTransaction implementation 2021-05-17 13:02:55 -07:00
sfc-gh-tclinkenbeard
1e200a9cd3 Add 3 new configuration database unit tests:
/fdbserver/ConfigDB/Transaction/Restart
/fdbserver/ConfigDB/TransactionToLocalConfig/RestartNode
/fdbserver/ConfigDB/BroadcasterToLocalConfig/Compact
2021-05-17 00:52:24 -07:00
sfc-gh-tclinkenbeard
4b848867f9 Break down configuration database unit tests and fix some more bugs 2021-05-16 23:16:08 -07:00
sfc-gh-tclinkenbeard
1941d0eab3 More configuration database unit testing improvements 2021-05-16 17:25:41 -07:00
sfc-gh-tclinkenbeard
8b58eacf8b Remove waitUntil actor in ConfigDatabaseUnitTests.actor.cpp 2021-05-16 14:58:15 -07:00
sfc-gh-tclinkenbeard
be2e9e1b5a Refactor ConfigDatabaseUnitTests 2021-05-16 14:36:52 -07:00
sfc-gh-tclinkenbeard
e86532d40a Added /fdbserver/ConfigDB/TransactionToLocalConfig/ unit tests 2021-05-15 22:28:12 -07:00
sfc-gh-tclinkenbeard
40605f896f Improvements to configuration database unit testing 2021-05-15 20:38:41 -07:00
sfc-gh-tclinkenbeard
5c3b293fce Fix some SimpleConfigTransaction bugs 2021-05-15 12:41:16 -07:00
sfc-gh-tclinkenbeard
bb61a20851 Improve const-correctness of ISingleThreadTransaction 2021-05-15 00:23:21 -07:00
sfc-gh-tclinkenbeard
01eab20fc0 Remove duplicate Knobs::reset code 2021-05-14 23:02:40 -07:00
sfc-gh-tclinkenbeard
d7692b628f Support global configuration database updates 2021-05-14 19:34:21 -07:00
sfc-gh-tclinkenbeard
1eeb341f16 Add more fine-grained unit testing of LocalConfiguration 2021-05-14 15:37:14 -07:00
sfc-gh-tclinkenbeard
8c6c06a6dd Remove duplicate logic from ConfigDatabaseUnitTests.actor.cpp 2021-05-14 15:05:33 -07:00
sfc-gh-tclinkenbeard
9477a6f60f Speed up /fdbserver/ConfigDB/ConfigBroadcaster/CheckpointedUpdates test 2021-05-14 13:49:18 -07:00
sfc-gh-tclinkenbeard
793cca61cb Test changing broadcaster in ConfigDB unit tests 2021-05-14 13:30:04 -07:00
sfc-gh-tclinkenbeard
bfb88805ab Added /fdbserver/ConfigDB/ConfigBroadcaster/Compact unit test 2021-05-14 12:30:17 -07:00
sfc-gh-tclinkenbeard
2a1593f6b3 Use multiple consumers in /fdbserver/ConfigDB/ConfigBroadcaster/CheckpointedUpdates unit test 2021-05-14 11:35:25 -07:00
sfc-gh-tclinkenbeard
65ea89fa44 Add pollingInterval and compactionInterval fields to SimpleConfigConsumer 2021-05-14 11:03:22 -07:00
sfc-gh-tclinkenbeard
c4a5662d1b Added /fdbserver/ConfigDB/ConfigBroadcaster/CheckpointedUpdates unit test 2021-05-14 10:38:01 -07:00
sfc-gh-tclinkenbeard
e8040dc609 Get /fdbserver/ConfigDB/ConfigBroadcaster/Simple unit test passing 2021-05-14 00:41:02 -07:00
sfc-gh-tclinkenbeard
b3565080dd Improve configuration database logging 2021-05-13 16:39:58 -07:00
sfc-gh-tclinkenbeard
5298d9b870 Add LocalConfigurationMetrics logging 2021-05-13 16:08:02 -07:00
sfc-gh-tclinkenbeard
674b0e09f8 Test manual knob overrides in LocalConfiguration unit tests 2021-05-13 14:17:52 -07:00
sfc-gh-tclinkenbeard
8ba4153732 ConfigDatabaseUnitTests refactoring 2021-05-13 12:55:33 -07:00
sfc-gh-tclinkenbeard
6a163c0df9 Add basic ConfigBroadcaster unit test 2021-05-13 11:22:25 -07:00
sfc-gh-tclinkenbeard
6836bec63b Added IDependentAsyncVar generic class 2021-05-13 00:51:19 -07:00
sfc-gh-tclinkenbeard
77f8b18456 Extend LocalConifguration unit tests
And fix uncovered bug in LocalConfiguration::setSnapshot
2021-05-12 21:33:32 -07:00
sfc-gh-tclinkenbeard
dbb6eb5a9a Implement LocalConfiguration restart unit tests 2021-05-12 19:56:16 -07:00
sfc-gh-tclinkenbeard
32fd67aeb9 Fix LocalConfiguration unit test failure 2021-05-12 17:48:07 -07:00
sfc-gh-tclinkenbeard
511ce8d088 Use SimpleConfigConsumer in LocalConfiguration 2021-05-12 17:24:13 -07:00
sfc-gh-tclinkenbeard
93c9ccf47b Improve /fdbserver/ConfigDB/LocalConfiguration unit tests 2021-05-12 12:25:43 -07:00
sfc-gh-tclinkenbeard
16d670d3bb Add unit tests for LocalConfiguration 2021-05-12 11:56:45 -07:00
sfc-gh-tclinkenbeard
ba196b81aa Remove unused file 2021-05-12 10:13:07 -07:00
sfc-gh-tclinkenbeard
9c844916d8 Create new ConfigKnobOverrides and ManualKnobOverrides classes 2021-05-12 10:12:37 -07:00
sfc-gh-tclinkenbeard
8e5c396aca Add ConfigClassSet:::contains method 2021-05-11 18:54:37 -07:00
sfc-gh-tclinkenbeard
7681f38f45 Add config_classes command line option for fdbserver 2021-05-11 18:23:33 -07:00
sfc-gh-tclinkenbeard
a5749de6b6 Refactor ConfigBroadcaster 2021-05-11 16:57:37 -07:00
sfc-gh-tclinkenbeard
9d0843254f Store all types of knobs in LocalConfiguration 2021-05-11 13:33:39 -07:00
sfc-gh-tclinkenbeard
fc0fbfb5dc Minor configuration database bug fixes 2021-05-11 12:00:44 -07:00
sfc-gh-tclinkenbeard
21e5456230 Add schema to configuration database (not yet tested) 2021-05-11 11:12:19 -07:00
sfc-gh-tclinkenbeard
dce15d90d5 Add ThreadSafeDatabase::isConfigDB field 2021-05-10 18:15:56 -07:00
sfc-gh-tclinkenbeard
f7f4595d90 Fix SEGFAULT in call to ReadYourWritesTransaction::preinitializeOnForeignThread 2021-05-10 15:33:44 -07:00
sfc-gh-tclinkenbeard
121c48359d Revert "Make ThreadSafeTransaction implementation less verbose"
This reverts commit c7d5bbd2e0df08091e1d2bf6624f04f69ccab7ef.
2021-05-10 15:00:01 -07:00
sfc-gh-tclinkenbeard
28f923c087 Remove ISingleThreadTransaction::getMutableDeferredError 2021-05-10 14:09:08 -07:00
sfc-gh-tclinkenbeard
331dd2e377 Replace config_transaction option with use_config_database 2021-05-10 13:18:31 -07:00