<div dir="ltr"><div><div><div><div></div>Hello,<br><br><br></div><div>I have setup pgpool (version 3.4) in master slave mode with 2 postgres databases (no load balancing) using streaming replication:<br><br></div>backend_hostname0 = &#39;voldb1&#39;<br>backend_port0 = 5432<br>backend_weight0 = 1<br>backend_data_directory0 = &#39;/data01/postgres&#39;<br>backend_flag0 = &#39;ALLOW_TO_FAILOVER&#39;<br><br>backend_hostname1 = &#39;voldb2&#39;<br>backend_port1 = 5432<br>backend_weight1 = 1<br>backend_data_directory1 = &#39;/data01/postgres&#39;<br>backend_flag1 = &#39;ALLOW_TO_FAILOVER&#39;<br><br>connection_cache = on<br>load_balance_mode = off<br><br>master_slave_mode = on<br>master_slave_sub_mode = &#39;stream&#39;<br><br>sr_check_period = 10<br><br>health_check_period = 40<br>health_check_timeout = 10<br>health_check_max_retries = 3<br>health_check_retry_delay = 1<br>connect_timeout = 10000<br><br>failover_command = &#39;/usr/local/bin/pgpool_failover.sh %P %m %H&#39;<br>failback_command = &#39;/usr/local/bin/pgpool_failback.sh %d %P %m %H&#39;<br>fail_over_on_backend_error = on<br>search_primary_node_timeout = 10<br><br></div>When the primary db (voldb1) fails I expect the system to have a hiccup as the old connections fail and new ones are created but it looks like the same thing happens if I restart the standby server. On standby restart  I would expect the system to drop the standby from the cluster with no impact on the open transactions to the primary server but it looks this is not what&#39;s happening. <br><br></div><div>Am I missing something, is this the expected behavior?<br><br></div><div>Thanks a lot,<br></div><div>Ioana Danes<br></div><div> <br></div><div><br></div><br></div>