Skip to content

Commit

Permalink
update sample config (was missing cluster-tracing as well).
Browse files Browse the repository at this point in the history
  • Loading branch information
corylanou committed Nov 11, 2015
1 parent 4187fbb commit 615024a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions etc/config.sample.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ reporting-disabled = false
heartbeat-timeout = "1s"
leader-lease-timeout = "500ms"
commit-timeout = "50ms"
cluster-tracing = false

# if enabled, when a raft cluster loses a peer due to a `DROP SERVER` command,
# the leader will automatically ask a non-raft peer node to promote to a raft
# peer. This only happens if there is a non-raft peer node available to promote.
raft-promotion-enabled = true

This comment has been minimized.

Copy link
@corylanou

corylanou Nov 11, 2015

Author Contributor

This comment has been minimized.

Copy link
@otoolep

otoolep Nov 11, 2015

Contributor

Needs a slight tweak IMHO.

# If enabled, when a Raft cluster loses a peer due to a `DROP SERVER` command,
# the leader will automatically ask a non-raft peer node to promote to a raft
# peer. This only happens if there is a non-raft peer node available to promote.
# This setting only affects the local node, so to ensure if operates correctly, be sure to set
# it in the config of every node.

Or something to that effect.


###
### [data]
Expand Down

0 comments on commit 615024a

Please sign in to comment.