Skip to content

cache: prevent small objects from transitioning to Glacier#960

Open
arianvp wants to merge 1 commit intomainfrom
push-olkuqsupuvpq
Open

cache: prevent small objects from transitioning to Glacier#960
arianvp wants to merge 1 commit intomainfrom
push-olkuqsupuvpq

Conversation

@arianvp
Copy link
Member

@arianvp arianvp commented Feb 20, 2026

Switch transition_default_minimum_object_size from varies_by_storage_class
to all_storage_classes_128K, so our bucket behaves as if created today.

Because our bucket predates September 2024, it was on the legacy default of
varies_by_storage_class. Amazon since September 2024 defaults to
all_storage_classes_128K, which prevents objects <128KB from transitioning
to any storage class.

Note that the legacy behaviour only applies to Glacier and our current
lifecycle rule only moves to Infrequent Access, so this has no practical
effect today. But aligning with the new defaults avoids footguns if we add
Glacier transitions in the future.

Source: https://aws.amazon.com/about-aws/whats-new/2024/09/amazon-s3-default-minimum-object-size-lifecycle-transition-rules/

@arianvp arianvp requested a review from a team as a code owner February 20, 2026 11:19
Switch transition_default_minimum_object_size from varies_by_storage_class
to all_storage_classes_128K, so our bucket behaves as if created today.

Because our bucket predates September 2024, it was on the legacy default of
varies_by_storage_class. Amazon since September 2024 defaults to
all_storage_classes_128K, which prevents objects <128KB from transitioning
to any storage class.

Note that the legacy behaviour only applies to Glacier and our current
lifecycle rule only moves to Infrequent Access, so this has no practical
effect today. But aligning with the new defaults avoids footguns if we add
Glacier transitions in the future.

Source: https://aws.amazon.com/about-aws/whats-new/2024/09/amazon-s3-default-minimum-object-size-lifecycle-transition-rules/
@mweinelt
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants