File tree 3 files changed +23
-3
lines changed 3 files changed +23
-3
lines changed Original file line number Diff line number Diff line change
1
+ // Copyright 2022 The etcd Authors
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // Based on github.com/grpc-ecosystem/go-grpc-middleware/retry, but modified to support the more
16
+ // fine grained error checking required by write-at-most-once retry semantics of etcd.
17
+
1
18
package clientv3
2
19
3
20
import (
4
- "go.etcd.io/etcd/api/v3/v3rpc/rpctypes "
5
- "go.etcd.io/etcd/client/v3/credentials "
21
+ "go.etcd.io/etcd/clientv3/credentials "
22
+ "go.etcd.io/etcd/etcdserver/api/v3rpc/rpctypes "
6
23
grpccredentials "google.golang.org/grpc/credentials"
7
24
"testing"
8
25
)
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ require (
38
38
github.com/tmc/grpc-websocket-proxy v0.0.0-20200427203606-3cfed13b9966
39
39
github.com/urfave/cli v1.20.0
40
40
github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2
41
- go.etcd.io/bbolt v1.3.3
41
+ go.etcd.io/bbolt v1.3.6
42
42
go.uber.org/atomic v1.3.2 // indirect
43
43
go.uber.org/multierr v1.1.0 // indirect
44
44
go.uber.org/zap v1.10.0
Original file line number Diff line number Diff line change @@ -135,6 +135,8 @@ github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 h1:eY9dn8+vbi4tKz5
135
135
github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 /go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU =
136
136
go.etcd.io/bbolt v1.3.3 h1:MUGmc65QhB3pIlaQ5bB4LwqSj6GIonVJXpZiaKNyaKk =
137
137
go.etcd.io/bbolt v1.3.3 /go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU =
138
+ go.etcd.io/bbolt v1.3.6 h1:/ecaJf0sk1l4l6V4awd65v2C3ILy7MSj+s/x1ADCIMU =
139
+ go.etcd.io/bbolt v1.3.6 /go.mod h1:qXsaaIqmgQH0T+OPdb99Bf+PKfBBQVAdyD6TY9G8XM4 =
138
140
go.uber.org/atomic v1.3.2 h1:2Oa65PReHzfn29GpvgsYwloV9AVFHPDk8tYxt2c2tr4 =
139
141
go.uber.org/atomic v1.3.2 /go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE =
140
142
go.uber.org/multierr v1.1.0 h1:HoEmRHQPVSqub6w2z2d2EOVs2fjyFRGyofhKuyDq0QI =
@@ -171,6 +173,7 @@ golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5h
171
173
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a /go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY =
172
174
golang.org/x/sys v0.0.0-20190412213103-97732733099d /go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs =
173
175
golang.org/x/sys v0.0.0-20190422165155-953cdadca894 /go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs =
176
+ golang.org/x/sys v0.0.0-20200923182605-d9f96fdee20d /go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs =
174
177
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f /go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs =
175
178
golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4 h1:myAQVi0cGEoqQVR5POX+8RR2mrocKqNN1hmeMqhX27k =
176
179
golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4 /go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs =
You can’t perform that action at this time.
0 commit comments