Actions
Bug #16763
closedrados --striper put failes when object size is 0 bytes
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
other
Tags:
rados
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
rados --striper -n client.admin -p data put testfile.txt testfile.txt
Results in a panic of the ceph client, see panic.log, but the Ceph does know something about the object, still removing the object is not possible.
rados --striper -n client.admin -p data stat testfile.txt data/testfile.txt mtime 2016-07-21 15:03:12.000000, size 0 rados --striper -p data rm testfile.txt error removing data>testfile.txt: (16) Device or resource busy
Since the file is zero bytes large in size and it is placed by using the striping library, i have have to remove object testfile.txt.0000000000000000
with the command rados -p data rm testfile.txt.0000000000000000
(without the option --striper).
Putting an object of 0 bytes without striping is not an issue.
Files
Actions