[pgpool-committers: 2502] pgpool: Fix a hang when an error occurs in a transaction block with rep
Yugo Nagata
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
response forever.
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.
Branch
------
V3_4_STABLE
Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=533ae5fe61f5674d34891f66068dc86283fd32ee
Modified Files
--------------
src/protocol/pool_proto_modules.c | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
More information about the pgpool-committers
mailing list