Actions
Bug #61770
closed
SK
SK
rgw: PutObjectACL should not modify mtime
Bug #61770:
rgw: PutObjectACL should not modify mtime
Due date:
% Done:
0%
Source:
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-4712-g0c5a77f4c9
Released In:
v19.2.0~2077
Upkeep Timestamp:
2025-07-14T19:10:19+00:00
Description
For any metadata changes on versioned objects (current/non-current), its bucket index entry (mtime) is not updated. For eg.,
date --utc; aws --no-verify-ssl --endpoint-url http://localhost:8000 s3api put-object-acl --bucket bucket1 --key lc_obj1 --acl private --version-id=AWsTipKl2P.Scy4DktmwISbHz3pr-9e
Wed Jun 21 09:31:49 AM UTC 2023
aws --no-verify-ssl --endpoint-url http://localhost:8000 s3api head-object --bucket bucket1 --key lc_obj1 --version-id=AWsTipKl2P.Scy4DktmwISbHz3pr-9e
{
"AcceptRanges": "bytes",
"LastModified": "Wed, 21 Jun 2023 09:31:49 GMT", >>>>>>>>>>>> 'updated mtime'
"ContentLength": 12,
"ETag": "\"ed076287532e86365e841e92bfc50d8c\"",
"VersionId": "AWsTipKl2P.Scy4DktmwISbHz3pr-9e",
"ContentType": "text/plain",
"Metadata": {
"s3cmd-attrs": "atime:1687330800/ctime:1599663278/gid:0/gname:root/md5:ed076287532e86365e841e92bfc50d8c/mode:33188/mtime:1599663278/uid:0/uname:root"
},
"StorageClass": "STANDARD"
}
aws s3api --no-verify-ssl --endpoint http://localhost:8000 list-object-versions --bucket bucket1 --key lc_obj1 | grep "AWsTipKl2P.Scy4DktmwISbHz3pr-9e" -C 8
"ID": "cosbench"
}
},
{
"ETag": "\"ed076287532e86365e841e92bfc50d8c\"",
"Size": 12,
"StorageClass": "STANDARD",
"Key": "lc_obj1",
"VersionId": "AWsTipKl2P.Scy4DktmwISbHz3pr-9e",
"IsLatest": false,
"LastModified": "2023-06-21T09:23:24.052Z", >>>>>>>>>>>> 'old mtime'
"Owner": {
"DisplayName": "cosbench_user",
"ID": "cosbench"
}
},
{
CB Updated by Casey Bodley over 3 years ago
- Pull request ID set to 52160
CB Updated by Casey Bodley over 3 years ago
- Subject changed from rgw: bucket index entry not updated for versioned objects to rgw: PutObjectACL should not modify mtime
- Status changed from In Progress to Fix Under Review
SK Updated by Soumya Koduri over 3 years ago
- Status changed from Fix Under Review to Pending Backport
- Backport set to quincy reef
UB Updated by Upkeep Bot over 3 years ago
- Copied to Backport #61877: quincy: rgw: PutObjectACL should not modify mtime added
UB Updated by Upkeep Bot over 3 years ago
- Copied to Backport #61878: reef: rgw: PutObjectACL should not modify mtime added
UB Updated by Upkeep Bot over 1 year ago
- Merge Commit set to 0c5a77f4c947d75fe0aa524f3779939154887da0
- Fixed In set to v18.0.0-4712-g0c5a77f4c94
- Released In set to v19.2.0~2077
- Upkeep Timestamp set to 2025-07-09T16:44:04+00:00
UB Updated by Upkeep Bot over 1 year ago
- Fixed In changed from v18.0.0-4712-g0c5a77f4c94 to v18.0.0-4712-g0c5a77f4c9
- Upkeep Timestamp changed from 2025-07-09T16:44:04+00:00 to 2025-07-14T19:10:19+00:00
SK Updated by Soumya Koduri over 1 year ago
- Status changed from Pending Backport to Resolved
Actions