diff options
| author | Paul Buetow <paul@buetow.org> | 2025-06-30 23:22:56 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-06-30 23:22:56 +0300 |
| commit | b4ca43d97c83c3b9da7138b3b4d6f6cce6fed370 (patch) | |
| tree | 1dba534b8c7b1784f712cec90ff945e3d7fb7a82 /integrationtests/test_server.json | |
| parent | 88886206c2c758bf619362aaa484dd3e254b8ed1 (diff) | |
fix: ensure complete data transmission in turbo mode for dtail operations
This commit fixes integration test failures in turbo mode where data was not being
fully transmitted before the connection closed. The main issue was that
readWithTurboProcessor was returning too quickly without ensuring all data had been
written to the network stream.
Key changes:
- Add comprehensive trace logging to track data flow in turbo mode
- Fix turbo channel draining mechanism in baseHandler.Read() to wait for all data
- Add proper flushing in TurboNetworkWriter with channel drain synchronization
- Increase flush timeout from 10 to 100 iterations for turbo mode data volumes
- Fix color formatting in serverless mode by processing lines individually
- Add synchronization delays to ensure data transmission completes
The fixes ensure that all data is properly transmitted before connection closure,
resolving TestDcat integration test failures when DTAIL_TURBOBOOST_ENABLE is set.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'integrationtests/test_server.json')
0 files changed, 0 insertions, 0 deletions
