mod+kvdb: update etcd to v3.5.0

This commit is contained in:
Oliver Gugger committed 2021-07-27 13:09:59 +02:00
1 parent 235efc04e4
commit 76e1223bf2
10 files changed
+835 -225

No files matched your search

+3 -3
View File
@@ -11,9 +11,9 @@ import (
"time"
"github.com/btcsuite/btcwallet/walletdb"
"go.etcd.io/etcd/clientv3"
"go.etcd.io/etcd/clientv3/namespace"
"go.etcd.io/etcd/pkg/transport"
"go.etcd.io/etcd/client/pkg/v3/transport"
clientv3 "go.etcd.io/etcd/client/v3"
"go.etcd.io/etcd/client/v3/namespace"
)
const (
+1 -2
View File
@@ -9,7 +9,7 @@ import (
"sync/atomic"
"time"
"go.etcd.io/etcd/embed"
"go.etcd.io/etcd/server/v3/embed"
)
const (
@@ -69,7 +69,6 @@ func NewEmbeddedEtcdInstance(path string, clientPort, peerPort uint16) (
// To ensure that we can submit large transactions.
cfg.MaxTxnOps = 8192
cfg.MaxRequestBytes = 16384 * 1024
cfg.Debug = false
cfg.Logger = "zap"
cfg.LogLevel = "error"
+2 -2
View File
@@ -11,8 +11,8 @@ import (
"github.com/btcsuite/btcwallet/walletdb"
"github.com/stretchr/testify/require"
"go.etcd.io/etcd/clientv3"
"go.etcd.io/etcd/clientv3/namespace"
"go.etcd.io/etcd/client/v3"
"go.etcd.io/etcd/client/v3/namespace"
)
const (
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"math"
"strings"
v3 "go.etcd.io/etcd/clientv3"
v3 "go.etcd.io/etcd/client/v3"
)
type CommitStats struct {