FEATURES:
* Force Leave command can now take prune
option to completely remove members [GH-574]
IMPROVEMENTS:
IMPROVEMENTS:
UserSizeLimit
is configurable [GH-530]FEATURES:
IMPROVEMENTS:
BUG FIXES:
IMPROVEMENTS:
FEATURES:
IMRPOVEMENTS:
BUG FIXES:
FEATURES:
GetCoordinate
API as as well as aserf rtt
command to query RTT interactivelyIMPROVEMENTS:
statsd_addr
for sending metrics via UDP to statsdserf info
command now displays event handlers [GH-312]MemberLeave
message to the EventCh
for a force-leave so higher-BUG FIXES:
MergeRemoteState
IMPROVEMENTS:
SERF_RPC_AUTH
environment variable can be used in place of CLI flags.join
behavior when using DNS resolutionBUG FIXES:
MISC:
IMPROVEMENTS:
statsite_addr
configuration to stream to statsiteBUG FIXES:
MISC:
IMPROVEMENTS:
syslog_facility
configuration to set facilityBUG FIXES:
MISC:
BUG FIXES:
On Windows, a "failed to decode request header" error will no
longer be shown on every RPC request.
Avoiding holding a lock which can cause monitor/stream commands to
fail when an event handler is blocking
Fixing conflict response decoding errors
IMPROVEMENTS:
Improved agent CLI usage documentation
Warn if an event handler is slow, potentially blocking other events
FEATURES:
Support for key rotation when using encryption. This adds a new
serf keys
command, and a -keyring-file
configuration. Thanks
to @ryanuber.
New -tags-file
can be specified to persist changes to tags made
via the RPC interface. Thanks to @ryanuber.
New serf info
command to provide operator debugging information,
and to get info about the local node.
Adding -retry-join
flag to agent which enables retrying the join
until success or -retry-max
attempts have been made.
IMPROVEMENTS:
New -rejoin
flag can be used along with a snapshot file to
automatically rejoin a cluster.
Agent uses circular buffer to invoke handlers, guards against unbounded
output lengths.
Adding support for logging to syslog
The SERF_RPC_ADDR environment variable can be used instead of the
-rpc-addr
flags. Thanks to @lalyos [GH-209].
serf query
can now output the results in a JSON format.
Unknown configuration directives generate an error [GH-186].
Thanks to @vincentbernat.
BUG FIXES:
Fixing environmental variables with invalid characters. [GH-200].
Thanks to @arschles.
Fixing issue with tag changes with hard restart before
failure detection.
Fixing issue with reconnect when using dynamic ports.
MISC:
Improved logging of various error messages
Improved debian packaging. Thanks to @vincentbernat.
FEATURES:
New query
command provides a request/response mechanism to do realtime
queries across the cluster. [GH-139]
Automatic conflict resolution. Serf will detect name conflicts, and use an
internal query to determine which node is in the minority and perform a shutdown.
[GH-167] [GH-119]
New reachability
command can be used to help diagnose network and configuration
issues.
Added member-reap
event to get notified of when Serf removes a failed or left
node from the cluster. The reap interval is controlled by reconnect_timeout
and
tombstone_timeout
respectively. [GH-172]
IMPROVEMENTS:
New Recipes section on the site to share Serf tips. Thanks to @ryanuber. [GH-177]
members
command has new -name
filter flag. Thanks to @ryanuber [GH-164]
New RPC command "members-filtered" to move filtering logic to the agent.
Thanks to @ryanuber. [GH-149]
reconnect_interval
and reconnect_timeout
can be provided to configure
agent behavior for attempting to reconnect to failed nodes. [GH-155]
tombstone_interval
can be provided to configure the reap time for nodes
that have gracefully left. [GH_172]
Agent can be provided rpc_auth
config to require that RPC is authenticated.
All commands can take a -rpc-auth
flag now. [GH-148]
BUG FIXES:
Fixed config folder in Upstart script. Thanks to @llchen223. [GH-174]
Event handlers are correctly invoked when BusyBox is the shell. [GH-156]
Event handlers were not being invoked with the correct SERF_TAG_* values
if tags were changed using the tags
command. [GH-169]
MISC:
FEATURES:
tags
command is available to dynamically update tags withoutIMPROVEMENTS:
Upstart receipe logs output thanks to @breerly [GH-128]
members
can filter on any tag thanks to @hmrm [GH-124]
Added vagrant demo to make a simple cluster
members
now columnizes the output thanks to @ryanuber [GH-138]
Agent passes its own environment variables through thanks to @mcroydon [GH-142]
-iface
flag can be used to bind to interfaces [GH-145]
BUG FIXES:
-config-dir would cause protocol to be set to 0 if there are no
configuration files in the directory [GH-129]
Event handlers can filter on 'member-update'
User event handler appends new line, this was being omitted
IMPROVEMENTS:
FEATURES:
Static role
has 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-update
event
to be triggered. [GH-111] [GH-98]
Serf can automatically discover peers uing mDNS when provided the -discover
flag. 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 USR1
signal to Serf. Windows users must use
the BREAK
signal instead. [GH-103]
advertise
flag can be used to set an advertise address different
from the bind address. Used for NAT traversal. Thanks to @benagricola [GH-93]
members
command now takes -format
flag to specify either text or JSON
output. Fixed by @ryanuber [GH-97]
IMPROVEMENTS:
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
failed
state, instead of having duplicate entries in the alive
state.
leave_on_interrupt
set to false when not specified, if
any config file is provided. This flag is deprecated for
skip_leave_on_interrupt
instead. [GH-94]
MISC:
-role
configuration 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.
FEATURES:
profile
config to agent, to support WAN, LAN, and Local modesleave
CLI command and RPC endpoint to control graceful leavesIMPROVEMENTS:
members
using regular expressions on role and statusreplay_on_join
parameter to control replay with start_join
monitor
works even if the client is behind a NATBUG FIXES:
BUG FIXES:
FEATURES:
-config-file
and/or -config-dir
flags to the agent.serf force-leave
can be used to force a "failed" node-join
flag on serf agent
can be used to join a cluster whenIMPROVEMENTS:
serf members
now provides node roles in output-replay
flag.BUG FIXES:
cmd /C
[GH-37]BUG FIXES: