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

mimic: mon/OSDMonitor: further improve prepare_command_pool_set E2BIG error message #27647

merged 1 commit into from May 1, 2019
Changes from all commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.


Just for now

@@ -6798,9 +6798,9 @@ int OSDMonitor::prepare_command_pool_set(const cmdmap_t& cmdmap,
int64_t new_pgs = n - p.get_pg_num();
if (new_pgs > g_conf->mon_osd_max_split_count * expected_osds) {
ss << "specified pg_num " << n << " is too large (creating "
<< new_pgs << " new PGs on ~" << expected_osds
<< " OSDs exceeds per-OSD max with mon_osd_max_split_count of "
<< g_conf->mon_osd_max_split_count << ')';
<< new_pgs << " new PGs on ~" << expected_osds
<< " OSDs would exceed the per-OSD max of " << g_conf->mon_osd_max_split_count
<< " given by mon_osd_max_split_count); please increase the pg_num in smaller steps";
return -E2BIG;
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.