Merge pull request #94105 from liggitt/etcd-3.4.12
Update to etcd client version 3.4.12
This commit is contained in:
		
							
								
								
									
										4
									
								
								go.mod
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								go.mod
									
									
									
									
									
								
							| @@ -97,7 +97,7 @@ require ( | |||||||
| 	github.com/urfave/negroni v1.0.0 // indirect | 	github.com/urfave/negroni v1.0.0 // indirect | ||||||
| 	github.com/vishvananda/netlink v1.1.0 | 	github.com/vishvananda/netlink v1.1.0 | ||||||
| 	github.com/vmware/govmomi v0.20.3 | 	github.com/vmware/govmomi v0.20.3 | ||||||
| 	go.etcd.io/etcd v0.5.0-alpha.5.0.20200716221620-18dfb9cca345 | 	go.etcd.io/etcd v0.5.0-alpha.5.0.20200819165624-17cef6e3e9d5 | ||||||
| 	golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 | 	golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 | ||||||
| 	golang.org/x/net v0.0.0-20200707034311-ab3426394381 | 	golang.org/x/net v0.0.0-20200707034311-ab3426394381 | ||||||
| 	golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6 | 	golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6 | ||||||
| @@ -415,7 +415,7 @@ replace ( | |||||||
| 	github.com/xordataexchange/crypt => github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77 | 	github.com/xordataexchange/crypt => github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77 | ||||||
| 	github.com/yuin/goldmark => github.com/yuin/goldmark v1.1.27 | 	github.com/yuin/goldmark => github.com/yuin/goldmark v1.1.27 | ||||||
| 	go.etcd.io/bbolt => go.etcd.io/bbolt v1.3.5 | 	go.etcd.io/bbolt => go.etcd.io/bbolt v1.3.5 | ||||||
| 	go.etcd.io/etcd => go.etcd.io/etcd v0.5.0-alpha.5.0.20200716221620-18dfb9cca345 // 18dfb9cca345 is the SHA for git tag v3.4.10 | 	go.etcd.io/etcd => go.etcd.io/etcd v0.5.0-alpha.5.0.20200819165624-17cef6e3e9d5 // 17cef6e3e9d5 is the SHA for git tag v3.4.12 | ||||||
| 	go.mongodb.org/mongo-driver => go.mongodb.org/mongo-driver v1.1.2 | 	go.mongodb.org/mongo-driver => go.mongodb.org/mongo-driver v1.1.2 | ||||||
| 	go.opencensus.io => go.opencensus.io v0.22.2 | 	go.opencensus.io => go.opencensus.io v0.22.2 | ||||||
| 	go.uber.org/atomic => go.uber.org/atomic v1.4.0 | 	go.uber.org/atomic => go.uber.org/atomic v1.4.0 | ||||||
|   | |||||||
							
								
								
									
										4
									
								
								go.sum
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								go.sum
									
									
									
									
									
								
							| @@ -466,8 +466,8 @@ github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1: | |||||||
| github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= | github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= | ||||||
| go.etcd.io/bbolt v1.3.5 h1:XAzx9gjCb0Rxj7EoqcClPD1d5ZBxZJk0jbuoPHenBt0= | go.etcd.io/bbolt v1.3.5 h1:XAzx9gjCb0Rxj7EoqcClPD1d5ZBxZJk0jbuoPHenBt0= | ||||||
| go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= | go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= | ||||||
| go.etcd.io/etcd v0.5.0-alpha.5.0.20200716221620-18dfb9cca345 h1:2gOG36vt1BhUqpzxwZLZJxUim2dHB05vw+RAn4Q6YOU= | go.etcd.io/etcd v0.5.0-alpha.5.0.20200819165624-17cef6e3e9d5 h1:Gqga3zA9tdAcfqobUGjSoCob5L3f8Dt5EuOp3ihNZko= | ||||||
| go.etcd.io/etcd v0.5.0-alpha.5.0.20200716221620-18dfb9cca345/go.mod h1:skWido08r9w6Lq/w70DO5XYIKMu4QFu1+4VsqLQuJy8= | go.etcd.io/etcd v0.5.0-alpha.5.0.20200819165624-17cef6e3e9d5/go.mod h1:skWido08r9w6Lq/w70DO5XYIKMu4QFu1+4VsqLQuJy8= | ||||||
| go.mongodb.org/mongo-driver v1.1.2 h1:jxcFYjlkl8xaERsgLo+RNquI0epW6zuy/ZRQs6jnrFA= | go.mongodb.org/mongo-driver v1.1.2 h1:jxcFYjlkl8xaERsgLo+RNquI0epW6zuy/ZRQs6jnrFA= | ||||||
| go.mongodb.org/mongo-driver v1.1.2/go.mod h1:u7ryQJ+DOzQmeO7zB6MHyr8jkEQvC8vH7qLUO4lqsUM= | go.mongodb.org/mongo-driver v1.1.2/go.mod h1:u7ryQJ+DOzQmeO7zB6MHyr8jkEQvC8vH7qLUO4lqsUM= | ||||||
| go.opencensus.io v0.22.2 h1:75k/FF0Q2YM8QYo07VPddOLBslDt1MZOdEslOHvmzAs= | go.opencensus.io v0.22.2 h1:75k/FF0Q2YM8QYo07VPddOLBslDt1MZOdEslOHvmzAs= | ||||||
|   | |||||||
| @@ -18,7 +18,7 @@ require ( | |||||||
| 	github.com/spf13/cobra v1.0.0 | 	github.com/spf13/cobra v1.0.0 | ||||||
| 	github.com/spf13/pflag v1.0.5 | 	github.com/spf13/pflag v1.0.5 | ||||||
| 	github.com/stretchr/testify v1.4.0 | 	github.com/stretchr/testify v1.4.0 | ||||||
| 	go.etcd.io/etcd v0.5.0-alpha.5.0.20200716221620-18dfb9cca345 | 	go.etcd.io/etcd v0.5.0-alpha.5.0.20200819165624-17cef6e3e9d5 | ||||||
| 	google.golang.org/grpc v1.27.0 | 	google.golang.org/grpc v1.27.0 | ||||||
| 	gopkg.in/yaml.v2 v2.2.8 | 	gopkg.in/yaml.v2 v2.2.8 | ||||||
| 	k8s.io/api v0.0.0 | 	k8s.io/api v0.0.0 | ||||||
|   | |||||||
| @@ -388,8 +388,8 @@ go.etcd.io/bbolt v1.3.3 h1:MUGmc65QhB3pIlaQ5bB4LwqSj6GIonVJXpZiaKNyaKk= | |||||||
| go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= | go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= | ||||||
| go.etcd.io/bbolt v1.3.5 h1:XAzx9gjCb0Rxj7EoqcClPD1d5ZBxZJk0jbuoPHenBt0= | go.etcd.io/bbolt v1.3.5 h1:XAzx9gjCb0Rxj7EoqcClPD1d5ZBxZJk0jbuoPHenBt0= | ||||||
| go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= | go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= | ||||||
| go.etcd.io/etcd v0.5.0-alpha.5.0.20200716221620-18dfb9cca345 h1:2gOG36vt1BhUqpzxwZLZJxUim2dHB05vw+RAn4Q6YOU= | go.etcd.io/etcd v0.5.0-alpha.5.0.20200819165624-17cef6e3e9d5 h1:Gqga3zA9tdAcfqobUGjSoCob5L3f8Dt5EuOp3ihNZko= | ||||||
| go.etcd.io/etcd v0.5.0-alpha.5.0.20200716221620-18dfb9cca345/go.mod h1:skWido08r9w6Lq/w70DO5XYIKMu4QFu1+4VsqLQuJy8= | go.etcd.io/etcd v0.5.0-alpha.5.0.20200819165624-17cef6e3e9d5/go.mod h1:skWido08r9w6Lq/w70DO5XYIKMu4QFu1+4VsqLQuJy8= | ||||||
| go.mongodb.org/mongo-driver v1.0.3/go.mod h1:u7ryQJ+DOzQmeO7zB6MHyr8jkEQvC8vH7qLUO4lqsUM= | go.mongodb.org/mongo-driver v1.0.3/go.mod h1:u7ryQJ+DOzQmeO7zB6MHyr8jkEQvC8vH7qLUO4lqsUM= | ||||||
| go.mongodb.org/mongo-driver v1.1.1/go.mod h1:u7ryQJ+DOzQmeO7zB6MHyr8jkEQvC8vH7qLUO4lqsUM= | go.mongodb.org/mongo-driver v1.1.1/go.mod h1:u7ryQJ+DOzQmeO7zB6MHyr8jkEQvC8vH7qLUO4lqsUM= | ||||||
| go.mongodb.org/mongo-driver v1.1.2 h1:jxcFYjlkl8xaERsgLo+RNquI0epW6zuy/ZRQs6jnrFA= | go.mongodb.org/mongo-driver v1.1.2 h1:jxcFYjlkl8xaERsgLo+RNquI0epW6zuy/ZRQs6jnrFA= | ||||||
|   | |||||||
| @@ -31,7 +31,7 @@ require ( | |||||||
| 	github.com/stretchr/testify v1.4.0 | 	github.com/stretchr/testify v1.4.0 | ||||||
| 	github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5 // indirect | 	github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5 // indirect | ||||||
| 	go.etcd.io/bbolt v1.3.5 // indirect | 	go.etcd.io/bbolt v1.3.5 // indirect | ||||||
| 	go.etcd.io/etcd v0.5.0-alpha.5.0.20200716221620-18dfb9cca345 | 	go.etcd.io/etcd v0.5.0-alpha.5.0.20200819165624-17cef6e3e9d5 | ||||||
| 	go.uber.org/zap v1.10.0 | 	go.uber.org/zap v1.10.0 | ||||||
| 	golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 | 	golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 | ||||||
| 	golang.org/x/net v0.0.0-20200707034311-ab3426394381 | 	golang.org/x/net v0.0.0-20200707034311-ab3426394381 | ||||||
|   | |||||||
							
								
								
									
										4
									
								
								staging/src/k8s.io/apiserver/go.sum
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								staging/src/k8s.io/apiserver/go.sum
									
									
									
										generated
									
									
									
								
							| @@ -300,8 +300,8 @@ go.etcd.io/bbolt v1.3.3 h1:MUGmc65QhB3pIlaQ5bB4LwqSj6GIonVJXpZiaKNyaKk= | |||||||
| go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= | go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= | ||||||
| go.etcd.io/bbolt v1.3.5 h1:XAzx9gjCb0Rxj7EoqcClPD1d5ZBxZJk0jbuoPHenBt0= | go.etcd.io/bbolt v1.3.5 h1:XAzx9gjCb0Rxj7EoqcClPD1d5ZBxZJk0jbuoPHenBt0= | ||||||
| go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= | go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= | ||||||
| go.etcd.io/etcd v0.5.0-alpha.5.0.20200716221620-18dfb9cca345 h1:2gOG36vt1BhUqpzxwZLZJxUim2dHB05vw+RAn4Q6YOU= | go.etcd.io/etcd v0.5.0-alpha.5.0.20200819165624-17cef6e3e9d5 h1:Gqga3zA9tdAcfqobUGjSoCob5L3f8Dt5EuOp3ihNZko= | ||||||
| go.etcd.io/etcd v0.5.0-alpha.5.0.20200716221620-18dfb9cca345/go.mod h1:skWido08r9w6Lq/w70DO5XYIKMu4QFu1+4VsqLQuJy8= | go.etcd.io/etcd v0.5.0-alpha.5.0.20200819165624-17cef6e3e9d5/go.mod h1:skWido08r9w6Lq/w70DO5XYIKMu4QFu1+4VsqLQuJy8= | ||||||
| go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= | go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= | ||||||
| go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= | go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= | ||||||
| go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= | go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= | ||||||
|   | |||||||
							
								
								
									
										4
									
								
								staging/src/k8s.io/kube-aggregator/go.sum
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								staging/src/k8s.io/kube-aggregator/go.sum
									
									
									
										generated
									
									
									
								
							| @@ -334,8 +334,8 @@ go.etcd.io/bbolt v1.3.3 h1:MUGmc65QhB3pIlaQ5bB4LwqSj6GIonVJXpZiaKNyaKk= | |||||||
| go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= | go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= | ||||||
| go.etcd.io/bbolt v1.3.5 h1:XAzx9gjCb0Rxj7EoqcClPD1d5ZBxZJk0jbuoPHenBt0= | go.etcd.io/bbolt v1.3.5 h1:XAzx9gjCb0Rxj7EoqcClPD1d5ZBxZJk0jbuoPHenBt0= | ||||||
| go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= | go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= | ||||||
| go.etcd.io/etcd v0.5.0-alpha.5.0.20200716221620-18dfb9cca345 h1:2gOG36vt1BhUqpzxwZLZJxUim2dHB05vw+RAn4Q6YOU= | go.etcd.io/etcd v0.5.0-alpha.5.0.20200819165624-17cef6e3e9d5 h1:Gqga3zA9tdAcfqobUGjSoCob5L3f8Dt5EuOp3ihNZko= | ||||||
| go.etcd.io/etcd v0.5.0-alpha.5.0.20200716221620-18dfb9cca345/go.mod h1:skWido08r9w6Lq/w70DO5XYIKMu4QFu1+4VsqLQuJy8= | go.etcd.io/etcd v0.5.0-alpha.5.0.20200819165624-17cef6e3e9d5/go.mod h1:skWido08r9w6Lq/w70DO5XYIKMu4QFu1+4VsqLQuJy8= | ||||||
| go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= | go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= | ||||||
| go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= | go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= | ||||||
| go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= | go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								staging/src/k8s.io/legacy-cloud-providers/go.sum
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								staging/src/k8s.io/legacy-cloud-providers/go.sum
									
									
									
										generated
									
									
									
								
							| @@ -305,7 +305,7 @@ github.com/vmware/govmomi v0.20.3/go.mod h1:URlwyTFZX72RmxtxuaFL2Uj3fD1JTvZdx59b | |||||||
| github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= | github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= | ||||||
| go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= | go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= | ||||||
| go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= | go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= | ||||||
| go.etcd.io/etcd v0.5.0-alpha.5.0.20200716221620-18dfb9cca345/go.mod h1:skWido08r9w6Lq/w70DO5XYIKMu4QFu1+4VsqLQuJy8= | go.etcd.io/etcd v0.5.0-alpha.5.0.20200819165624-17cef6e3e9d5/go.mod h1:skWido08r9w6Lq/w70DO5XYIKMu4QFu1+4VsqLQuJy8= | ||||||
| go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= | go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= | ||||||
| go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= | go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= | ||||||
| go.opencensus.io v0.22.2 h1:75k/FF0Q2YM8QYo07VPddOLBslDt1MZOdEslOHvmzAs= | go.opencensus.io v0.22.2 h1:75k/FF0Q2YM8QYo07VPddOLBslDt1MZOdEslOHvmzAs= | ||||||
|   | |||||||
							
								
								
									
										4
									
								
								staging/src/k8s.io/sample-apiserver/go.sum
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								staging/src/k8s.io/sample-apiserver/go.sum
									
									
									
										generated
									
									
									
								
							| @@ -331,8 +331,8 @@ go.etcd.io/bbolt v1.3.3 h1:MUGmc65QhB3pIlaQ5bB4LwqSj6GIonVJXpZiaKNyaKk= | |||||||
| go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= | go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= | ||||||
| go.etcd.io/bbolt v1.3.5 h1:XAzx9gjCb0Rxj7EoqcClPD1d5ZBxZJk0jbuoPHenBt0= | go.etcd.io/bbolt v1.3.5 h1:XAzx9gjCb0Rxj7EoqcClPD1d5ZBxZJk0jbuoPHenBt0= | ||||||
| go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= | go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= | ||||||
| go.etcd.io/etcd v0.5.0-alpha.5.0.20200716221620-18dfb9cca345 h1:2gOG36vt1BhUqpzxwZLZJxUim2dHB05vw+RAn4Q6YOU= | go.etcd.io/etcd v0.5.0-alpha.5.0.20200819165624-17cef6e3e9d5 h1:Gqga3zA9tdAcfqobUGjSoCob5L3f8Dt5EuOp3ihNZko= | ||||||
| go.etcd.io/etcd v0.5.0-alpha.5.0.20200716221620-18dfb9cca345/go.mod h1:skWido08r9w6Lq/w70DO5XYIKMu4QFu1+4VsqLQuJy8= | go.etcd.io/etcd v0.5.0-alpha.5.0.20200819165624-17cef6e3e9d5/go.mod h1:skWido08r9w6Lq/w70DO5XYIKMu4QFu1+4VsqLQuJy8= | ||||||
| go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= | go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= | ||||||
| go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= | go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= | ||||||
| go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= | go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= | ||||||
|   | |||||||
							
								
								
									
										45
									
								
								vendor/go.etcd.io/etcd/clientv3/watch.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										45
									
								
								vendor/go.etcd.io/etcd/clientv3/watch.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -141,6 +141,7 @@ type watcher struct { | |||||||
|  |  | ||||||
| 	// streams holds all the active grpc streams keyed by ctx value. | 	// streams holds all the active grpc streams keyed by ctx value. | ||||||
| 	streams map[string]*watchGrpcStream | 	streams map[string]*watchGrpcStream | ||||||
|  | 	lg      *zap.Logger | ||||||
| } | } | ||||||
|  |  | ||||||
| // watchGrpcStream tracks all watch resources attached to a single grpc stream. | // watchGrpcStream tracks all watch resources attached to a single grpc stream. | ||||||
| @@ -177,6 +178,8 @@ type watchGrpcStream struct { | |||||||
| 	resumec chan struct{} | 	resumec chan struct{} | ||||||
| 	// closeErr is the error that closed the watch stream | 	// closeErr is the error that closed the watch stream | ||||||
| 	closeErr error | 	closeErr error | ||||||
|  |  | ||||||
|  | 	lg *zap.Logger | ||||||
| } | } | ||||||
|  |  | ||||||
| // watchStreamRequest is a union of the supported watch request operation types | // watchStreamRequest is a union of the supported watch request operation types | ||||||
| @@ -243,6 +246,7 @@ func NewWatchFromWatchClient(wc pb.WatchClient, c *Client) Watcher { | |||||||
| 	} | 	} | ||||||
| 	if c != nil { | 	if c != nil { | ||||||
| 		w.callOpts = c.callOpts | 		w.callOpts = c.callOpts | ||||||
|  | 		w.lg = c.lg | ||||||
| 	} | 	} | ||||||
| 	return w | 	return w | ||||||
| } | } | ||||||
| @@ -274,6 +278,7 @@ func (w *watcher) newWatcherGrpcStream(inctx context.Context) *watchGrpcStream { | |||||||
| 		errc:       make(chan error, 1), | 		errc:       make(chan error, 1), | ||||||
| 		closingc:   make(chan *watcherStream), | 		closingc:   make(chan *watcherStream), | ||||||
| 		resumec:    make(chan struct{}), | 		resumec:    make(chan struct{}), | ||||||
|  | 		lg:         w.lg, | ||||||
| 	} | 	} | ||||||
| 	go wgs.run() | 	go wgs.run() | ||||||
| 	return wgs | 	return wgs | ||||||
| @@ -545,10 +550,18 @@ func (w *watchGrpcStream) run() { | |||||||
| 				w.resuming = append(w.resuming, ws) | 				w.resuming = append(w.resuming, ws) | ||||||
| 				if len(w.resuming) == 1 { | 				if len(w.resuming) == 1 { | ||||||
| 					// head of resume queue, can register a new watcher | 					// head of resume queue, can register a new watcher | ||||||
| 					wc.Send(ws.initReq.toPB()) | 					if err := wc.Send(ws.initReq.toPB()); err != nil { | ||||||
|  | 						if w.lg != nil { | ||||||
|  | 							w.lg.Debug("error when sending request", zap.Error(err)) | ||||||
|  | 						} | ||||||
|  | 					} | ||||||
| 				} | 				} | ||||||
| 			case *progressRequest: | 			case *progressRequest: | ||||||
| 				wc.Send(wreq.toPB()) | 				if err := wc.Send(wreq.toPB()); err != nil { | ||||||
|  | 					if w.lg != nil { | ||||||
|  | 						w.lg.Debug("error when sending request", zap.Error(err)) | ||||||
|  | 					} | ||||||
|  | 				} | ||||||
| 			} | 			} | ||||||
|  |  | ||||||
| 		// new events from the watch client | 		// new events from the watch client | ||||||
| @@ -572,7 +585,11 @@ func (w *watchGrpcStream) run() { | |||||||
| 				} | 				} | ||||||
|  |  | ||||||
| 				if ws := w.nextResume(); ws != nil { | 				if ws := w.nextResume(); ws != nil { | ||||||
| 					wc.Send(ws.initReq.toPB()) | 					if err := wc.Send(ws.initReq.toPB()); err != nil { | ||||||
|  | 						if w.lg != nil { | ||||||
|  | 							w.lg.Debug("error when sending request", zap.Error(err)) | ||||||
|  | 						} | ||||||
|  | 					} | ||||||
| 				} | 				} | ||||||
|  |  | ||||||
| 				// reset for next iteration | 				// reset for next iteration | ||||||
| @@ -617,9 +634,13 @@ func (w *watchGrpcStream) run() { | |||||||
| 					}, | 					}, | ||||||
| 				} | 				} | ||||||
| 				req := &pb.WatchRequest{RequestUnion: cr} | 				req := &pb.WatchRequest{RequestUnion: cr} | ||||||
| 				lg.Info("sending watch cancel request for failed dispatch", zap.Int64("watch-id", pbresp.WatchId)) | 				if w.lg != nil { | ||||||
|  | 					w.lg.Debug("sending watch cancel request for failed dispatch", zap.Int64("watch-id", pbresp.WatchId)) | ||||||
|  | 				} | ||||||
| 				if err := wc.Send(req); err != nil { | 				if err := wc.Send(req); err != nil { | ||||||
| 					lg.Warning("failed to send watch cancel request", zap.Int64("watch-id", pbresp.WatchId), zap.Error(err)) | 					if w.lg != nil { | ||||||
|  | 						w.lg.Debug("failed to send watch cancel request", zap.Int64("watch-id", pbresp.WatchId), zap.Error(err)) | ||||||
|  | 					} | ||||||
| 				} | 				} | ||||||
| 			} | 			} | ||||||
|  |  | ||||||
| @@ -633,7 +654,11 @@ func (w *watchGrpcStream) run() { | |||||||
| 				return | 				return | ||||||
| 			} | 			} | ||||||
| 			if ws := w.nextResume(); ws != nil { | 			if ws := w.nextResume(); ws != nil { | ||||||
| 				wc.Send(ws.initReq.toPB()) | 				if err := wc.Send(ws.initReq.toPB()); err != nil { | ||||||
|  | 					if w.lg != nil { | ||||||
|  | 						w.lg.Debug("error when sending request", zap.Error(err)) | ||||||
|  | 					} | ||||||
|  | 				} | ||||||
| 			} | 			} | ||||||
| 			cancelSet = make(map[int64]struct{}) | 			cancelSet = make(map[int64]struct{}) | ||||||
|  |  | ||||||
| @@ -651,9 +676,13 @@ func (w *watchGrpcStream) run() { | |||||||
| 					}, | 					}, | ||||||
| 				} | 				} | ||||||
| 				req := &pb.WatchRequest{RequestUnion: cr} | 				req := &pb.WatchRequest{RequestUnion: cr} | ||||||
| 				lg.Info("sending watch cancel request for closed watcher", zap.Int64("watch-id", ws.id)) | 				if w.lg != nil { | ||||||
|  | 					w.lg.Debug("sending watch cancel request for closed watcher", zap.Int64("watch-id", ws.id)) | ||||||
|  | 				} | ||||||
| 				if err := wc.Send(req); err != nil { | 				if err := wc.Send(req); err != nil { | ||||||
| 					lg.Warning("failed to send watch cancel request", zap.Int64("watch-id", ws.id), zap.Error(err)) | 					if w.lg != nil { | ||||||
|  | 						w.lg.Debug("failed to send watch cancel request", zap.Int64("watch-id", ws.id), zap.Error(err)) | ||||||
|  | 					} | ||||||
| 				} | 				} | ||||||
| 			} | 			} | ||||||
| 			w.closeSubstream(ws) | 			w.closeSubstream(ws) | ||||||
|   | |||||||
							
								
								
									
										1
									
								
								vendor/go.etcd.io/etcd/embed/config.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/go.etcd.io/etcd/embed/config.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -284,6 +284,7 @@ type Config struct { | |||||||
| 	// ExperimentalEnableLeaseCheckpoint enables primary lessor to persist lease remainingTTL to prevent indefinite auto-renewal of long lived leases. | 	// ExperimentalEnableLeaseCheckpoint enables primary lessor to persist lease remainingTTL to prevent indefinite auto-renewal of long lived leases. | ||||||
| 	ExperimentalEnableLeaseCheckpoint       bool          `json:"experimental-enable-lease-checkpoint"` | 	ExperimentalEnableLeaseCheckpoint       bool          `json:"experimental-enable-lease-checkpoint"` | ||||||
| 	ExperimentalCompactionBatchLimit        int           `json:"experimental-compaction-batch-limit"` | 	ExperimentalCompactionBatchLimit        int           `json:"experimental-compaction-batch-limit"` | ||||||
|  | 	ExperimentalWatchProgressNotifyInterval time.Duration `json:"experimental-watch-progress-notify-interval"` | ||||||
|  |  | ||||||
| 	// ForceNewCluster starts a new cluster even if previously started; unsafe. | 	// ForceNewCluster starts a new cluster even if previously started; unsafe. | ||||||
| 	ForceNewCluster bool `json:"force-new-cluster"` | 	ForceNewCluster bool `json:"force-new-cluster"` | ||||||
|   | |||||||
							
								
								
									
										1
									
								
								vendor/go.etcd.io/etcd/embed/etcd.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/go.etcd.io/etcd/embed/etcd.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -208,6 +208,7 @@ func StartEtcd(inCfg *Config) (e *Etcd, err error) { | |||||||
| 		UnsafeNoFsync:               cfg.UnsafeNoFsync, | 		UnsafeNoFsync:               cfg.UnsafeNoFsync, | ||||||
| 		EnableLeaseCheckpoint:       cfg.ExperimentalEnableLeaseCheckpoint, | 		EnableLeaseCheckpoint:       cfg.ExperimentalEnableLeaseCheckpoint, | ||||||
| 		CompactionBatchLimit:        cfg.ExperimentalCompactionBatchLimit, | 		CompactionBatchLimit:        cfg.ExperimentalCompactionBatchLimit, | ||||||
|  | 		WatchProgressNotifyInterval: cfg.ExperimentalWatchProgressNotifyInterval, | ||||||
| 	} | 	} | ||||||
| 	print(e.cfg.logger, *cfg, srvcfg, memberInitialized) | 	print(e.cfg.logger, *cfg, srvcfg, memberInitialized) | ||||||
| 	if e.Server, err = etcdserver.NewServer(srvcfg); err != nil { | 	if e.Server, err = etcdserver.NewServer(srvcfg); err != nil { | ||||||
|   | |||||||
							
								
								
									
										19
									
								
								vendor/go.etcd.io/etcd/etcdserver/api/v3rpc/watch.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										19
									
								
								vendor/go.etcd.io/etcd/etcdserver/api/v3rpc/watch.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -31,6 +31,8 @@ import ( | |||||||
| 	"go.uber.org/zap" | 	"go.uber.org/zap" | ||||||
| ) | ) | ||||||
|  |  | ||||||
|  | const minWatchProgressInterval = 100 * time.Millisecond | ||||||
|  |  | ||||||
| type watchServer struct { | type watchServer struct { | ||||||
| 	lg *zap.Logger | 	lg *zap.Logger | ||||||
|  |  | ||||||
| @@ -46,7 +48,7 @@ type watchServer struct { | |||||||
|  |  | ||||||
| // NewWatchServer returns a new watch server. | // NewWatchServer returns a new watch server. | ||||||
| func NewWatchServer(s *etcdserver.EtcdServer) pb.WatchServer { | func NewWatchServer(s *etcdserver.EtcdServer) pb.WatchServer { | ||||||
| 	return &watchServer{ | 	srv := &watchServer{ | ||||||
| 		lg: s.Cfg.Logger, | 		lg: s.Cfg.Logger, | ||||||
|  |  | ||||||
| 		clusterID: int64(s.Cluster().ID()), | 		clusterID: int64(s.Cluster().ID()), | ||||||
| @@ -58,6 +60,21 @@ func NewWatchServer(s *etcdserver.EtcdServer) pb.WatchServer { | |||||||
| 		watchable: s.Watchable(), | 		watchable: s.Watchable(), | ||||||
| 		ag:        s, | 		ag:        s, | ||||||
| 	} | 	} | ||||||
|  | 	if s.Cfg.WatchProgressNotifyInterval > 0 { | ||||||
|  | 		if s.Cfg.WatchProgressNotifyInterval < minWatchProgressInterval { | ||||||
|  | 			if srv.lg != nil { | ||||||
|  | 				srv.lg.Warn( | ||||||
|  | 					"adjusting watch progress notify interval to minimum period", | ||||||
|  | 					zap.Duration("min-watch-progress-notify-interval", minWatchProgressInterval), | ||||||
|  | 				) | ||||||
|  | 			} else { | ||||||
|  | 				plog.Warningf("adjusting watch progress notify interval to minimum period %v", minWatchProgressInterval) | ||||||
|  | 			} | ||||||
|  | 			s.Cfg.WatchProgressNotifyInterval = minWatchProgressInterval | ||||||
|  | 		} | ||||||
|  | 		SetProgressReportInterval(s.Cfg.WatchProgressNotifyInterval) | ||||||
|  | 	} | ||||||
|  | 	return srv | ||||||
| } | } | ||||||
|  |  | ||||||
| var ( | var ( | ||||||
|   | |||||||
							
								
								
									
										7
									
								
								vendor/go.etcd.io/etcd/etcdserver/apply_v2.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								vendor/go.etcd.io/etcd/etcdserver/apply_v2.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -16,6 +16,7 @@ package etcdserver | |||||||
|  |  | ||||||
| import ( | import ( | ||||||
| 	"encoding/json" | 	"encoding/json" | ||||||
|  | 	"fmt" | ||||||
| 	"path" | 	"path" | ||||||
| 	"time" | 	"time" | ||||||
|  |  | ||||||
| @@ -114,7 +115,11 @@ func (a *applierV2store) Sync(r *RequestV2) Response { | |||||||
| // applyV2Request interprets r as a call to v2store.X | // applyV2Request interprets r as a call to v2store.X | ||||||
| // and returns a Response interpreted from v2store.Event | // and returns a Response interpreted from v2store.Event | ||||||
| func (s *EtcdServer) applyV2Request(r *RequestV2) Response { | func (s *EtcdServer) applyV2Request(r *RequestV2) Response { | ||||||
| 	defer warnOfExpensiveRequest(s.getLogger(), time.Now(), r, nil, nil) | 	stringer := panicAlternativeStringer{ | ||||||
|  | 		stringer:    r, | ||||||
|  | 		alternative: func() string { return fmt.Sprintf("id:%d,method:%s,path:%s", r.ID, r.Method, r.Path) }, | ||||||
|  | 	} | ||||||
|  | 	defer warnOfExpensiveRequest(s.getLogger(), time.Now(), stringer, nil, nil) | ||||||
|  |  | ||||||
| 	switch r.Method { | 	switch r.Method { | ||||||
| 	case "POST": | 	case "POST": | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								vendor/go.etcd.io/etcd/etcdserver/config.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/go.etcd.io/etcd/etcdserver/config.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -159,6 +159,8 @@ type ServerConfig struct { | |||||||
|  |  | ||||||
| 	EnableGRPCGateway bool | 	EnableGRPCGateway bool | ||||||
|  |  | ||||||
|  | 	WatchProgressNotifyInterval time.Duration | ||||||
|  |  | ||||||
| 	// UnsafeNoFsync disables all uses of fsync. | 	// UnsafeNoFsync disables all uses of fsync. | ||||||
| 	// Setting this is unsafe and will cause data loss. | 	// Setting this is unsafe and will cause data loss. | ||||||
| 	UnsafeNoFsync bool `json:"unsafe-no-fsync"` | 	UnsafeNoFsync bool `json:"unsafe-no-fsync"` | ||||||
|   | |||||||
							
								
								
									
										18
									
								
								vendor/go.etcd.io/etcd/etcdserver/metrics.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								vendor/go.etcd.io/etcd/etcdserver/metrics.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -151,6 +151,19 @@ var ( | |||||||
| 		Help:      "Server or member ID in hexadecimal format. 1 for 'server_id' label with current ID.", | 		Help:      "Server or member ID in hexadecimal format. 1 for 'server_id' label with current ID.", | ||||||
| 	}, | 	}, | ||||||
| 		[]string{"server_id"}) | 		[]string{"server_id"}) | ||||||
|  |  | ||||||
|  | 	fdUsed = prometheus.NewGauge(prometheus.GaugeOpts{ | ||||||
|  | 		Namespace: "os", | ||||||
|  | 		Subsystem: "fd", | ||||||
|  | 		Name:      "used", | ||||||
|  | 		Help:      "The number of used file descriptors.", | ||||||
|  | 	}) | ||||||
|  | 	fdLimit = prometheus.NewGauge(prometheus.GaugeOpts{ | ||||||
|  | 		Namespace: "os", | ||||||
|  | 		Subsystem: "fd", | ||||||
|  | 		Name:      "limit", | ||||||
|  | 		Help:      "The file descriptor limit.", | ||||||
|  | 	}) | ||||||
| ) | ) | ||||||
|  |  | ||||||
| func init() { | func init() { | ||||||
| @@ -174,6 +187,8 @@ func init() { | |||||||
| 	prometheus.MustRegister(isLearner) | 	prometheus.MustRegister(isLearner) | ||||||
| 	prometheus.MustRegister(learnerPromoteSucceed) | 	prometheus.MustRegister(learnerPromoteSucceed) | ||||||
| 	prometheus.MustRegister(learnerPromoteFailed) | 	prometheus.MustRegister(learnerPromoteFailed) | ||||||
|  | 	prometheus.MustRegister(fdUsed) | ||||||
|  | 	prometheus.MustRegister(fdLimit) | ||||||
|  |  | ||||||
| 	currentVersion.With(prometheus.Labels{ | 	currentVersion.With(prometheus.Labels{ | ||||||
| 		"server_version": version.Version, | 		"server_version": version.Version, | ||||||
| @@ -184,7 +199,6 @@ func init() { | |||||||
| } | } | ||||||
|  |  | ||||||
| func monitorFileDescriptor(lg *zap.Logger, done <-chan struct{}) { | func monitorFileDescriptor(lg *zap.Logger, done <-chan struct{}) { | ||||||
|  |  | ||||||
| 	// This ticker will check File Descriptor Requirements ,and count all fds in used. | 	// This ticker will check File Descriptor Requirements ,and count all fds in used. | ||||||
| 	// And recorded some logs when in used >= limit/5*4. Just recorded message. | 	// And recorded some logs when in used >= limit/5*4. Just recorded message. | ||||||
| 	// If fds was more than 10K,It's low performance due to FDUsage() works. | 	// If fds was more than 10K,It's low performance due to FDUsage() works. | ||||||
| @@ -202,6 +216,7 @@ func monitorFileDescriptor(lg *zap.Logger, done <-chan struct{}) { | |||||||
| 			} | 			} | ||||||
| 			return | 			return | ||||||
| 		} | 		} | ||||||
|  | 		fdUsed.Set(float64(used)) | ||||||
| 		limit, err := runtime.FDLimit() | 		limit, err := runtime.FDLimit() | ||||||
| 		if err != nil { | 		if err != nil { | ||||||
| 			if lg != nil { | 			if lg != nil { | ||||||
| @@ -211,6 +226,7 @@ func monitorFileDescriptor(lg *zap.Logger, done <-chan struct{}) { | |||||||
| 			} | 			} | ||||||
| 			return | 			return | ||||||
| 		} | 		} | ||||||
|  | 		fdLimit.Set(float64(limit)) | ||||||
| 		if used >= limit/5*4 { | 		if used >= limit/5*4 { | ||||||
| 			if lg != nil { | 			if lg != nil { | ||||||
| 				lg.Warn("80% of file descriptors are used", zap.Uint64("used", used), zap.Uint64("limit", limit)) | 				lg.Warn("80% of file descriptors are used", zap.Uint64("used", used), zap.Uint64("limit", limit)) | ||||||
|   | |||||||
							
								
								
									
										18
									
								
								vendor/go.etcd.io/etcd/etcdserver/util.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								vendor/go.etcd.io/etcd/etcdserver/util.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -185,3 +185,21 @@ func warnOfExpensiveGenericRequest(lg *zap.Logger, now time.Time, reqStringer fm | |||||||
| func isNil(msg proto.Message) bool { | func isNil(msg proto.Message) bool { | ||||||
| 	return msg == nil || reflect.ValueOf(msg).IsNil() | 	return msg == nil || reflect.ValueOf(msg).IsNil() | ||||||
| } | } | ||||||
|  |  | ||||||
|  | // panicAlternativeStringer wraps a fmt.Stringer, and if calling String() panics, calls the alternative instead. | ||||||
|  | // This is needed to ensure logging slow v2 requests does not panic, which occurs when running integration tests | ||||||
|  | // with the embedded server with github.com/golang/protobuf v1.4.0+. See https://github.com/etcd-io/etcd/issues/12197. | ||||||
|  | type panicAlternativeStringer struct { | ||||||
|  | 	stringer    fmt.Stringer | ||||||
|  | 	alternative func() string | ||||||
|  | } | ||||||
|  |  | ||||||
|  | func (n panicAlternativeStringer) String() (s string) { | ||||||
|  | 	defer func() { | ||||||
|  | 		if err := recover(); err != nil { | ||||||
|  | 			s = n.alternative() | ||||||
|  | 		} | ||||||
|  | 	}() | ||||||
|  | 	s = n.stringer.String() | ||||||
|  | 	return s | ||||||
|  | } | ||||||
|   | |||||||
							
								
								
									
										17
									
								
								vendor/go.etcd.io/etcd/pkg/runtime/fds_linux.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										17
									
								
								vendor/go.etcd.io/etcd/pkg/runtime/fds_linux.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -16,7 +16,7 @@ | |||||||
| package runtime | package runtime | ||||||
|  |  | ||||||
| import ( | import ( | ||||||
| 	"io/ioutil" | 	"os" | ||||||
| 	"syscall" | 	"syscall" | ||||||
| ) | ) | ||||||
|  |  | ||||||
| @@ -29,9 +29,20 @@ func FDLimit() (uint64, error) { | |||||||
| } | } | ||||||
|  |  | ||||||
| func FDUsage() (uint64, error) { | func FDUsage() (uint64, error) { | ||||||
| 	fds, err := ioutil.ReadDir("/proc/self/fd") | 	return countFiles("/proc/self/fd") | ||||||
|  | } | ||||||
|  |  | ||||||
|  | // countFiles reads the directory named by dirname and returns the count. | ||||||
|  | // This is same as stdlib "io/ioutil.ReadDir" but without sorting. | ||||||
|  | func countFiles(dirname string) (uint64, error) { | ||||||
|  | 	f, err := os.Open(dirname) | ||||||
| 	if err != nil { | 	if err != nil { | ||||||
| 		return 0, err | 		return 0, err | ||||||
| 	} | 	} | ||||||
| 	return uint64(len(fds)), nil | 	list, err := f.Readdir(-1) | ||||||
|  | 	f.Close() | ||||||
|  | 	if err != nil { | ||||||
|  | 		return 0, err | ||||||
|  | 	} | ||||||
|  | 	return uint64(len(list)), nil | ||||||
| } | } | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								vendor/go.etcd.io/etcd/version/version.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/go.etcd.io/etcd/version/version.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -26,7 +26,7 @@ import ( | |||||||
| var ( | var ( | ||||||
| 	// MinClusterVersion is the min cluster version this etcd binary is compatible with. | 	// MinClusterVersion is the min cluster version this etcd binary is compatible with. | ||||||
| 	MinClusterVersion = "3.0.0" | 	MinClusterVersion = "3.0.0" | ||||||
| 	Version           = "3.4.10" | 	Version           = "3.4.12" | ||||||
| 	APIVersion        = "unknown" | 	APIVersion        = "unknown" | ||||||
|  |  | ||||||
| 	// Git SHA Value will be set during build | 	// Git SHA Value will be set during build | ||||||
|   | |||||||
							
								
								
									
										4
									
								
								vendor/modules.txt
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								vendor/modules.txt
									
									
									
									
										vendored
									
									
								
							| @@ -1092,9 +1092,9 @@ github.com/xiang90/probing | |||||||
| # go.etcd.io/bbolt v1.3.5 => go.etcd.io/bbolt v1.3.5 | # go.etcd.io/bbolt v1.3.5 => go.etcd.io/bbolt v1.3.5 | ||||||
| go.etcd.io/bbolt | go.etcd.io/bbolt | ||||||
| # go.etcd.io/bbolt => go.etcd.io/bbolt v1.3.5 | # go.etcd.io/bbolt => go.etcd.io/bbolt v1.3.5 | ||||||
| # go.etcd.io/etcd v0.5.0-alpha.5.0.20200716221620-18dfb9cca345 => go.etcd.io/etcd v0.5.0-alpha.5.0.20200716221620-18dfb9cca345 | # go.etcd.io/etcd v0.5.0-alpha.5.0.20200819165624-17cef6e3e9d5 => go.etcd.io/etcd v0.5.0-alpha.5.0.20200819165624-17cef6e3e9d5 | ||||||
| ## explicit | ## explicit | ||||||
| # go.etcd.io/etcd => go.etcd.io/etcd v0.5.0-alpha.5.0.20200716221620-18dfb9cca345 | # go.etcd.io/etcd => go.etcd.io/etcd v0.5.0-alpha.5.0.20200819165624-17cef6e3e9d5 | ||||||
| go.etcd.io/etcd/auth | go.etcd.io/etcd/auth | ||||||
| go.etcd.io/etcd/auth/authpb | go.etcd.io/etcd/auth/authpb | ||||||
| go.etcd.io/etcd/client | go.etcd.io/etcd/client | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Kubernetes Prow Robot
					Kubernetes Prow Robot