Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSDMonitor: check mon_max_pool_pg_num when set pool pg_num #16511

Merged
merged 1 commit into from Jul 25, 2017
Merged

OSDMonitor: check mon_max_pool_pg_num when set pool pg_num #16511

merged 1 commit into from Jul 25, 2017

Commits on Jul 24, 2017

  1. OSDMonitor: check mon_max_pool_pg_num when set pool pg_num

    Check the mon_max_pool_pg_num when creating pools, but did not
    
    check in the the modification. So we can create a pool and then
    
    modify pg_num exceeds the mon_max_pool_pg_num limit.
    
    By following these steps can verify this problem
    
    step 1: set  mon_max_pool_pg_num = 65536
    
    step 2: ceph osd pool create testpool 65536 65536
    
    step 3: ceph osd pool set testpool pg_num 65537
    
    Signed-off-by: chenhg <c744402859@gmail.com>
    c744402859 committed Jul 24, 2017
    Copy the full SHA
    5dd3dff View commit details
    Browse the repository at this point in the history