Project

General

Profile

Actions

Bug #17444

closed

Data object missing xattr attrbutes on primary OSD will not be discovered by scrub/deep-scrub

Added by Cheng Li Yi over 7 years ago. Updated almost 7 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
David Zafman
Category:
-
Target version:
-
% Done:

0%

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

Description

I just had a test on my ceph testing environment(Ceph 0.94.9) by removing xattr attrbutes for a data object, then scrub/deep-scrub/repair the pg, nothing happen, everything seems be ok. No error info, no xattr attrbutes repair.

root@node-1:~# ceph osd map images rbd_data.124d434b25e0.0000000000000001
osdmap e147 pool 'images' (3) object 'rbd_data.124d434b25e0.0000000000000001' -> pg 3.611702fb (3.fb) -> up ([1,0], p1) acting ([1,0], p1)

root@node-8:/var/lib/ceph/osd/ceph-1/current/3.fb_head# mv rbd\\udata.124d434b25e0.0000000000000001__head_611702FB__3 /tmp/
root@node-8:/var/lib/ceph/osd/ceph-1/current/3.fb_head# cp /tmp/rbd\\udata.124d434b25e0.0000000000000001__head_611702FB__3 ./
root@node-8:/var/lib/ceph/osd/ceph-1/current/3.fb_head# xattr -l rbd\\udata.124d434b25e0.0000000000000001__head_611702FB__3
root@node-8:/var/lib/ceph/osd/ceph-1/current/3.fb_head# xattr -l /tmp/rbd\\udata.124d434b25e0.0000000000000001__head_611702FB__3
user.cephos.spill_out:
0000 30 00
...

Actions

Also available in: Atom PDF