Project

General

Profile

Actions

Bug #10533

closed

librados: duplicate object in rados_list() result

Added by Josh Durgin over 9 years ago. Updated over 9 years ago.

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

0%

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

Description

This occurred on a mixed firefly+next cluster with thrashing going on in the background.

It was detected by an rbd test that checks the number of data objects are in an image.

http://qa-proxy.ceph.com/teuthology/teuthology-2015-01-11_23:00:02-rbd-next-distro-basic-multi/698471/

Relevant log excerpt:

2015-01-13T03:56:13.691 INFO:tasks.workunit.client.0.burnupi28.stderr:+ objects=1
2015-01-13T03:56:13.691 INFO:tasks.workunit.client.0.burnupi28.stderr:1
2015-01-13T03:56:13.691 INFO:tasks.workunit.client.0.burnupi28.stderr:+ echo 1 1
2015-01-13T03:56:13.692 INFO:tasks.workunit.client.0.burnupi28.stderr:+ [ 0 -eq 1 -o 1 1 = 1 ]

The '1 1' indicates that there were two objects with the same name (see https://github.com/ceph/ceph/blob/master/qa/workunits/rbd/import_export.sh#L12)

It's unclear if this is meant to be possible, but it could be fixed on the client side easily in librados.

Actions

Also available in: Atom PDF