Project

General

Profile

Bug #51486

Incorrect stats on versioned bucket on multisite

Added by Tejas C over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
% Done:

0%

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

Description

ceph version 17.0.0-5278-g79eb0c85 (79eb0c853ca1ee491410e0c6c6796675a7449ef9) quincy (dev)

steps:
- On a multisite, create a tenanted versioned bucket (Don't think tenant matters)
- Create objects 1-25k from either site (1 primary and 1 version)
- Stats reporting 50001 objects in either site
- bucket list shows only 50000 objects.

/]# radosgw-admin bucket list --bucket t1/tenv1 --max-entries 100000 >tenv1

/]# cat tenv1 | grep flag | wc -l
50000

/]# radosgw-admin bucket stats --bucket t1/tenv1 {
"bucket": "tenv1",
"num_shards": 11,
"tenant": "t1",
"zonegroup": "1785a4fa-f7d6-4081-8c72-74f9cc441d3a",
"placement_rule": "default-placement",
"explicit_placement": {
"data_pool": "",
"data_extra_pool": "",
"index_pool": ""
},
"id": "b76458b4-55bc-41b4-8610-b4aa5df49661.46044.2",
"marker": "b76458b4-55bc-41b4-8610-b4aa5df49661.46044.2",
"index_type": "Normal",
"owner": "t1$user1",
"ver": "0#9146,1#9017,2#9013,3#9113,4#9085,5#9074,6#9133,7#9113,8#9125,9#9169,10#9025",
"master_ver": "0#0,1#0,2#0,3#0,4#0,5#0,6#0,7#0,8#0,9#0,10#0",
"mtime": "0.000000",
"creation_time": "2021-07-01T02:54:33.260014Z",
"max_marker": "0#00000009145.21049.11,1#00000009016.18050.11,2#00000009012.18042.11,3#00000009112.18242.11,4#00000009084.18252.11,5#00000009073.18174.11,6#00000009132.18282.11,7#00000009112.40915.11,8#00000009124.18332.11,9#00000009168.18354.11,10#00000009024.18066.11",
"usage": {
"rgw.main": {
"size": 578211564,
"size_actual": 614412288,
"size_utilized": 578211564,
"size_kb": 564660,
"size_kb_actual": 600012,
"size_kb_utilized": 564660,
"num_objects": 50001
}
},
"bucket_quota": {
"enabled": false,
"check_on_raw": false,
"max_size": -1,
"max_size_kb": 0,
"max_objects": -1
}
}

History

#1 Updated by Casey Bodley over 2 years ago

  • Tags set to multisite-reshard

#2 Updated by Casey Bodley over 2 years ago

  • Status changed from New to Closed

Also available in: Atom PDF