MyFSIO v0.1.8 Release #9

Merged
kqjy merged 13 commits from next into main 2025-12-23 06:01:32 +00:00
Showing only changes of commit 9165e365e6 - Show all commits

View File

@@ -303,10 +303,10 @@ class ReplicationManager:
user_agent_extra=REPLICATION_USER_AGENT, user_agent_extra=REPLICATION_USER_AGENT,
connect_timeout=REPLICATION_CONNECT_TIMEOUT, connect_timeout=REPLICATION_CONNECT_TIMEOUT,
read_timeout=REPLICATION_READ_TIMEOUT, read_timeout=REPLICATION_READ_TIMEOUT,
retries={'max_attempts': 2}, # Limited retries to prevent long hangs retries={'max_attempts': 2},
signature_version='s3v4', # Force signature v4 for compatibility signature_version='s3v4',
s3={ s3={
'addressing_style': 'path', # Use path-style addressing for compatibility 'addressing_style': 'path',
}, },
# Disable SDK automatic checksums - they cause SignatureDoesNotMatch errors # Disable SDK automatic checksums - they cause SignatureDoesNotMatch errors
# with S3-compatible servers that don't support CRC32 checksum headers # with S3-compatible servers that don't support CRC32 checksum headers
@@ -318,7 +318,7 @@ class ReplicationManager:
endpoint_url=conn.endpoint_url, endpoint_url=conn.endpoint_url,
aws_access_key_id=conn.access_key, aws_access_key_id=conn.access_key,
aws_secret_access_key=conn.secret_key, aws_secret_access_key=conn.secret_key,
region_name=conn.region or 'us-east-1', # Default region if not set region_name=conn.region or 'us-east-1',
config=config, config=config,
) )