Project

General

Profile

Bug #52705

pg scrub stat mismatch with special objects that have hash 'ffffffff'

Added by huang jun about 1 month ago. Updated 25 days ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
nautilus, octopus, pacific
Regression:
No
Severity:
1 - critical
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Here is the steps to reproduce the pg inconsistents:
1. build a cluster with vstart
MON=1 OSD=3 MDS=0 MGR=1 ../src/vstart.sh -X -n
2. create a pool with only 1 pg
./bin/ceph osd pool create rbd 1
3. put an object with special name, which will let the object hash as 'ffffffff'
./bin/rados -p rbd put 59431f0f-60c1-49be-ab18-9bfbee59869c.1019453.1_obj0344489466 /etc/passwd --debug_objecter=20 --debug_ms=5
4. trigger the pg scrub
./bin/ceph pg scrub 1.0
5. the expect output of 'ceph -s' will include 'active+clean+inconsistent'

6. the problem maybe the objectstore::get_coll_range interface which will not include the object with hash 'ffffffff'


Related issues

Copied to RADOS - Backport #52769: octopus: pg scrub stat mismatch with special objects that have hash 'ffffffff' New
Copied to RADOS - Backport #52770: pacific: pg scrub stat mismatch with special objects that have hash 'ffffffff' In Progress
Copied to RADOS - Backport #52771: nautilus: pg scrub stat mismatch with special objects that have hash 'ffffffff' New

History

#1 Updated by Kefu Chai about 1 month ago

reproduced on master (254bf8e883d73dc83cda6ac28689f4a64a60f670)

#2 Updated by Kefu Chai about 1 month ago

  • Status changed from New to In Progress
  • Assignee set to Kefu Chai

#3 Updated by Kefu Chai about 1 month ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 43289

#4 Updated by Neha Ojha about 1 month ago

  • Project changed from Ceph to RADOS
  • Category deleted (OSD)

#5 Updated by Kefu Chai 27 days ago

  • Backport set to octopus, pacific

#6 Updated by Kefu Chai 25 days ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport changed from octopus, pacific to nautilus, octopus, pacific

#7 Updated by Backport Bot 25 days ago

  • Copied to Backport #52769: octopus: pg scrub stat mismatch with special objects that have hash 'ffffffff' added

#8 Updated by Backport Bot 25 days ago

  • Copied to Backport #52770: pacific: pg scrub stat mismatch with special objects that have hash 'ffffffff' added

#9 Updated by Backport Bot 25 days ago

  • Copied to Backport #52771: nautilus: pg scrub stat mismatch with special objects that have hash 'ffffffff' added

Also available in: Atom PDF