fix/small-object-parts-locking #141

Merged
fyrchik merged 1 commit from carpawell/frostfs-node:fix/small-object-parts-locking into master 2023-03-27 07:28:33 +00:00
Contributor

I decided to implement the first approach (client side pain). Could not find any more error-proof solution. May be discussed.

I decided to implement [the first approach](https://github.com/nspcc-dev/neofs-node/issues/2093#issuecomment-1339608295) (client side pain). Could not find any more error-proof solution. May be discussed.
carpawell added the
frostfs-node
P0
labels 2023-03-15 17:25:03 +00:00
carpawell self-assigned this 2023-03-15 17:25:03 +00:00
carpawell requested review from storage-core-committers 2023-03-15 17:25:15 +00:00
carpawell requested review from storage-core-developers 2023-03-15 17:25:15 +00:00
carpawell changed title from fix/small-object-parts-locking to WIP: fix/small-object-parts-locking 2023-03-15 17:26:04 +00:00
carpawell force-pushed fix/small-object-parts-locking from 56da6f0dd8 to d491f7befe 2023-03-15 17:29:37 +00:00 Compare
fyrchik removed the
P0
label 2023-03-17 06:48:14 +00:00
carpawell force-pushed fix/small-object-parts-locking from d491f7befe to f9423f2e6c 2023-03-22 14:37:40 +00:00 Compare
carpawell force-pushed fix/small-object-parts-locking from f9423f2e6c to 55cb427a09 2023-03-22 14:38:16 +00:00 Compare
Author
Contributor

Lets merge that cause it just works. After TrueCloudLab/frostfs-sdk-go#38 is resolved, CLI code can be simplified.

Lets merge that cause it just works. After https://git.frostfs.info/TrueCloudLab/frostfs-sdk-go/issues/38 is resolved, CLI code can be simplified.
carpawell changed title from WIP: fix/small-object-parts-locking to fix/small-object-parts-locking 2023-03-22 14:39:50 +00:00
carpawell added the due date 2023-03-24 2023-03-22 16:02:42 +00:00
fyrchik reviewed 2023-03-23 06:14:16 +00:00
@ -8,6 +8,7 @@ import (
"time"
objectV2 "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object"
internal "git.frostfs.info/TrueCloudLab/frostfs-node/cmd/frostfs-cli/internal/client"
Owner

Isn't it the same package as in the line below?

Isn't it the same package as in the line below?
Author
Contributor

fixed

fixed
Author
Contributor

fixed

fixed
carpawell force-pushed fix/small-object-parts-locking from 55cb427a09 to a626354b1f 2023-03-23 07:48:05 +00:00 Compare
fyrchik approved these changes 2023-03-23 08:27:09 +00:00
@ -42,3 +47,2 @@
}
key := key.GetOrGenerate(cmd)
if _, ok := oidM[oID]; ok {
Owner

Seems like a separate feature?

Seems like a separate feature?
Author
Contributor

well, could be considered so. i just imagined some "responsible" user that looks for all the parts of a big object and passes all of them to the object lock cmd. a separate commit for that?

well, could be considered so. i just imagined some "responsible" user that looks for all the parts of a big object and passes all of them to the `object lock` cmd. a separate commit for that?
dstepanov-yadro approved these changes 2023-03-23 08:59:11 +00:00
fyrchik merged commit 3c7ed21f74 into master 2023-03-27 07:28:33 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

2023-03-24

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#141
No description provided.