From ced80ae8bd01abd3f3660b28cf319e74adbdfe42 Mon Sep 17 00:00:00 2001 From: Philip O'Toole Date: Sun, 4 Dec 2022 10:36:47 -0500 Subject: [PATCH] Remove unsuitable logic --- cmd/rqlited/main.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cmd/rqlited/main.go b/cmd/rqlited/main.go index 679eb251..4b14fb9b 100644 --- a/cmd/rqlited/main.go +++ b/cmd/rqlited/main.go @@ -371,10 +371,6 @@ func createCluster(cfg *Config, tlsConfig *tls.Config, hasPeers bool, str *store } if joins != nil && cfg.BootstrapExpect == 0 { - if hasPeers { - log.Println("preexisting node configuration detected, ignoring explicit join request") - return nil - } // Explicit join operation requested, so do it. j, err := joiner.Do(joins, str.ID(), cfg.RaftAdv, !cfg.RaftNonVoter) if err != nil {