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

   ### Purpose
   
   `PaimonCatalog` performed blocking catalog and REST I/O while holding the 
Python GIL. This stalls other Python threads and makes an in-process Python 
REST server time out after 30 seconds.
   
   ### Changes
   
   - Release the GIL while creating a catalog.
   - Release the GIL while listing databases/tables and loading a table.
   - Add an in-process REST server regression test covering all four calls.
   
   ### Verification
   
   - `test_catalog_gil.py`: 1 passed in 0.56s.
   - PyPaimon mock REST native planning: 1 split in 0.041s; the previous 
binding timed out after 30s.
   - `cargo check -p pypaimon_rust`
   - `cargo fmt --all --check`
   - `git diff --check`


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