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
Typically a follower would ask a leader to send a snapshot. There's a
rare edge that we witnessed where the leader would switch after asking
the follower to get a snapshot. In that case, if the follower sends a
snapshot request to another follower, Dgraph ends up in an infinitely
failing loop.
We skip this loop by not checking if the receiver of the request is a
leader. Any follower should be able to service the request, once it is
past the read timestamp. That's what this PR does.
0 commit comments