Project

General

Profile

Actions

Bug #41745

open

radosgw-admin orphans find stuck forever

Added by Manuel Rios over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
radosgw-admin orphan
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

ceph version 14.2.3 (0f776cf838a1ae3130b2b73dc26be9c95c6ccc39) nautilus (stable)
Host with 32 cores / 64 GB RAM Centos 7.6

Command : radosgw-admin orphans find --pool=default.rgw.buckets.data --job-id=ophans_clean3 --yes-i-really-mean-it

After spend near 36 hours looping over objects radosgw-admin orphans find stuck in step:

2019-09-10 12:43:10.996 7fc6ca719700  1 iterated through 69647000 objects
2019-09-10 12:43:11.391 7fc6ca719700  0 run(): building index of all bucket indexes
2019-09-10 12:43:11.540 7fc6ca719700  0 run(): building index of all linked objects
2019-09-10 12:43:11.540 7fc6ca719700  0 building linked oids index: 0/64
2019-09-10 12:43:11.863 7fc6ca719700  0 building linked oids index: 1/64

Largeomaps due orphans find in log pool, i think its expected.

LARGE_OMAP_OBJECTS 59 large omap objects
    59 large objects found in pool 'default.rgw.log'
    Search the cluster log for 'Large omap object found' for more details.

^Cstrace: Process 3156151 detached
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 96.70    0.963434          64     15064      2532 futex
  3.01    0.029946           4      6733           write
  0.29    0.002897          66        44           madvise
  0.00    0.000038           1        48           brk
------ ----------- ----------- --------- --------- ----------------
100.00    0.996315                 21889      2532 total
[00007fc6c051758a] futex(0x7fc694079180, FUTEX_WAKE_PRIVATE, 1) = 1
[00007fc6bd4ccd1c] futex(0x7fc6bd787760, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
[00007fc6bd4ccd49] futex(0x7fc6bd787760, FUTEX_WAKE_PRIVATE, 1) = 0
[00007fc6c051758a] futex(0x558070fa34e8, FUTEX_WAKE_PRIVATE, 1) = 0
[00007fc6c051769d] write(12, "c", 1)    = 1
[00007fc6c051758a] futex(0x7fc6940705b0, FUTEX_WAKE_PRIVATE, 1) = 1
[00007fc6c051769d] write(6, "c", 1)     = 1
[00007fc6c051758a] futex(0x7fc69403b7c0, FUTEX_WAKE_PRIVATE, 1) = 1
[00007fc6bd4ccd1c] futex(0x7fc6bd787760, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
[00007fc6bd4ccd49] futex(0x7fc6bd787760, FUTEX_WAKE_PRIVATE, 1) = 0
[00007fc6c051769d] write(9, "c", 1)     = 1
[00007fc6bd4ccd1c] futex(0x7fc6a0000020, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
[00007fc6bd4ccd49] futex(0x7fc6a0000020, FUTEX_WAKE_PRIVATE, 1) = 0
[00007fc6c051769d] write(6, "c", 1)     = 1
[00007fc6c051758a] futex(0x7fc69408c3a0, FUTEX_WAKE_PRIVATE, 1) = 1
[00007fc6bd4ccd1c] futex(0x7fc6bd787760, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)

Also add orphands find need a little more documentation about usage, expected output and expected logs.
Documentation is not clear about what expect from it.

Actions

Also available in: Atom PDF