mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-28 17:18:58 +00:00
20bb5dc4a2
* fix(ecstore): retry transient walk dir stream errors Retry RemoteDisk walk_dir once when the first failure looks transport-related so restart-time HttpReader stream errors do not immediately count as hard listing failures. Improve HttpReader request and stream error messages with method and URL context, and add regression coverage for retry recovery and diagnostics. * fix(ecstore): avoid retry after partial walk dir stream Stop retrying walk_dir after copy_stream_with_buffer has already written partial bytes into the destination writer. Keep the retry only for open_walk_dir failures and add a regression test that proves partial stream failures are returned without issuing a second stream.