Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/object parts changes #793

Merged
merged 4 commits into from
May 3, 2024
Merged

Fix/object parts changes #793

merged 4 commits into from
May 3, 2024

Conversation

carpawell
Copy link
Member

No description provided.

The new (0.41.0+) node versions store object's part information as a LINK's
payload, not a header info. Also, add payload size info, since it is also
available now. The helper was also renamed since its name can be confused with
the storage groups.

Signed-off-by: Pavel Karpy <[email protected]>
Copy link
Member

@roman-khimov roman-khimov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have any test for allowed deletions (incomplete objects)?

@carpawell
Copy link
Member Author

Do we have any test for allowed deletions (incomplete objects)?

No. I am not sure if it can be done without additional support in our utils. For now we can only put big object and stop after N seconds?

@roman-khimov
Copy link
Member

Let's create an issue and think about it separately then.

@carpawell
Copy link
Member Author

carpawell commented May 3, 2024

@roman-khimov, test repo or cli? I agree such a test will be helpful, but do not see any easy solution without some object parts creation util.

@roman-khimov
Copy link
Member

Test. We'll untangle from it.

carpawell added 3 commits May 3, 2024 19:03
Parts of a split object cannot be deleted after the new split scheme. Ever, not
when the root object is locked. Drop the outdated test and adapt the remaining
control ones to the updated helpers. Closes #784.

Signed-off-by: Pavel Karpy <[email protected]>
Such operations are prohibited with the new split scheme.

Signed-off-by: Pavel Karpy <[email protected]>
@carpawell carpawell force-pushed the fix/object-parts-changes branch from a752942 to 1a3deb5 Compare May 3, 2024 16:11
@roman-khimov roman-khimov merged commit 244bac8 into master May 3, 2024
1 of 2 checks passed
@roman-khimov roman-khimov deleted the fix/object-parts-changes branch May 3, 2024 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants