From e7df5bf830fbf169426bf9d61b878965802bff85 Mon Sep 17 00:00:00 2001 From: Marek Siarkowicz Date: Mon, 16 Dec 2024 13:24:04 +0100 Subject: [PATCH] Wait for cluster version to non-default value to remove errors when cluster is bootstrapping. Signed-off-by: Marek Siarkowicz --- server/etcdserver/version/monitor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/etcdserver/version/monitor.go b/server/etcdserver/version/monitor.go index 15697e960c2..b3e7f5804e1 100644 --- a/server/etcdserver/version/monitor.go +++ b/server/etcdserver/version/monitor.go @@ -106,7 +106,7 @@ func (m *Monitor) decideClusterVersion() (*semver.Version, error) { // UpdateStorageVersionIfNeeded updates the storage version if it differs from cluster version. func (m *Monitor) UpdateStorageVersionIfNeeded() { cv := m.s.GetClusterVersion() - if cv == nil { + if cv == nil || cv.String() == version.MinClusterVersion { return } sv := m.s.GetStorageVersion()