opnsense-ports/databases/pgpool-II/files/patch-recovery.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

19 lines
661 B
C

--- recovery.c.orig 2010-10-12 08:12:18.155163331 +0900
+++ recovery.c 2010-10-12 08:13:21.347257609 +0900
@@ -96,7 +96,7 @@
if (REPLICATION)
{
- pool_log("starting 2nd stage");
+ pool_log("starting 2nd stage. waiting connections from clients to be closed");
/* 2nd stage */
*InRecovery = 1;
@@ -384,6 +384,6 @@
sleep(3);
} while (i++ < WAIT_RETRY_COUNT);
- pool_error("wait_connection_closed: existing connections did not close in %d sec.", pool_config->recovery_timeout);
+ pool_error("wait_connection_closed: existing connections (%d) did not close in %d sec.", Req_info->conn_counter, pool_config->recovery_timeout);
return 1;
}