Commit Graph

39 Commits

Author SHA1 Message Date
Renxuan Wang bd6d765b83 Fix ConfigFollowerInterface constructor. 2022-04-08 14:21:49 -07:00
Renxuan Wang 267c4deaee
Add tryGetReplyFromHostname() and retryGetReplyFromHostname(). (#6761)
* Add hostname to coordination interfaces.

* Add tryGetReplyFromHostname() and retryGetReplyFromHostname().

* Change tryGetReplyFromHostname() to call hostname.resolve().

* Add throw for actor_cancelled.
2022-04-06 10:47:00 -07:00
sfc-gh-tclinkenbeard a71099471b Update copyright header dates 2022-03-21 13:36:23 -07:00
Lukas Joswiak 582ba5d519 Fix issue with stuck config nodes
In rare circumstances where the cluster controller dies / moves to a new
machine, sometimes only a minority of `ConfigNode`s received messages
telling them they were registered. When the `ConfigNode`s attempt to
register with the new broadcaster (on the new cluster controller), the
knob system would get stuck because only a minority would be registered.
Part of this change allows registration of unregistered `ConfigNode`s if
there is no path to a majority of registered nodes.
2022-03-15 11:42:58 -07:00
Lukas Joswiak d5a562e6b8 Fix dynamic knobs correctness issues 2022-02-09 13:43:32 -08:00
Lukas Joswiak 92998fd20b Merge rollback message into rollforward message 2021-10-25 12:03:22 -07:00
Lukas Joswiak 7357d7714c Retry with well known endpoints, move last committed check to consumer 2021-10-25 12:03:22 -07:00
Lukas Joswiak 48dc91dd7f Add rollback and rollforward logic to ConfigBroadcaster 2021-10-25 12:03:22 -07:00
Lukas Joswiak 83d6c319fb Cleanup, refactor, add unit test 2021-09-21 14:31:41 -07:00
Lukas Joswiak 9c561f49d9 Overwrite existing mutations with rollforward mutations, use existing annotations 2021-09-21 14:31:41 -07:00
Lukas Joswiak a79aea108c Add rollforward capability to ConfigNode 2021-09-21 14:31:41 -07:00
Lukas Joswiak 919d2566e0 Add rollback capability to ConfigNode 2021-09-21 14:31:41 -07:00
sfc-gh-tclinkenbeard 013a3c60bf Server committed version requests in SimpleConfigDatabaseNode 2021-07-18 17:56:44 -07:00
sfc-gh-tclinkenbeard 9cfd6ed955 Add simple implementation to PaxosConfigConsumer 2021-07-18 17:07:10 -07:00
sfc-gh-tclinkenbeard 669ca0bb14 Add comments to configuration database code 2021-06-10 17:14:37 -07:00
sfc-gh-tclinkenbeard 4c059670a0 Parse configuration knob values on the client 2021-06-02 10:04:46 -07:00
sfc-gh-tclinkenbeard 3d733deec9 Normalize configuration commit annotations 2021-05-24 01:25:50 -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
sfc-gh-tclinkenbeard 748a3ebfbe Add GetSnapshotAndChangesRequest type 2021-05-18 15:28:44 -07:00
sfc-gh-tclinkenbeard d7692b628f Support global configuration database updates 2021-05-14 19:34:21 -07:00
sfc-gh-tclinkenbeard bfb88805ab Added /fdbserver/ConfigDB/ConfigBroadcaster/Compact unit test 2021-05-14 12:30:17 -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 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 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 21e5456230 Add schema to configuration database (not yet tested) 2021-05-11 11:12:19 -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 65f5434f71 Expand LocalConfiguration (not yet tested) 2021-04-26 01:06:16 -07:00
sfc-gh-tclinkenbeard 9bed1f7aa5 Run SimpleConfigBroadcaster on cluster controller 2021-04-25 17:20:02 -07:00
sfc-gh-tclinkenbeard c63cf5da26 Make ConfigFollowerInterface copyable 2021-04-25 16:07:32 -07:00
sfc-gh-tclinkenbeard 1a6dcd6677 Added SimpleConfigDatabase compaction (not yet tested) 2021-04-23 09:22:47 -07:00
sfc-gh-tclinkenbeard 53697c316c Expand ConfigurationDatabaseWorkload to support running multiple clients, broadcasters, and consumers 2021-04-22 13:54:58 -07:00
sfc-gh-tclinkenbeard 8a30ebf27f Several improvements to SimpleConfig pipeline and test workload 2021-04-21 21:37:42 -07:00
sfc-gh-tclinkenbeard 050eb079bd Add ConfigFollowerCompactRequest 2021-04-21 12:18:52 -07:00
sfc-gh-tclinkenbeard 2f7e752eee Store mutation log on SimpleConfigDatabaseNode 2021-04-16 20:20:41 -07:00
sfc-gh-tclinkenbeard f54f082159 Build interfaces for full config update pipeline 2021-04-16 17:58:00 -07:00