Store epoch timestamp for all lifecycle expiration targets #412

Closed
opened 2024-06-27 14:27:45 +00:00 by alexvanin · 1 comment
Owner

To perform object deletion or abort multipart upload, lifecycler service must know timestamp when lifecycle target was created. Consider lifecycle targets are:

  • regular objects,
  • complete-multipart-uploads.

Make sure that entities store creation timestamp in the tree service.

To perform object deletion or abort multipart upload, lifecycler service must know timestamp when lifecycle target was created. Consider lifecycle targets are: * regular objects, * complete-multipart-uploads. Make sure that entities store creation timestamp in the tree service.
alexvanin added this to the v0.31.0 milestone 2024-06-27 14:27:45 +00:00
Author
Owner

By the way, it would be cool if node returns current epoch in x-header. It is not necessary, but it looks pretty.

Nevermind, it already does.

sequenceDiagram
  S3 ->>+ ObjService: Put Object
  ObjService ->>- S3: ObjectID + Timestamp (X-Header)
  S3 ->> Tree: ObjectInfo

/cc @fyrchik , @dkirillov

~~By the way, it would be cool if node returns current epoch in x-header. It is not necessary, but it looks pretty.~~ Nevermind, it already does. ```mermaid sequenceDiagram S3 ->>+ ObjService: Put Object ObjService ->>- S3: ObjectID + Timestamp (X-Header) S3 ->> Tree: ObjectInfo ``` /cc @fyrchik , @dkirillov
mbiryukova was assigned by alexvanin 2024-06-28 06:54:21 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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: TrueCloudLab/frostfs-s3-gw#412
No description provided.