You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 17, 2018. It is now read-only.
This happened with only one server because I was doing a lot of testing with a cluster with 'f' failures. When SERVER_02 rejoined the cluster, the leader attempted to catch it up. Since many, many entries had to be placed into a single packet, this caused the packet size to expand well past the 1400-byte limit.
This points to a bigger (known) issue with RaftAglorithm: it does not chunk AppendEntries into 'packet-size' chunks. This is partly because it has no idea what the serialized size of the packet is going to be. I don't think it's a problem to be solved at its level: I think it's up to the network layer to chunk it and send it out.
Currently I've mitigated this by changing the frame length to 10MB. This is a poor solution, and may point to failures in the interface design of RPCSender and RPCReceiver. Moreover, this requires a large number of copies to transfer data from one component into another, and out to the wire.
Apparently the default value used for the WireConverter (1400-byte max frame size) is too low, and causes the RaftAgents to fail as follows:
This stack trace describes a follower that is unable to parse a message from the leader. It's unclear to me why only one follower has this happening.
The text was updated successfully, but these errors were encountered: