Serf v0.4.0 Release NotesRelease Date: 2014-01-31 // about 6 years ago
rolehas been replaced with dynamic tags. Each agent can have multiple key/value tags associated using
-tag. Tags can be updated using a SIGHUP and are advertised to the cluster, causing the
member-updateevent to be triggered. [GH-111] [GH-98]
Serf can automatically discover peers uing mDNS when provided the
-discoverflag. In network environments supporting multicast, no explicit join is needed to find peers. [GH-53]
Serf collects telemetry information and simple runtime profiling. Stats can be dumped to stderr by sending a
USR1signal to Serf. Windows users must use the
BREAKsignal instead. [GH-103]
advertiseflag can be used to set an advertise address different from the bind address. Used for NAT traversal. Thanks to @benagricola [GH-93]
memberscommand now takes
-formatflag to specify either text or JSON output. Fixed by @ryanuber [GH-97]
User payload always appends a newline when invoking a shell script
Severity of "Potential blocking operation" reduced to debug to prevent spurious messages on slow or busy machines.
🐛 BUG FIXES:
If an agent is restarted with the same bind address but new name, it will not respond to the old name, causing the old name to enter the
failedstate, instead of having duplicate entries in the
leave_on_interruptset to false when not specified, if any config file is provided. This flag is deprecated for
-roleconfiguration has been deprecated in favor of
-tag role=foo. The flag is still supported but will generate warnings.
Support for protocol version 0 (Serf 0.1) has been removed. Serf 0.4 cannot join a cluster that has members running version 0.1.