XiaoHongbo-Hope opened a new pull request, #844:
URL: https://github.com/apache/paimon-rust/pull/844

   ### Purpose
   
   Concurrent calls to NextRecord on one Go RecordBatchReader can poll the same 
Rust Arrow stream simultaneously. A concurrent Close can also free the stream 
while it is being polled, causing a native panic or segmentation fault.
   
   ### Changes
   
   - Serialize NextRecord and Close per reader.
   - Keep separate readers fully parallel.
   - Cover concurrent reads and read/close races with regression tests.
   
   ### Verification
   
   - Concurrent regression tests: 100 iterations passed.
   - Race-enabled regression tests: 10 iterations passed.
   - go vet passed for the binding and test modules.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to