The disk-saving bio thread bounds its blocking RDB read with
repl_syncio_timeout, and the abort flag is only checked between
reads, so a silent primary can stall the main thread in
cancelReplicationHandshake() for up to that timeout.
No behavior change: just document why repl_syncio_timeout is
used here instead of repl-timeout, and add a test covering the
abort path.
Signed-off-by: Binbin <[email protected]>
(cherry picked from commit 74249be76ff25a5c06c9eb8c40940692fc382535)