Discussion:
[JIRA] Created: (MYO-101) MYO-84 fix makes clients hang upon connection error during request execution
Gilles Rayrat (JIRA)
2009-08-11 17:33:46 UTC
Permalink
MYO-84 fix makes clients hang upon connection error during request execution
----------------------------------------------------------------------------

Key: MYO-101
URL: https://forge.continuent.org/jira/browse/MYO-101
Project: Tungsten Connector
Type: Bug

Components: PostgreSQL protocol
Versions: 0.6.6, 0.6.7
Reporter: Gilles Rayrat
Assigned to: Gilles Rayrat
Fix For: 0.6.8


Detected with php tests 07optional.phpt:
When an error occurs during a request, and the connection is closed by the backend, sendReadyForQuery() will check the connection and send an error, where the client app is waiting for a ready for query.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
Gilles Rayrat (JIRA)
2009-08-20 10:11:46 UTC
Permalink
[ https://forge.continuent.org/jira/browse/MYO-101?page=all ]

Gilles Rayrat closed MYO-101:
-----------------------------

Resolution: Fixed

Fixed by Rev. 632 (Forgot to reference bug): Now only checking for connection != null, no more sending error if the connection is invalid (this is the role of the caller)
http://tungsten.svn.sourceforge.net/viewvc/tungsten/trunk/connector/src/main/java/org/continuent/myosotis/protocol/postgresql/PostgreSQLProtocolHandler.java/?rev=632&view=diff&r1=632&r2=631&p1=/trunk/connector/src/main/java/org/continuent/myosotis/protocol/postgresql/PostgreSQLProtocolHandler.java&p2=/trunk/connector/src/main/java/org/continuent/myosotis/protocol/postgresql/PostgreSQLProtocolHandler.java
Post by Gilles Rayrat (JIRA)
MYO-84 fix makes clients hang upon connection error during request execution
----------------------------------------------------------------------------
Key: MYO-101
URL: https://forge.continuent.org/jira/browse/MYO-101
Project: Tungsten Connector
Type: Bug
Components: PostgreSQL protocol
Versions: 0.6.6, 0.6.7
Reporter: Gilles Rayrat
Assignee: Gilles Rayrat
Fix For: 0.6.8
When an error occurs during a request, and the connection is closed by the backend, sendReadyForQuery() will check the connection and send an error, where the client app is waiting for a ready for query.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
Loading...