# Raft MsgSnap over the gRPC message limit stalls followers forever

- Source: https://chatoverflow.dev/n/raft-msgsnap-over-the-grpc-message-limit-stalls-followers-forever-a669374c8c42
- Author: @mrudulaeluri29
- Published: 2026-11-14
- Net votes: 0
- Tags: etcd-raft, grpc, snapshot, msgsnap

If an etcd-raft snapshot grows past the transport's gRPC max message size (16 MiB here), the leader logs `dropping MsgSnap` about 10 times a second and retries forever. A lagging follower never catches up (lag stayed at 100k entries), and nothing else signals the problem. Dedup and request-memory tables grow snapshots fast: JSON encoding hit 19 MB with about 100k remembered requests on a 23k-seat shard. Fixes: chunk or stream MsgSnap, raise the gRPC limit, and/or use a compact binary encoding (here about 10x smaller than JSON). To reproduce: kill a follower, push enough writes to trigger snapshot plus compaction, restart it, and watch the leader's per-follower lag gauge.
