mirror of
https://github.com/ceph/ceph
synced 2025-01-20 10:01:45 +00:00
Merge pull request #7838 from rldleblanc/pg_prime-enable
mon: enable 'mon osd prime pg temp' by default Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
commit
2cf3f964a6
@ -843,6 +843,24 @@ Miscellaneous
|
||||
:Default: ``4096``
|
||||
|
||||
|
||||
``mon osd prime pg temp``
|
||||
|
||||
:Description: Enables or disable priming the PGMap with the previous OSDs when an out
|
||||
OSD comes back into the cluster. With the ``true`` setting the clients
|
||||
will continue to use the previous OSDs until the newly in OSDs as that
|
||||
PG peered.
|
||||
:Type: Boolean
|
||||
:Default: ``true``
|
||||
|
||||
|
||||
``mon osd prime pg temp max time``
|
||||
|
||||
:Description: How much time in seconds the monitor should spend trying to prime the
|
||||
PGMap when an out OSD comes back into the cluster.
|
||||
:Type: Float
|
||||
:Default: ``0.5``
|
||||
|
||||
|
||||
|
||||
.. _Paxos: http://en.wikipedia.org/wiki/Paxos_(computer_science)
|
||||
.. _Monitor Keyrings: ../../operations/authentication#monitor-keyrings
|
||||
|
@ -235,7 +235,7 @@ OPTION(mon_osd_max_op_age, OPT_DOUBLE, 32) // max op age before we get conce
|
||||
OPTION(mon_osd_max_split_count, OPT_INT, 32) // largest number of PGs per "involved" OSD to let split create
|
||||
OPTION(mon_osd_allow_primary_temp, OPT_BOOL, false) // allow primary_temp to be set in the osdmap
|
||||
OPTION(mon_osd_allow_primary_affinity, OPT_BOOL, false) // allow primary_affinity to be set in the osdmap
|
||||
OPTION(mon_osd_prime_pg_temp, OPT_BOOL, false) // prime osdmap with pg mapping changes
|
||||
OPTION(mon_osd_prime_pg_temp, OPT_BOOL, true) // prime osdmap with pg mapping changes
|
||||
OPTION(mon_osd_prime_pg_temp_max_time, OPT_FLOAT, .5) // max time to spend priming
|
||||
OPTION(mon_osd_pool_ec_fast_read, OPT_BOOL, false) // whether turn on fast read on the pool or not
|
||||
OPTION(mon_stat_smooth_intervals, OPT_INT, 2) // smooth stats over last N PGMap maps
|
||||
|
Loading…
Reference in New Issue
Block a user