mirror of
https://github.com/versity/scoutfs.git
synced 2026-10-22 14:22:42 +00:00
One of the first steps in starting a new server is to fence the previous server if it's still running. This happens nearly immediately, and it can take some time for the old server to shut down cleanly. So we're often fencing when we should really just be patient. Add a grace period, currently up to about 10s, watching for an old server to write out its STOP record. After that, go ahead and fence. Signed-off-by: Chris Kirby <ckirby@versity.com>