diff options
| author | Paul Buetow <paul@buetow.org> | 2025-06-26 18:11:21 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-06-26 18:11:21 +0300 |
| commit | 73ca612de9289a7362993099e3de720dbbf21519 (patch) | |
| tree | ac8776914f239ff83166083dd378f3af6d5484d0 /integrationtests | |
| parent | 0688866f81266a75c30411089cabb3896f4068bd (diff) | |
fix: resolve serverless mode deadlock for profiling
Implement channel-based bidirectional copying in serverless connector
to prevent deadlocks that occur with io.Copy when processing large files.
Changes:
- Replace direct io.Copy with channel-based approach in serverless.go
- Add bufferedpipe and bufferedcopy utilities (for future use)
- Add tests to verify deadlock prevention
- Fix dmap profiling example to use absolute paths
The fix successfully handles files up to ~10KB in serverless mode.
Larger files still experience issues and will be addressed in a
follow-up fix.
Fixes profiling hang issue when using -cfg none without servers.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'integrationtests')
0 files changed, 0 insertions, 0 deletions
