db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan Pendleton (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-1425) testProtocol hangs with 10.1 client talking to 10.2 server
Date Sat, 17 Jun 2006 16:56:30 GMT
    [ http://issues.apache.org/jira/browse/DERBY-1425?page=comments#action_12416630 ] 

Bryan Pendleton commented on DERBY-1425:

Comment from Knut Anders on derby-dev:

I also see this. However, the CPU usage is more like 0% than 100%. I
think this is caused by the pre-fetching that was added to the network
client in DERBY-822. If you put this at the end of values1.inc

    readLengthAndCodepoint QRYDTA

or simply


testProtocol will terminate successfully. 

This is not a compatibility issue, since the network client (also the
10.1 client) knows that a QRYDTA object may or may not arrive. The
protocol test, on the other hand, is written with a specific version
of the server in mind, with the expected server response
hard-coded. Since the 10.1 version of the test doesn't expect QRYDTA
from an OPNQRY, the actual server response and the expected response
will be out of sync.

I'm not sure what causes the hang, though. The test that is hanging is
"Test for too large value for OUTEXP in EXCSQLSTT", and it happens in
the first skipDss in connect.inc. When this test starts, there is at
least a left-over QRYDTA from the previous test (and perhaps more
since that one doesn't read any data sent from the server). But that
should not be a problem since the endTest command is supposed to close
the socket and streams and open new ones. We should probably look into
why this is happening, at least so that we can eliminate that there's
something wrong with the network server code.

> testProtocol hangs with 10.1 client talking to 10.2 server
> ----------------------------------------------------------
>          Key: DERBY-1425
>          URL: http://issues.apache.org/jira/browse/DERBY-1425
>      Project: Derby
>         Type: Bug

>   Components: Network Server, Network Client
>     Versions:
>     Reporter: Bryan Pendleton
>     Priority: Minor

> I was trying to verify that the changes in DERBY-920 hadn't
> introduced any new compatibility problems (they shouldn't, because
> we were changing an internal class, but I wanted to make sure).
> So I was trying to follow some old tips about how to run tests with
> an old client against a new server, as documented in:
> http://wiki.apache.org/db-derby/TestingOldClientNewServer
> However, when I did this, the test "testProtocol" did not terminate.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message