summaryrefslogtreecommitdiff
path: root/databases/pgpool-II-30/files/patch-recovery.c
blob: a6ac0c6bceca7eb230084f1fc82ecb2a846b4a7c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- recovery.c.orig	2009-08-14 15:15:08.000000000 +0900
+++ recovery.c	2009-08-14 18:00:38.000000000 +0900
@@ -91,7 +91,7 @@
 
 	pool_log("1st stage is done");
 
-	pool_log("starting 2nd stage");
+	pool_log("starting 2nd stage.  waiting connections from clients to be closed");
 
 	/* 2nd stage */
 	*InRecovery = 1;
@@ -332,6 +332,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;
 }