Add a TODO comment around handling peer address for remove peer correctly for raft protocol 3

This commit is contained in:
Preetha Appan
2018-01-05 14:22:08 -06:00
parent 357213d8ea
commit 3c57705cd1

View File

@@ -425,8 +425,8 @@ func (s *Server) Leave() error {
return err
}
// TODO (alexdadgar) - This will need to be updated once we support node
// IDs.
// TODO (alexdadgar) - This will need to be updated before 0.8 release to
// correctly handle using node IDs instead of address when raftProtocol = 3
addr := s.raftTransport.LocalAddr()
// If we are the current leader, and we have any other peers (cluster has multiple