Bug #53878
openThe storage class attr of the noncurrent object is not correct when the lifecycle transition storage class is empty.
0%
Description
The bucket versioning status is enabled, and the storage class is STANDARD, then put bucket lifecycle configuration like this:
'Rules': [
{
'Filter': {
'Prefix': 'test',
},
'ID': 'TestOnly',
'Status': 'Enabled',
'NoncurrentVersionTransitions': [
{
'NoncurrentDays': 1,
'StorageClass': '',
},
],
},
],
the dest storage class is empty.
Put object with storage class 'ABC', not STANDARD, then lifecycle transition non current object to STANDARD, but the storage class attr is 'ABC', inherited from old attr.
Updated by zhiming zhang over 2 years ago
Updated by zhiming zhang over 2 years ago
And, if the bucket default storage class is not STANDARD, for example, IA, and when dest storage class is empty, objects will be transitioned to IA, not STANDARD. The behavior
of Noncurrent transition is inconsistent with current transition.
Updated by Casey Bodley about 2 years ago
- Status changed from New to Fix Under Review
- Assignee set to Casey Bodley
- Pull request ID set to 44589
Updated by Casey Bodley about 2 years ago
- Assignee changed from Casey Bodley to Matt Benjamin
Updated by J. Eric Ivancich over 1 year ago
- Status changed from Fix Under Review to Resolved
Updated by J. Eric Ivancich over 1 year ago
- Status changed from Resolved to Pending Backport
- Backport set to quincy,pacific
Updated by Backport Bot over 1 year ago
- Copied to Backport #57416: pacific: The storage class attr of the noncurrent object is not correct when the lifecycle transition storage class is empty. added
Updated by Backport Bot over 1 year ago
- Copied to Backport #57417: quincy: The storage class attr of the noncurrent object is not correct when the lifecycle transition storage class is empty. added