object expiration? #818

Open
opened 2024-05-02 14:23:47 +00:00 by slushpuppy · 1 comment

Hello,

  I have a bucket with the following lifecycle:

root@DESKTOP-6QQM0PN:~# aws --endpoint-url http://s3.localhost:9093 s3api get-bucket-lifecycle --bucket temporary
{
"Rules": [
{
"Expiration": {
"Days": 1
},
"ID": "tempFileExpiration",
"Status": "Enabled"
}
]
}

however objects older than a day is still showing up in the bucket

root@DESKTOP-6QQM0PN:~# aws --endpoint-url http://s3.localhost:9093 s3 ls s3://temporary/manager/kFCST5C73J2oOdQCD5rtiTQ=.GeOu/MHpp7W4Mltpccnc/A7e3uyZc9HP/
2024-04-30 23:56:38 14541357 4d6471640aa815b669d38121463caf2d857bd77e7a488d6890089e38e4cf7e5f0a948e69899370b08109404853cd86f6f7b514469de16ac8ae9c97c0

My runtime is single binary built from source with first bucket setup instructions using https://garagehq.deuxfleurs.fr/documentation/quick-start/

root@DESKTOP-6QQM0PN:~# garage --version
garage git:v1.0.0-8-g123d3e1f [features: k2v, lmdb, sqlite, metrics, bundled-libs]

server instance is ran using:

$ garage server

hope you can help

thanks

Hello, I have a bucket with the following lifecycle: > root@DESKTOP-6QQM0PN:~# aws --endpoint-url http://s3.localhost:9093 s3api get-bucket-lifecycle --bucket temporary > { > "Rules": [ > { > "Expiration": { > "Days": 1 > }, > "ID": "tempFileExpiration", > "Status": "Enabled" > } > ] > } however objects older than a day is still showing up in the bucket > root@DESKTOP-6QQM0PN:~# aws --endpoint-url http://s3.localhost:9093 s3 ls s3://temporary/manager/kFCST5C73J2oOdQCD5rtiTQ=.GeOu/MHpp7W4Mltpccnc/A7e3uyZc9HP/ > 2024-04-30 23:56:38 14541357 4d6471640aa815b669d38121463caf2d857bd77e7a488d6890089e38e4cf7e5f0a948e69899370b08109404853cd86f6f7b514469de16ac8ae9c97c0 My runtime is single binary built from source with first bucket setup instructions using https://garagehq.deuxfleurs.fr/documentation/quick-start/ > root@DESKTOP-6QQM0PN:~# garage --version > garage git:v1.0.0-8-g123d3e1f [features: k2v, lmdb, sqlite, metrics, bundled-libs] server instance is ran using: > $ garage server hope you can help thanks
Owner

The lifecycle worker runs only once every 24 hours, and objects are expired only at midnight at the end of the day of expiry. Could you check that even after waiting 24 more hours, your objects are still not deleted?

The lifecycle worker runs only once every 24 hours, and objects are expired only at midnight at the end of the day of expiry. Could you check that even after waiting 24 more hours, your objects are still not deleted?
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/garage#818
No description provided.