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

libradosstriper silently fails to delete empty objects in jewel #15760

Merged
merged 1 commit into from
Aug 28, 2017

Conversation

smithfarm
Copy link
Contributor

This patch fixes the bug: "libradosstriper fails to delete striped objects of
zero length without returning any kind of error"

N.B.: This is not cherry picked from master because
7a50ea4, which fixes the issue in master, is
too complicated to backport.

Fixes: http://tracker.ceph.com/issues/20325
Signed-off-by: Stan K <redrampage@selectel.ru>
@smithfarm smithfarm self-assigned this Jun 19, 2017
@smithfarm smithfarm added this to the jewel milestone Jun 19, 2017
@smithfarm smithfarm requested a review from jdurgin June 19, 2017 20:57
@liewegas
Copy link
Member

Is there a set of striper tests that can cover this?

@smithfarm
Copy link
Contributor Author

@liewegas Apparently not. Should the absence of tests be considered a blocker?

@liewegas
Copy link
Member

Probably not, since we already lack sufficient tests for striper. (FWIW this is why downstream RHCS removes it.)

@jdurgin
Copy link
Member

jdurgin commented Jul 13, 2017

there are basic tests - ceph_test_rados_striper_api_[a]io (from src/test/libradosstriper) - but this fix is obvious enough that I don't think they're a blocker

@smithfarm
Copy link
Contributor Author

smithfarm commented Aug 28, 2017

@smithfarm smithfarm merged commit cccacd7 into ceph:jewel Aug 28, 2017
@smithfarm smithfarm deleted the wip-20325-jewel branch August 28, 2017 09:03
@smithfarm
Copy link
Contributor Author

This passed the following relevant suites:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants