[teiid-issues] [JBoss JIRA] (TEIID-5054) autoFailover with a multi-batch result timing issue

Steven Hawkins (JIRA) issues at jboss.org
Tue Jan 30 08:09:00 EST 2018


    [ https://issues.jboss.org/browse/TEIID-5054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13525882#comment-13525882 ] 

Steven Hawkins commented on TEIID-5054:
---------------------------------------

[~asmigala] Set autoFailover=true and issue a query that has multiple result batches.  Fully read the results.  You can also use the unit test https://github.com/teiid/teiid/blob/01b968a220e981ee820ab1b07df148833eb8b995/runtime/src/test/java/org/teiid/transport/TestCommSockets.java#L356 without the fix it will hang.

> autoFailover with a multi-batch result timing issue
> ---------------------------------------------------
>
>                 Key: TEIID-5054
>                 URL: https://issues.jboss.org/browse/TEIID-5054
>             Project: Teiid
>          Issue Type: Bug
>          Components: JDBC Driver
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>            Priority: Blocker
>             Fix For: 10.0, 8.12.x-6.4, 9.2.6, 9.3.3
>
>
> With autoFailover=true there is a periodic ping before usage of the connection.  This ping may be called during processing of multi-batch results such that the ping call effectively hangs.  4 minutes later (or whatever the synch timeout is) the client will attempt to failover.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the teiid-issues mailing list