kv: question about the difference between RaftCommandSize and RaftMaxUncommittedEntriesSize #57358
Labels
A-kv-replication
Relating to Raft, consensus, and coordination.
O-community
Originated from the community
X-blathers-triaged
blathers was able to find an owner
/pkg/kv/kvserver/replica_raft.go line 155
`quotaSize := uint64(proposal.command.Size())
/vendor/etcd/raft/log_unstable.go line 1719
`func (r *raft) increaseUncommittedSize(ents []pb.Entry) bool {
}`
In my actual test, when sending a large size batchrequest(size<kv.raft.command.max_size), it can pass the detection of line 155 in replica_raft, but after entering the increaseUncommittedSize method, if r.uncommittedSize> 0, the batch is larger than maxUncommittedSize, it will be dropped, but the return value is only false and there is no error message. For the user, he does not receive any error message, but in fact the system at this time is no longer operating normally. When I open adminUI, all The monitoring metrics data cannot be loaded.
Can the size limit here be unified?
The text was updated successfully, but these errors were encountered: