Project

General

Profile

Actions

Bug #49487

closed

osd:scrub skip some pg

Added by wencong wan about 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Scrub/Repair
Target version:
-
% Done:

0%

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

Description

ENV:1 mon,1 mgr,1 osd

create a pool with 8 pg, change the value of osd_scrub_min_interval to trigger reschedule
only 4 scrub job was rescheduled

[root@wwc-k8s-1 bin]# ceph tell osd.0 injectargs "--osd_scrub_min_interval 100"
osd_scrub_min_interval = '100.000000'
[root@wwc-k8s-1 bin]#
[root@wwc-k8s-1 bin]#
[root@wwc-k8s-1 bin]# cat /var/log/ceph/ceph-osd.0.log | grep resche
2021-02-25 16:10:43.807 7f5d97999700 10 osd.0 800 resched_all_scrubs: start
2021-02-25 16:10:43.807 7f5d97999700 20 osd.0 800 resched_all_scrubs: examine 2.0
2021-02-25 16:10:43.807 7f5d97999700 20 osd.0 800 resched_all_scrubs: reschedule 2.0
2021-02-25 16:10:43.807 7f5d97999700 20 osd.0 800 resched_all_scrubs: examine 2.7
2021-02-25 16:10:43.807 7f5d97999700 20 osd.0 800 resched_all_scrubs: reschedule 2.7
2021-02-25 16:10:43.807 7f5d97999700 20 osd.0 800 resched_all_scrubs: examine 2.2
2021-02-25 16:10:43.807 7f5d97999700 20 osd.0 800 resched_all_scrubs: reschedule 2.2
2021-02-25 16:10:43.807 7f5d97999700 20 osd.0 800 resched_all_scrubs: examine 2.1
2021-02-25 16:10:43.807 7f5d97999700 20 osd.0 800 resched_all_scrubs: reschedule 2.1
2021-02-25 16:10:43.807 7f5d97999700 10 osd.0 800 resched_all_scrubs: done

reason
during traverse earse/insert operation will change the struct of set


Related issues 3 (0 open3 closed)

Copied to RADOS - Backport #51313: pacific: osd:scrub skip some pgResolvedMykola GolubActions
Copied to RADOS - Backport #51314: octopus: osd:scrub skip some pgResolvedMykola GolubActions
Copied to RADOS - Backport #51315: nautilus: osd:scrub skip some pgResolvedMykola GolubActions
Actions #1

Updated by Kefu Chai about 3 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to wencong wan
  • Pull request ID set to 39683
Actions #2

Updated by Kefu Chai about 3 years ago

  • Status changed from Fix Under Review to Resolved
Actions #3

Updated by Mykola Golub almost 3 years ago

  • Status changed from Resolved to Pending Backport
  • Backport set to pacific,octopus,nautilus
Actions #4

Updated by Mykola Golub almost 3 years ago

Actions #5

Updated by Mykola Golub almost 3 years ago

Actions #6

Updated by Mykola Golub almost 3 years ago

Actions #7

Updated by Backport Bot almost 3 years ago

Actions #8

Updated by Konstantin Shalygin almost 3 years ago

Actions #9

Updated by Loïc Dachary over 2 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF