dojiong opened a new pull request, #1937:
URL: https://github.com/apache/iceberg-rust/pull/1937

   ## Which issue does this PR close?
   
   - Closes #.
   
   ## What changes are included in this PR?
   
   This change ensures that delete manifests are processed before data 
manifests during the table scan planning phase.
   Previously, if data manifests were processed first and produced enough 
entries to fill the channel, the producer would block. Since the delete 
manifest consumer might still be waiting for its entries (which hadn't been 
produced yet), this could lead to a deadlock. Prioritizing delete manifests 
ensures the delete consumer can proceed, allowing the data consumer to 
eventually drain the channel.
   
   ## Are these changes tested?
   
   Added a reproduction test case `test_scan_deadlock` to verify the fix.


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