Project

General

Profile

Actions

Bug #8183

closed

osd: In a tiered pool after successful removal request object still appears to be there

Added by David Zafman about 10 years ago. Updated about 10 years ago.

Status:
Won't Fix
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

What works:
After a removal a second removal returns ENOENT
After a removal the creation of another object with the same name succeeds

What doesn't work:
The object store retains an empty file for the object and so "rados ls" returns the object

$ ./rados -p cache put testfile ceph.conf
$ find dev -name '*testfile*' -ls
398539    8 -rw-r--r--   1 dzafman  dzafman      3205 Apr 22 19:45 dev/osd0/current/3.6_head/testfile__head_551A2B36__3
$ ./rados -p cache rm testfile
$ ./rados -p cache rm testfile
error removing cache/testfile: (2) No such file or directory
$ ./rados -p cache ls
testfile
$ find dev -name '*testfile*' -ls
398539    4 -rw-r--r--   1 dzafman  dzafman         0 Apr 22 19:46 dev/osd0/current/3.6_head/testfile__head_551A2B36__3
$ ./rados -p cache put testfile ceph.conf
$ find dev -name '*testfile*' -ls
398539    8 -rw-r--r--   1 dzafman  dzafman      3205 Apr 22 19:52 dev/osd0/current/3.6_head/testfile__head_551A2B36__3
Actions

Also available in: Atom PDF