westonpace commented on PR #34392: URL: https://github.com/apache/arrow/pull/34392#issuecomment-1512675192
I agree that order between sources is not guaranteed. In other words, the first batch might be `Source1Batch1` or it might be `Source2Batch1` but it will not be `Source1Batch2`. Another potential source of contention / race conditions is the interplay between `InputReceived` and the process thread. Normally `InputReceived` runs first and then the process thread runs afterwards. However, if the process thread is currently processing, it might run at the same time as `InputReceived` and there could be potential race conditions on the state. Though I'm pretty sure you're aware of this already :) -- 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]
