Commit Graph

14735 Commits

Author SHA1 Message Date
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 c7d5bbd2e0.
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
sfc-gh-tclinkenbeard c7d5bbd2e0 Make ThreadSafeTransaction implementation less verbose 2021-04-30 12:05:58 -07:00
sfc-gh-tclinkenbeard ec58f0f0cf Improve const-correctness of ISingleThreadTransaction 2021-04-30 11:32:53 -07:00
sfc-gh-tclinkenbeard 852e0b4da0 Add id to localconf file name 2021-04-30 11:01:44 -07:00
sfc-gh-tclinkenbeard d20c3f7897 Mark methods as invalid in SimpleConfigTransaction.h 2021-04-30 09:55:38 -07:00
sfc-gh-tclinkenbeard 91f6f82cd8 Implement SimpleConfigTransaction::getCommittedVersion 2021-04-30 09:43:18 -07:00
sfc-gh-tclinkenbeard a3891a9246 Make SimpleConfigTransaction an implementation of ISingleThreadTransaction 2021-04-30 09:34:36 -07:00
sfc-gh-tclinkenbeard 0d9eaa5d6d Add ISingleThreadTransaction.h 2021-04-29 22:31:16 -07:00
sfc-gh-tclinkenbeard 4d3a7ceb44 Added simple DynamicKnobsWorkload 2021-04-29 16:32:30 -07:00
sfc-gh-tclinkenbeard 3b4932706d Encapsulate ConfigFollowerInterface::_id 2021-04-26 20:41:20 -07:00
sfc-gh-tclinkenbeard dc577b6608 Fix some bugs in distribution of configBroadcaster interface 2021-04-26 18:46:22 -07:00
sfc-gh-tclinkenbeard 7211d838cf Remove broadcastConfigDatabase actor 2021-04-26 15:54:08 -07:00
sfc-gh-tclinkenbeard 69a7bf4e3e Split LocalConfiguration knobs into default, configDatabase, and manual 2021-04-26 13:12:30 -07:00
sfc-gh-tclinkenbeard 65f5434f71 Expand LocalConfiguration (not yet tested) 2021-04-26 01:06:16 -07:00
sfc-gh-tclinkenbeard ae69608375 Very simple partial implementation of LocalConfiguration::consume 2021-04-25 19:01:17 -07:00
sfc-gh-tclinkenbeard 732fde2253 LocalConfiguration tracks serverDBInfo changes 2021-04-25 18:01:47 -07:00