TDS error under high load
See original GitHub issueWe are using:
- 6.1.0 driver (build from source)
- SQL Server 2014
We are experiencing problems with the JDBC driver under high load. The test we are running works fine up to a certain limit. Then the driver logs something like:
Jun 21, 2017 9:39:24 AM com.microsoft.sqlserver.jdbc.TDSParser throwUnexpectedTokenException SEVERE: ConnectionID:19 ClientConnectionId: abfb1747-17a7-44cb-abba-6c861c55d9bb: getNextResult: Encountered unexpected unknown token (0x83) Jun 21, 2017 9:39:24 AM com.microsoft.sqlserver.jdbc.TDSReader throwInvalidTDSToken SEVERE: ConnectionID:19 ClientConnectionId: abfb1747-17a7-44cb-abba-6c861c55d9bb got unexpected value in TDS response at offset:5166 Jun 21, 2017 9:39:25 AM com.microsoft.sqlserver.jdbc.TDSParser throwUnexpectedTokenException SEVERE: ConnectionID:19 ClientConnectionId: abfb1747-17a7-44cb-abba-6c861c55d9bb: batch completion: Encountered unexpected TDS_RETURN_VALUE (0xAC) Jun 21, 2017 9:39:25 AM com.microsoft.sqlserver.jdbc.TDSReader throwInvalidTDSToken SEVERE: ConnectionID:19 ClientConnectionId: abfb1747-17a7-44cb-abba-6c861c55d9bb got unexpected value in TDS response at offset:461
We suspect some kind of a transfer error (incomplete transfer), but we do not really know what’s going on.
The other thing which is strange is that we do not see stack trace as with other connection errors. It seems the exception is suppressed somewhere.
Do you have an idea what’s causing the problem or how we could debug it? Activate additional logging/integrate additional logs in the source code?
Thanks,
Juergen
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (4 by maintainers)
Top GitHub Comments
git fetch --tags
did retrieve the missing tags. Thanks!
Hi @ChristinaSi, could you provide the debug logs / stack for the error you’re seeing?