1
0
mirror of https://github.com/apple/foundationdb.git synced 2025-05-24 08:09:58 +08:00

54 Commits

Author SHA1 Message Date
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
sfc-gh-tclinkenbeard
89dadf1475 Create IKnobCollection interface 2021-06-02 23:40:52 -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
f4edd60e29 Listen for IKeyValueStore errors in stateful configuration database objects 2021-05-30 08:14:22 -07:00
sfc-gh-tclinkenbeard
1cb37a6216 Create local configuration files on demand 2021-05-23 21:03:15 -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
a12f68d78c Make specific configuration overrides override global configuration overrides 2021-05-21 16:21:31 -07:00
sfc-gh-tclinkenbeard
ec7a92342a Support digits in configPath 2021-05-20 21:51:54 -07:00
sfc-gh-tclinkenbeard
95e8a64a24 Added some more configuration database unit tests 2021-05-18 21:29:40 -07:00
sfc-gh-tclinkenbeard
3d97d92acf Address/remove some TODO comments 2021-05-18 19:14:22 -07:00
sfc-gh-tclinkenbeard
0dd11cb2f6 Added --ignore_config_db and --use_test_config_db command line arguments 2021-05-17 19:14:32 -07:00
sfc-gh-tclinkenbeard
ea8396c9be Improve decoupling of configuration database interfaces and implementations 2021-05-17 15:31:03 -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
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
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
65ea89fa44 Add pollingInterval and compactionInterval fields to SimpleConfigConsumer 2021-05-14 11:03:22 -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
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
9c844916d8 Create new ConfigKnobOverrides and ManualKnobOverrides classes 2021-05-12 10:12: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
852e0b4da0 Add id to localconf file name 2021-04-30 11:01:44 -07:00
sfc-gh-tclinkenbeard
4d3a7ceb44 Added simple DynamicKnobsWorkload 2021-04-29 16:32:30 -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