Project

General

Profile

Actions

Bug #18871

open

problem about create pool with expected-num-objects does not cause collection split

Added by peng zhang about 7 years ago. Updated almost 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Administration/Usability
Target version:
-
% Done:

0%

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

Description

i create a pool and want the PG folder splitting happen at the pool creation time,but i found it not happend

1、add filestore_merge_threshold=-10 to the ceph.conf
2、ceph osd pool create mypool 20 20 replicated replicated_ruleset 0 123456
3、ceph osd dump|grep mypool
i see there is expected_num_objects 123456
pool 10 'mypool' replicated size 2 min_size 1 crush_ruleset 0 object_hash rjenkins pg_num 20 pgp_num 20 last_change 55 flags hashpspool stripe_width 0 expected_num_objects 123456

and then
ls /var/lib/ceph/osd/ceph-0/current/9.*

i not see the folder split in my osd

Actions #1

Updated by Greg Farnum almost 7 years ago

  • Project changed from Ceph to RADOS
  • Subject changed from problem about create pool with expected-num-objects to problem about create pool with expected-num-objects does not cause collection split
  • Category set to Administration/Usability
  • Component(RADOS) FileStore, Monitor, OSD added
Actions

Also available in: Atom PDF