]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-mon: override 'leveldb_*' config options for the monitor
authorJoao Eduardo Luis <joao.luis@inktank.com>
Mon, 23 Jun 2014 20:59:13 +0000 (21:59 +0100)
committerJoao Eduardo Luis <joao.luis@inktank.com>
Mon, 23 Jun 2014 20:59:13 +0000 (21:59 +0100)
commit52b147c8b3b3a6f95d948c1c82d9e09c95fa60cf
treed7495338d60b34f48ff095aaf43c6e562f09395b
parentd42d19df2a5251fba9f3912404b736b65644d005
ceph-mon: override 'leveldb_*' config options for the monitor

'leveldb_*' options are currently used both by the monitor and the osd.
However, the monitor has quite different requirements from those of the
osds.

We need to specify some default values that must squash the defaults we
have for 'leveldb_*' options, while allowing users to overriding them too.
We take this not-exactly-ideal-but-still-good-enough approach of
defining the monitor-specific defaults in the 'default arguments' to
global_init(), thus allowing the user's options to take precedence over
whatever we define.

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
PendingReleaseNotes
src/ceph_mon.cc