diff --git a/pkg/base/config.go b/pkg/base/config.go index fdef1a9ee61d..60df6b33696b 100644 --- a/pkg/base/config.go +++ b/pkg/base/config.go @@ -413,9 +413,6 @@ func (cfg *RaftConfig) SetDefaults() { if cfg.RaftProposalQuota > int64(cfg.RaftMaxUncommittedEntriesSize) { panic("raft proposal quota should not be above max uncommitted entries size") } - if cfg.RaftProposalQuota < int64(cfg.RaftMaxSizePerMsg)*int64(cfg.RaftMaxInflightMsgs) { - panic("raft proposal quota should not be below per-replica replication window size") - } } // RaftElectionTimeout returns the raft election timeout, as computed from the