]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
config: lower default omap entries recovered at once 19927/head
authorJosh Durgin <jdurgin@redhat.com>
Thu, 11 Jan 2018 02:39:28 +0000 (21:39 -0500)
committerJosh Durgin <jdurgin@redhat.com>
Thu, 11 Jan 2018 23:26:24 +0000 (15:26 -0800)
commitec4014702195b2e56211219c77e53393fc4b2224
treed9bb3b64298e5fdc6e505d9f34e325ddce35154c
parent351a689d438c60bb805e9af18fc260922e57bea9
config: lower default omap entries recovered at once

For large omap DBs, reading 64k leads to heartbeat timeouts.  There
are numerous callchains leading to this recovery step, many of which
do not have heartbeat handles, so for an easily backported version
just change the default number of entries read. DBs approaching 100GB
may require an even lower setting, but this should be good enough for
most clusters, without sacrificing recovery speed.

Fixes: http://tracker.ceph.com/issues/21897
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
(cherry picked from commit 72c2076f2c14778982fb944ffade3f071a727d1a)

Conflicts:
src/common/options.cc (moved to config_opts.h)
src/common/config_opts.h