s3: Support workflow with versioned buckets #100

Closed
opened 2023-10-16 13:20:19 +00:00 by alexvanin · 1 comment
Owner

S3 buckets may enable versioning to store different versions of the same object. Performance of the S3 gateway may differ for version-enabled and disabled buckets.

Describe the solution you'd like

  1. CreateBucket should accept versioning setting to set it during initialization.

  2. Delete should accept a flag to delete both object and delete-marker for versioned bucket.

## Is your feature request related to a problem? Please describe. S3 buckets may enable versioning to store different versions of the same object. Performance of the S3 gateway may differ for version-enabled and disabled buckets. ## Describe the solution you'd like 1) [CreateBucket](https://git.frostfs.info/TrueCloudLab/xk6-frostfs/src/commit/1311051f60e2a7a82108ac85538ef5662cb35586/internal/s3/client.go#L187) should accept versioning setting to set it during initialization. 2) [Delete](https://git.frostfs.info/TrueCloudLab/xk6-frostfs/src/commit/1311051f60e2a7a82108ac85538ef5662cb35586/internal/s3/client.go#L108) should accept a flag to delete both object and delete-marker for versioned bucket.
Member

I suggest a new param in preset script.
It could configure percent on versioning buckets in preset.
As example --buckets_versioned=30 means 30% versioned buckets and 70% non-versioned buckets.
--buckets_versioned=0 or ommited means 100% non-versioned buckets.
--buckets_versioned=100 means only versioned buckets.

I suggest a new param in preset script. It could configure percent on versioning buckets in preset. As example `--buckets_versioned=30` means 30% versioned buckets and 70% non-versioned buckets. `--buckets_versioned=0` or ommited means 100% non-versioned buckets. `--buckets_versioned=100` means only versioned buckets.
fyrchik added the
enhancement
label 2024-01-11 17:32:37 +00:00
alexvanin self-assigned this 2024-10-15 09:24:06 +00:00
nzinkevich was assigned by alexvanin 2024-10-24 09:20:10 +00:00
alexvanin removed their assignment 2024-10-24 09:20:13 +00:00
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: TrueCloudLab/xk6-frostfs#100
No description provided.