Fix for Intermittent Hanging Issue in ADO.NET Driver Due to Residual Package Data
Details
| Detail name | Value |
|---|---|
| Changelog Number | 28574 |
| Type | Bug |
| Status | Resolved |
| Affected Versions | Exasol 7.1.0 |
| Fix Versions | ADO.NET 25.2.2 |
| Resolution Date | 2025-12-23 |
Description
The ADO.NET driver was encountering hanging issues during certain scenarios. This was caused by the previous package not being cleared before the processing of a new package. As a result, leftover data from the previous package caused conflicts and prevented the system from functioning properly.
Workaround
There is no direct workaround to completely prevent the issue. However, killing the ADO.NET process and establishing a new connection can temporarily alleviate the hanging. While this method can resolve the immediate problem, it is not ideal and may lead to interruptions in service. For more stability, consider implementing the provided fix.
Fix
The issue has been resolved by introducing logic to ensure the previous package is explicitly cleared before beginning the read and processing of the next package. This fix ensures that no residual data interferes with the message handling process, thereby preventing hangs in all scenarios.