mirror of
https://github.com/Grace-Solutions/PSMinIO.git
synced 2026-07-26 06:48:13 +00:00
Add upload ID logging and improve multipart upload visibility
✅ ENHANCED MULTIPART UPLOAD LOGGING:
� UPLOAD ID VISIBILITY:
• Added 'Beginning multipart upload - Upload ID: [id]' before upload starts
• Shows upload ID immediately after initiation for tracking
• Includes resume upload ID logging for resumed operations
• Upload configuration details logged before processing begins
� DETAILED CONFIGURATION LOGGING:
• Logs effective chunk size used (not just parameter value)
• Shows total parts calculated from file size and chunk size
• Displays max parallel uploads setting
• Provides complete upload configuration overview
� IMPROVED VERBOSE OUTPUT:
• Upload ID visible before any chunks are processed
• Clear distinction between initiation and resumption
• Configuration summary for troubleshooting
• Better visibility into multipart upload parameters
� BENEFITS:
• Easy tracking of upload operations by ID
• Better debugging of multipart upload issues
• Clear visibility into upload configuration
• Improved monitoring of long-running operations
Now multipart uploads show upload ID and configuration details upfront!
This commit is contained in:
Binary file not shown.
@@ -84,6 +84,15 @@ namespace PSMinIO.Core.S3
|
||||
uploadId = InitiateMultipartUpload(bucketName, objectName, metadata);
|
||||
_progressCollector.QueueVerboseMessage("Initiated multipart upload with ID: {0}", uploadId);
|
||||
}
|
||||
else
|
||||
{
|
||||
_progressCollector.QueueVerboseMessage("Resuming multipart upload with ID: {0}", uploadId);
|
||||
}
|
||||
|
||||
// Log upload details before starting
|
||||
_progressCollector.QueueVerboseMessage("Beginning multipart upload - Upload ID: {0}", uploadId!);
|
||||
_progressCollector.QueueVerboseMessage("Upload configuration - Chunk size: {0}, Total parts: {1}, Max parallel: {2}",
|
||||
SizeFormatter.FormatBytes(effectiveChunkSize), totalParts, _maxParallelUploads);
|
||||
|
||||
// Upload parts in parallel
|
||||
var uploadTasks = new List<Task>();
|
||||
|
||||
Reference in New Issue
Block a user