Project

General

Profile

Actions

Bug #16763

closed

rados --striper put failes when object size is 0 bytes

Added by Richard Arends almost 8 years ago. Updated almost 7 years ago.

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

panic.log (24.4 KB) panic.log Richard Arends, 07/21/2016 01:00 PM
Actions #1

Updated by Nathan Cutler over 7 years ago

  • Target version deleted (519)
Actions #2

Updated by Josh Durgin almost 7 years ago

  • Status changed from New to Resolved

this works in master

Actions

Also available in: Atom PDF