From f545a0f430bf6f1e26983fc0ff20a645697f017c Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sun, 18 Jan 2015 10:39:25 -0800 Subject: [PATCH] mon: change mon_globalid_prealloc to 10000 (from 100) 100 ids (session 100 authentications) can be consumed quite quickly if the monitor is being queried by the CLI via scripts or on a large cluster, especially if the propose interval is long (many seconds). These live in a 64-bit value and are only "lost" if we have a mon election before they are consumed, so there's no real risk here. Backport: giant, firefly Reviewed-by: Joao Eduardo Luis Signed-off-by: Sage Weil (cherry picked from commit 1d1215fe5f95c2bafee5b670cdae1353104636a0) --- src/common/config_opts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 315ac82c5e577..3206749ce9431 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -173,7 +173,7 @@ OPTION(mon_cache_target_full_warn_ratio, OPT_FLOAT, .66) // position between poo OPTION(mon_osd_full_ratio, OPT_FLOAT, .95) // what % full makes an OSD "full" OPTION(mon_osd_nearfull_ratio, OPT_FLOAT, .85) // what % full makes an OSD near full OPTION(mon_allow_pool_delete, OPT_BOOL, true) // allow pool deletion -OPTION(mon_globalid_prealloc, OPT_INT, 100) // how many globalids to prealloc +OPTION(mon_globalid_prealloc, OPT_INT, 10000) // how many globalids to prealloc OPTION(mon_osd_report_timeout, OPT_INT, 900) // grace period before declaring unresponsive OSDs dead OPTION(mon_force_standby_active, OPT_BOOL, true) // should mons force standby-replay mds to be active OPTION(mon_warn_on_old_mons, OPT_BOOL, true) // should mons set health to WARN if part of quorum is old? -- 2.39.5