Browse Source

Merge pull request #3813 from yichengq/update-version

*: update clusterMinVersion and feature maps for incoming v2.3
Yicheng Qin 10 years ago
parent
commit
47cad59571
3 changed files with 3 additions and 1 deletions
  1. 1 0
      etcdserver/etcdhttp/capability.go
  2. 1 0
      rafthttp/stream.go
  3. 1 1
      version/version.go

+ 1 - 0
etcdserver/etcdhttp/capability.go

@@ -37,6 +37,7 @@ var (
 	capabilityMaps = map[string]map[capability]bool{
 		"2.1.0": {authCapability: true},
 		"2.2.0": {authCapability: true},
+		"2.3.0": {authCapability: true},
 	}
 
 	enableMapMu sync.Mutex

+ 1 - 0
rafthttp/stream.go

@@ -48,6 +48,7 @@ var (
 		"2.0.0": {},
 		"2.1.0": {streamTypeMsgAppV2, streamTypeMessage},
 		"2.2.0": {streamTypeMsgAppV2, streamTypeMessage},
+		"2.3.0": {streamTypeMsgAppV2, streamTypeMessage},
 	}
 )
 

+ 1 - 1
version/version.go

@@ -26,7 +26,7 @@ import (
 
 var (
 	// MinClusterVersion is the min cluster version this etcd binary is compatible with.
-	MinClusterVersion = "2.1.0"
+	MinClusterVersion = "2.2.0"
 	Version           = "2.2.0+git"
 
 	// Git SHA Value will be set during build