ports/databases/pgpool-II-33/files/patch-recovery.c
Torsten Zuehlsdorff 7eb2af369a databases/pgpool-II-33: Update from 3.3.7 to 3.3.20
While here:
- set EXPIRATION_DATE and mark DEPRECATED because of incoming EOL
- clean up conflicts
- add LIB_DEPENDS when option is set
- regenerate patches with make makepatch
2018-02-21 10:51:20 +00:00

19 lines
700 B
C

--- recovery.c.orig 2018-02-13 05:20:52 UTC
+++ recovery.c
@@ -115,7 +115,7 @@ int start_recovery(int recovery_node)
if (REPLICATION)
{
- pool_log("starting 2nd stage");
+ pool_log("starting 2nd stage. waiting connections from clients to be closed");
/* 2nd stage */
*InRecovery = RECOVERY_ONLINE;
@@ -437,6 +437,6 @@ int wait_connection_closed(void)
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;
}