You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: TestRequestMultipleCn_ConcurrentSafety flaky — one node fails with closed connection #25734
TestRequestMultipleCn_ConcurrentSafety in pkg/queryservice fails intermittently:
actual: 2 (expected 3)
Messages: All nodes should succeed
ERROR: close unix @->/tmp/cn-*-test_concurrent.sock: use of closed network connection
The test sends concurrent requests to 3 mock CN nodes, but one node's connection is closed before the request completes, causing only 2/3 nodes to succeed.
Race condition in concurrent connection handling — one CN's Unix socket connection is closed before the request-response cycle completes, likely due to goroutine scheduling variability on CI runners.
Suggested Fix
Add retry logic for transient connection failures in the test
Or use synchronization to ensure all connections are established before sending requests
Activity
fix ut (#25792)
daviszhen commentedon Jul 17, 2026
fixed
fix ut (matrixorigin#25792)
fix ut (matrixorigin#25792)
fix ut (matrixorigin#25792)