From d9a8bcd6f47cf525cf3aa9b5bbfe07d2f3feb52a Mon Sep 17 00:00:00 2001 From: reshke Date: Thu, 8 Jul 2021 16:13:32 +0500 Subject: [PATCH] Comment invasive code section --- sources/frontend.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sources/frontend.c b/sources/frontend.c index 9897d9df..f734a067 100644 --- a/sources/frontend.c +++ b/sources/frontend.c @@ -744,6 +744,8 @@ static od_frontend_status_t od_frontend_remote_server(od_relay_t *relay, return OD_SKIP; if (route->id.physical_rep || route->id.logical_rep) { + // do not detach server connection on replication + // the exceptional case in offine: ew are going to shut down here if (server->offline) { return OD_DETACH; }