Skip to content

Commit

Permalink
Merge pull request #19068 from serathius/wait-cluster-version
Browse files Browse the repository at this point in the history
Wait for cluster version to non-default value to remove errors when cluster is bootstrapping.
  • Loading branch information
serathius authored Dec 16, 2024
2 parents 3241803 + e7df5bf commit 3acf3e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/etcdserver/version/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 3acf3e5

Please sign in to comment.