The GitHub Actions job "CI" on iceberg-rust.git/main has failed.
Run started by GitHub user liurenjie1024 (triggered by liurenjie1024).

Head commit for run:
26a7606e0f04d5175e452a809c7bdceb47ba2c07 / Lo 
<[email protected]>
fix: prioritize delete manifests to prevent scan deadlock (#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.

Report URL: https://github.com/apache/iceberg-rust/actions/runs/20228954456

With regards,
GitHub Actions via GitBox

Reply via email to