Copies numbers for object delete operation #34

Open
opened 2023-08-31 15:19:58 +00:00 by alexvanin · 1 comment
Owner

The problem is described in TrueCloudLab/frostfs-node#594
In short: when storage policy cannot be satisfied (REP 4 and one node in maintenance mode), delete operation will always fail.

Describe the solution you'd like

Delete operation produces tombstone object and puts it in nodes. Client can control number of acks from nodes with copies_number parameter of object put request. The same way it is possible to adopt copies_number or ack_number in the delete request with separate field or known x-header.

Describe alternatives you've considered

Return partial success status as it proposed in #33

## Is your feature request related to a problem? Please describe. The problem is described in https://git.frostfs.info/TrueCloudLab/frostfs-node/issues/594 In short: when storage policy cannot be satisfied (`REP 4` and one node in maintenance mode), delete operation will always fail. ## Describe the solution you'd like Delete operation produces tombstone object and puts it in nodes. Client can control number of acks from nodes with `copies_number` parameter of object put request. The same way it is possible to adopt `copies_number` or `ack_number` in the delete request with separate field or known x-header. ## Describe alternatives you've considered Return partial success status as it proposed in https://git.frostfs.info/TrueCloudLab/frostfs-api/issues/33
alexvanin added the
triage
label 2023-08-31 15:19:58 +00:00
Owner

The notion of "tombstone" already leaks outside, so I would rather use the exact same parameter name.

The notion of "tombstone" already leaks outside, so I would rather use the exact same parameter name.
realloc added this to the v2.15 - Karpinsky Ice Cap milestone 2023-09-02 15:42:57 +00:00
realloc modified the milestone from v2.15 - Karpinsky Ice Cap to v2.17 - Zemu Glacier 2023-09-04 10:41:13 +00:00
realloc added
enhancement
help wanted
good first issue
and removed
triage
labels 2023-09-04 10:42:42 +00:00
fyrchik was assigned by realloc 2023-09-04 10:42:54 +00:00
alexvanin was assigned by realloc 2023-09-04 10:42:54 +00:00
alexvanin was unassigned by realloc 2023-09-04 10:43:03 +00:00
Sign in to join this conversation.
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/frostfs-api#34
No description provided.