[
https://issues.apache.org/jira/browse/SPARK-62328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-62328.
----------------------------------
Fix Version/s: connect-rust-4.4.0
Resolution: Fixed
Issue resolved by pull request 981
[https://github.com/apache/spark-connect-rust/pull/981]
> Make
> test_a_first_read_of_another_thread_during_the_text_format_finds_the_message
> independent of the scheduling of the machine
> ------------------------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-62328
> URL: https://issues.apache.org/jira/browse/SPARK-62328
> 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. Master f30e373b's Python Connect Parity run 45372919906 failed in
> its no-protobuf drop-in step with `AssertionError: {'ok': 0, 'errors': {}}`
> in
> test_a_first_read_of_another_thread_during_the_text_format_finds_the_message
> (SPARK-62272).
> The test relies on the garbage collector's callbacks during the text format
> (of an Any expansion that allocates objects) to hand the GIL to a reader
> thread for 0.2 ms. Since the native parse (SPARK-62266 on), those objects are
> not tracked by the GC, so only one collection starts during the 100 formats;
> the reader gets a single 0.2 ms window and can miss it under load. It does
> not reproduce locally (15/15 with and without protobuf).
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]