You need to enable JavaScript to run this app.
Torch Object Storage

Torch Object Storage

Copy page
Download PDF
12-REPLICATION
0012-00000009
Copy page
Download PDF
0012-00000009
Problem description​
The bucket data replication rule is invalid.​
Root cause​
When the user sets the bucket data replication rule, the PrefixSet array elements have inclusion relationships.​
Example​
When configuring the bucket data replication rules, the PrefixSet array elements are abc, abcd, abc already includes abcd.​
​
PUT /?replication HTTP/1.1​
Host: <Bucket name>.<TOS endpoint>​
Date: Fri, 30 Jul 2021 08:05:36 +0000​
Authorization: authorization xxx​
Content-Length: 120​
Content-MD5: xxx​
{​
"Role": "Your role",​
"Rules":[{​
"ID": "1",​
"Status": "Enabled",​
"PrefixSet": ["abc", "abcd"],​
"Destination":{​
"Bucket": "Target Bucket Name",​
"Location": "cn-beijing",​
"StorageClass": "STANDARD",​
"StorageClassInheritDirective": "DESTINATION_BUCKET"​
},​
"HistoricalObjectReplication": "Enabled"​
}]​
}​
​
Solution ​
Refer to PutBucketReplication and correctly construct the bucket data replication rule, ensuring no inclusion relationship among PrefixSet array elements.​
Last updated: 2025.10.10 18:58:07