Actions
Bug #63306
closed
CB
CB
multisite: objects replicated with compress-encrypted store wrong (compressed) size in the bucket index
Bug #63306:
multisite: objects replicated with compress-encrypted store wrong (compressed) size in the bucket index
Due date:
% Done:
100%
Source:
Development
Backport:
quincy reef
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
v18.0.0-7097-g2d25149b62b
Released In:
v19.2.0~1288
Upkeep Timestamp:
2025-07-11T21:11:27+00:00
Description
after replication, the bucket index incorrectly uses the compressed size instead of the actual size
tested on two zones with zlib compression enabled, the compress-encrypted zonegroup feature enabled, and a rgw crypt default encryption key configured
primary:
"rgw.main": {
"size": 20971520,
"size_actual": 20971520,
"size_utilized": 20424,
"size_kb": 20480,
"size_kb_actual": 20480,
"size_kb_utilized": 20,
"num_objects": 1
},
~/ceph/build $ s3cmd -c c1.s3cfg ls s3://testbucket 2023-10-24 18:46 20971520 s3://testbucket/20m.iso ~/ceph/build $ s3cmd -c c1.s3cfg info s3://testbucket/20m.iso s3://testbucket/20m.iso (object): File size: 20971520
secondary:
"rgw.main": {
"size": 20424,
"size_actual": 20480,
"size_utilized": 20424,
"size_kb": 20,
"size_kb_actual": 20,
"size_kb_utilized": 20,
"num_objects": 1
}
~/ceph/build $ s3cmd -c c2.s3cfg ls s3://testbucket 2023-10-24 18:46 20424 s3://testbucket/20m.iso ~/ceph/build $ s3cmd -c c2.s3cfg info s3://testbucket/20m.iso s3://testbucket/20m.iso (object): File size: 20971520
the replicated object itself has the correct size and can be downloaded successfully:
~/ceph/build $ s3cmd -c c2.s3cfg get s3://testbucket/20m.iso 20m.iso.out download: 's3://testbucket/20m.iso' -> '20m.iso.out' [1 of 1] 20971520 of 20971520 100% in 0s 44.11 MB/s done
CB Updated by Casey Bodley about 3 years ago
- Status changed from New to Fix Under Review
- Pull request ID set to 54174
CB Updated by Casey Bodley about 3 years ago
- Related to Bug #57905: multisite: terminate called after throwing an instance of 'ceph::buffer::v15_2_0::end_of_buffer' added
CB Updated by Casey Bodley about 3 years ago
- Status changed from Fix Under Review to Pending Backport
UB Updated by Upkeep Bot about 3 years ago
- Copied to Backport #63451: quincy: multisite: objects replicated with compress-encrypted store wrong (compressed) size in the bucket index added
UB Updated by Upkeep Bot about 3 years ago
- Copied to Backport #63452: reef: multisite: objects replicated with compress-encrypted store wrong (compressed) size in the bucket index added
KS Updated by Konstantin Shalygin almost 2 years ago
- Status changed from Pending Backport to Resolved
- % Done changed from 0 to 100
- Source set to Development
UB Updated by Upkeep Bot over 1 year ago
- Merge Commit set to 2d25149b62b142b094fde99160509bd8af1dae16
- Fixed In set to v18.0.0-7097-g2d25149b62b
- Released In set to v19.2.0~1288
- Upkeep Timestamp set to 2025-07-11T21:11:27+00:00
Actions