From 3c57705cd1e00fd76d88099729757a42eca3f98f Mon Sep 17 00:00:00 2001 From: Preetha Appan Date: Fri, 5 Jan 2018 14:22:08 -0600 Subject: [PATCH] Add a TODO comment around handling peer address for remove peer correctly for raft protocol 3 --- nomad/server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nomad/server.go b/nomad/server.go index 1bd77e3bb76..7648c74360f 100644 --- a/nomad/server.go +++ b/nomad/server.go @@ -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