dbtsai commented on PR #474:
URL: 
https://github.com/apache/spark-connect-rust/pull/474#issuecomment-6936599033

   Addressed the four Rust lifecycle/config findings from [this 
review](https://github.com/apache/spark-connect-rust/pull/474#pullrequestreview-5930863379)
 in 
[dce536e8d00a747b8f23df0e663fbcbca962c3cc](https://github.com/apache/spark-connect-rust/commit/dce536e8d00a747b8f23df0e663fbcbca962c3cc):
   
   - Cleanup lanes cache only successful senders and retry failed/disconnected 
lanes. A failed spawn retains ownership and permits instead of running blocking 
JNI cleanup on the async caller.
   - Silent Config Set receives typed per-key setter warnings from Java after 
successful rollback, including INTERNAL setter failures, and continues with 
later keys. Cancellation, interruption, admission, JNI and rollback failures 
still fail the operation.
   - Cleanup records retained ownership before diagnostics and uses fallible 
stderr writes. A broken-writer test covers the reported logging failure.
   - Detach gets one bounded retry on its original OS thread. A persistent 
failure retains the C guard/context and attachment count and reports failed 
shutdown. A later close on another thread cannot safely perform that detach; 
the docs now state this limit.
   
   I kept the native-license source fingerprints. Packaging can validate assets 
without running Cargo, so a hash of the generated dependency inventory alone 
would not detect a stale inventory after dependency or feature changes. An 
unrelated manifest-comment probe required regeneration but changed only one 
fingerprint line; the generated LICENSE and NOTICE text stayed unchanged. A 
semantic dependency projection could reduce that conservative invalidation in a 
follow-up.
   
   The 49 JNI tests, 29 frontend tests and strict native Clippy passed on Rust 
1.100 and MSRV 1.88. Workspace Clippy, 691 client unit tests, C tests with 
ASan/UBSan, Java lifecycle/config tests, concurrent builds, packaging and 
license checks also passed. Real JNI start/query/stop passed against the 
unmodified pinned Spark 4.2 snapshot. The full packaged PySpark/raw-RPC and 
Rust-client acceptance run also passed using the separately repaired 
Arrow-input runtime described in the README. Cross-platform hosted checks for 
this head remain pending.
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to