Unable to remove EC object #576

Closed
opened 2024-12-12 08:19:32 +00:00 by alexvanin · 0 comments
Owner

Expected Behavior

It is possible to remove object when storage node returns ECInfoErr during children collection (happens with EC placement policy)

Current Behavior

ECInfoErr is thrown up to client side and object cannot be removed.

Possible Solution

Fix is done by core team in TrueCloudLab/frostfs-sdk-go#312 and we need to adopt it:

  1. for support/v0.30 branch, use new SDK from support/v1.0.0-rc.5 branch
  2. for support/v0.31 branch, update SDK up to master (this should include changes from #570)
  3. for master branch, update SDK up to master.

Steps to Reproduce (for bugs)

  1. Define location constraint with EC
  2. Create bucket with this location constraint
  3. Upload object
  4. Remove object

Context

None

Regression

No, it never worked this way.

Your Environment

Any release with EC support from node, e.g. v0.30.0

## Expected Behavior It is possible to remove object when storage node returns ECInfoErr during children collection (happens with EC placement policy) ## Current Behavior ECInfoErr is thrown up to client side and object cannot be removed. ## Possible Solution Fix is done by core team in https://git.frostfs.info/TrueCloudLab/frostfs-sdk-go/issues/312 and we need to adopt it: 1. for `support/v0.30` branch, use new SDK from [support/v1.0.0-rc.5](https://git.frostfs.info/TrueCloudLab/frostfs-sdk-go/pulls/313) branch 2. for `support/v0.31` branch, update SDK up to master (this should include changes from https://git.frostfs.info/TrueCloudLab/frostfs-s3-gw/pulls/570) 3. for master branch, update SDK up to master. ## Steps to Reproduce (for bugs) 1. Define location constraint with EC 2. Create bucket with this location constraint 3. Upload object 4. Remove object ## Context None ## Regression No, it never worked this way. ## Your Environment Any release with EC support from node, e.g. v0.30.0
alexvanin added the
bug
label 2024-12-12 08:19:32 +00:00
r.loginov was assigned by alexvanin 2024-12-12 08:19:32 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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-s3-gw#576
No description provided.