Skip to content

Commit

Permalink
Adds a comment about protocol versions with the deprecated log entry …
Browse files Browse the repository at this point in the history
…types.
  • Loading branch information
slackpad committed Jul 30, 2016
1 parent e09eba6 commit d946c02
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions log.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ const (
// LogNoop is used to assert leadership.
LogNoop

// LogAddPeer is used to add a new peer.
// This is deprecated in favor of LogConfiguration.
// LogAddPeer is used to add a new peer. This should only be used with
// older protocol versions designed to be compatible with unversioned
// Raft servers. See comments in config.go for details.
LogAddPeerDeprecated

// LogRemovePeer is used to remove an existing peer.
// This is deprecated in favor of LogConfiguration.
// LogRemovePeer is used to remove an existing peer. This should only be
// used with older protocol versions designed to be compatible with
// unversioned Raft servers. See comments in config.go for details.
LogRemovePeerDeprecated

// LogBarrier is used to ensure all preceding operations have been
Expand Down

0 comments on commit d946c02

Please sign in to comment.