mirror of
https://github.com/versity/scoutfs.git
synced 2026-07-20 06:52:20 +00:00
e011c80452
There is no reason to fence any connection that hasn't sent a valid greeting, since they haven't progressed far enough for it to make sense. Skip the fence call for these connections and let the existing destroy path tear them down. Any real client will reconnect. server_notify_down() previously treated any zero rid teardown as the listening socket going down and called stop_server(). That's correct for the listener legitimately, but not for any conn that never completed a greeting. Adds a test that sends a short garbage payload to each quorum port and verifies that no greeting-less connection remains past the reconnect timeout (20s) and that the filesystem still works afterwards. Signed-off-by: Auke Kok <auke.kok@versity.com>