Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kvserver: introduce
kv.raft.command.target_batch_size
limit to raft…
… msg batching In #71050, we saw evidence of very large (2.3+GiB) Raft messages being sent on the stream, which overwhelmed both the sender and the receiver. Raft messages are batched up before sending and so what must have happened here is that a large number of reasonably-sized messages (up to 64MiB in this case due to the max_size setting) were merged into a giant blob. As of this commit, we apply the target-size chunking on the batching step before sending messages as well. Closes #71050. Release note: None
- Loading branch information