Skip to content

Commit

Permalink
[3.5] Backport DefaultSnapshotCount 10K
Browse files Browse the repository at this point in the history
Signed-off-by: Clement <gh.2lgqz@aleeas.com>
  • Loading branch information
clement2026 committed Sep 14, 2024
1 parent 0452fee commit f612ecb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/etcdserver/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import (
"github.com/coreos/go-semver/semver"
humanize "github.com/dustin/go-humanize"
"github.com/prometheus/client_golang/prometheus"
"go.etcd.io/etcd/server/v3/config"
"go.uber.org/zap"

pb "go.etcd.io/etcd/api/v3/etcdserverpb"
Expand All @@ -51,6 +50,7 @@ import (
"go.etcd.io/etcd/raft/v3"
"go.etcd.io/etcd/raft/v3/raftpb"
"go.etcd.io/etcd/server/v3/auth"
"go.etcd.io/etcd/server/v3/config"
"go.etcd.io/etcd/server/v3/etcdserver/api"
"go.etcd.io/etcd/server/v3/etcdserver/api/membership"
"go.etcd.io/etcd/server/v3/etcdserver/api/rafthttp"
Expand All @@ -70,7 +70,7 @@ import (
)

const (
DefaultSnapshotCount = 100000
DefaultSnapshotCount = 10000

// DefaultSnapshotCatchUpEntries is the number of entries for a slow follower
// to catch-up after compacting the raft storage entries.
Expand Down

0 comments on commit f612ecb

Please sign in to comment.