Sruhvx-jpg commented on PR #3165:
URL: https://github.com/apache/iceberg-rust/pull/3165#issuecomment-5817887695

   Refactors `delete_stream` and `delete_prefix` to eliminate unbounded memory 
accumulation during large file deletions by processing paths in bounded chunks 
(configurable via `s3.delete-batch-size`, defaulting to AWS S3's 1,000-key 
limit with validation warnings for values > 1000) and draining deletion streams 
via `.try_for_each()`. Additionally, guards `ObjectStoreReader::read` against 
zero-length byte ranges (`0..0`) to avoid RFC 9110 / S3 HTTP 416 errors, and 
fixes `test_writer_drop_outside_tokio_warns_and_does_not_panic` to properly 
verify fallback logging outside Tokio runtimes.


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