Project

General

Profile

Bug #22530

pool create cmd's expected_num_objects is not correctly interpreted

Added by Honggang Yang over 6 years ago. Updated almost 6 years ago.

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

0%

Source:
Community (dev)
Tags:
Backport:
luminous, jewel
Regression:
No
Severity:
1 - critical
Reviewed:

Description

1. disable merge

// vstart.sh                                                                                           
[global]                                                                                               
        filestore merge threshold = -10

2. create pool

# ./bin/ceph -c ceph.conf osd pool create test1 64 64 replicated  replicated_rule 100000
# tree dev/osd0/current/1.0_head/ | more                                                               
dev/osd0/current/1.0_head/                                                                             
`-- __head_00000000__1                                                                                 

0 directories, 1 file

pg dir not pre-split.


Related issues

Copied to RADOS - Backport #23315: luminous: pool create cmd's expected_num_objects is not correctly interpreted Resolved
Copied to RADOS - Backport #23316: jewel: pool create cmd's expected_num_objects is not correctly interpreted Resolved

History

#1 Updated by Honggang Yang over 6 years ago

fix: https://github.com/ceph/ceph/pull/19651

root@b9375fbb7b7d:/home/yhg/gang-ceph-master/build# tree dev/osd0/current/1.0_head/ | more             
dev/osd0/current/1.0_head/                                                                          
`-- DIR_0                                                                                           
    |-- DIR_0                                                                                          
    |   |-- DIR_0                                                                                   
    |   |   `-- __head_00000000__1                                                                  
    |   |-- DIR_1                                                                                      
    |   |-- DIR_2                                                                                   
    |   |-- DIR_3                                                                                   
    |   |-- DIR_4                                                                                      
    |   |-- DIR_5                                                                                   
    |   |-- DIR_6                                                                                   
    |   |-- DIR_7                                                                                      
    |   |-- DIR_8                                                                                   
    |   |-- DIR_9                                                                                   
    |   |-- DIR_A                                                                                      
    |   |-- DIR_B                                                                                   
    |   |-- DIR_C                                                                                   
    |   |-- DIR_D                                                                                      
    |   |-- DIR_E                                                                                   
    |   `-- DIR_F                                                                                   
    |-- DIR_4       

#2 Updated by Patrick Donnelly about 6 years ago

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

#3 Updated by Josh Durgin about 6 years ago

  • Category set to Administration/Usability
  • Status changed from New to Pending Backport
  • Backport set to luminous, jewel

#4 Updated by Nathan Cutler about 6 years ago

  • Copied to Backport #23315: luminous: pool create cmd's expected_num_objects is not correctly interpreted added

#5 Updated by Nathan Cutler about 6 years ago

  • Copied to Backport #23316: jewel: pool create cmd's expected_num_objects is not correctly interpreted added

#6 Updated by Nathan Cutler almost 6 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF