Allow to specify wait before drop time for blobovnicza #1022

Merged
fyrchik merged 1 commits from dstepanov-yadro/frostfs-node:feat/rebuild_drop_wait_time into master 2024-03-05 07:25:20 +00:00

Relates #983

This is needed because of the race condition:

  • Read storageID from the metabase
  • Move object to a new location and remove it from the old one
  • Read object by storageID from the blobovnicza.

Now it is possible to specify wait time before drop empty blobovniczas after rebuild.

Relates #983 This is needed because of the race condition: * Read `storageID` from the metabase * Move object to a new location and remove it from the old one * Read object by `storageID` from the blobovnicza. Now it is possible to specify wait time before drop empty blobovniczas after rebuild.
dstepanov-yadro changed title from [#983] blobstor: Allow to specify wait before drop time to Allow to specify wait before drop time for blobovnicza 2024-03-04 15:14:26 +00:00
dstepanov-yadro force-pushed feat/rebuild_drop_wait_time from c4fd682c6c to 4fdc0d3d75 2024-03-04 15:15:33 +00:00 Compare
dstepanov-yadro requested review from storage-core-committers 2024-03-04 15:34:09 +00:00
dstepanov-yadro requested review from storage-core-developers 2024-03-04 15:34:10 +00:00
fyrchik approved these changes 2024-03-04 16:49:29 +00:00
@ -144,0 +153,4 @@
func (x *Config) DropTimeout() time.Duration {
d := config.DurationSafe(
(*config.Config)(x),
"drop_timeout",

It affects rebuild only, what about rebuild_drop_timeout

It affects rebuild only, what about `rebuild_drop_timeout`
Poster
Collaborator

fixed

fixed
acid-ant approved these changes 2024-03-04 18:23:46 +00:00
dstepanov-yadro force-pushed feat/rebuild_drop_wait_time from 4fdc0d3d75 to 702351a5d1 2024-03-05 06:24:35 +00:00 Compare
acid-ant approved these changes 2024-03-05 06:32:24 +00:00
fyrchik approved these changes 2024-03-05 07:12:11 +00:00
fyrchik approved these changes 2024-03-05 07:25:10 +00:00
fyrchik merged commit 702351a5d1 into master 2024-03-05 07:25:20 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-core-developers
No Milestone
No Assignees
3 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-node#1022
There is no content yet.