Skip to content

Commit

Permalink
Wait for cluster version to non-default value to remove errors when c…
Browse files Browse the repository at this point in the history
…luster is bootstrapping.

Signed-off-by: Marek Siarkowicz <[email protected]>
  • Loading branch information
serathius committed Dec 16, 2024
1 parent 3241803 commit e7df5bf
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 e7df5bf

Please sign in to comment.