[pgpool-committers: 2503] pgpool: Fix a hang when an error occurs in a transaction block with rep
nagata at sraoss.co.jp
Mon Mar 30 16:14:13 JST 2015
Fix a hang when an error occurs in a transaction block with replication mode
When an error occurs at a backend node in a transaction block with
replication mode, pgpool-II sends an invalid query to other
backends to sync transaction states. However, previously, this was
not sent to master node, and pgpool-II was waiting for master's
This bug is caused to a specification change since 3.3.0 that load
balance is allowed in a transaction block with replication mode.
To fix this, pgpool sends the invalid query to all backends,
including master, except the node which the original query was sent.
pool_proto_modules.c | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
More information about the pgpool-committers