mirror of
https://github.com/minio/minio.git
synced 2025-11-25 03:56:17 -05:00
Previously scanMultipartDir() returns object info channel and timer channel where timer channel is used to check whether object info channel is alive or not. This causes a race condition that timeout may occur while object info channel in use. This patch fixes the issue by removing timer channel and uses object info channel directly where each object info has End bool field indicates whether received object info is end or not.
7.9 KiB
7.9 KiB