Log for src/config.rs
-
Adjust to new clippy lints by Caio 2 years ago
-
Introduces Config::periodic_announce_to_down_members 💬 by Caio 2 years ago
New feature to (try to) recorver from network partitions
-
Config::remove_down_after now defaults to 24h by Caio 3 years ago
-
Forget down members after 2min instead of 15s 💬 by Caio 3 years ago
15s is definitely too short for reasonably sized clusters: it makes it too easy for a member to be declared down and forgotten during any short-lived stall With identities opting-in on auto-rejoin this setting can be set to a very high value with no real worry.
-
Ability to periodically gossip 💬 by Caio 3 years ago
This introduces Config::periodic_gossip which instructs foca to disseminate cluster updates to random members with a fixed frequency so that the cluster learns new information faster periodic announce paved the way, so this was mostly copy-paste :-)
-
Ability to periodically announce to the cluster 💬 by Caio 3 years ago
This introduces Config::periodic_announce, which allows users to instrcut foca to periodically send a Announce message to random members so that it learns about every cluster member faster
-
Ability to notify active down members 💬 by Caio 3 years ago
When a member is declared down by the cluster, its messages get ignored until the cluster "forgets" it went down (i.e.: after `Config::remove_down_after` expires). This patch introduces a new setting `Config::notify_down_members` which makes foca send a lightweight message to said members when they're down.
-
Helpers to generate Config based on cluster size 💬 by Caio 4 years ago
This patch introduces `Config::new_lan` and `Config::new_wan` methods to derive configurations that should work well in their parciular network environment. Settings are a direct port from hashicorp's memberlist, mistakes are mine.
-
Initial public commit 💬 by Caio 4 years ago
Probably good enough for a first experimental release