[
https://issues.apache.org/jira/browse/SPARK-62329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-62329.
----------------------------------
Fix Version/s: connect-rust-4.4.0
Resolution: Fixed
Issue resolved by pull request 982
[https://github.com/apache/spark-connect-rust/pull/982]
> Make
> test_another_thread_during_the_first_read_of_a_container_finds_the_message
> read during each first read, independent of the scheduling of the machine
> ---------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-62329
> URL: https://issues.apache.org/jira/browse/SPARK-62329
> Project: Spark
> Issue Type: Bug
> Components: Connect
> Affects Versions: 5.0.0
> Reporter: Hyukjin Kwon
> Assignee: Hyukjin Kwon
> Priority: Major
> Labels: pull-request-available
> Fix For: connect-rust-4.4.0
>
>
> Test-only.
> test_another_thread_during_the_first_read_of_a_container_finds_the_message
> hands the GIL to its reader thread through a 0.2 ms sleep in a collection
> callback, and asserts only that there were no errors. So it can pass without
> its reader ever reading during a first read, which a loaded machine makes
> likelier; on an idle machine it reads in about 20 of 40 first reads per case.
> The primer-plus-handshake of SPARK-62328 makes every first read take its turn.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]